aboutsummaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * man: default to asciiDenys Vlasenko2014-03-031-1/+2
| | | | | | | | | | | | | | | | Default to ascii instead of latin1. Otherwise man pages can be displayed incorrectly. E.g. bullets show as "<B7>". Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * zcat: complain if input is not compressedDenys Vlasenko2014-02-022-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta buffer_fill_and_print 178 191 +13 varvalue 735 743 +8 bbunpack 747 755 +8 open_zipped 85 89 +4 xmalloc_open_zipped_read_close 61 63 +2 get_addr_1 240 242 +2 fbsplash_main 1228 1230 +2 pstree_main 322 321 -1 builtin_type 121 119 -2 do_load 954 926 -28 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 7/3 up/down: 39/-31) Total: 8 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * less: accept and ignore -sDenys Vlasenko2014-01-221-6/+11
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * man: parse "DEFINE pager" in configJohn Spencer2014-01-221-7/+15
| | | | | | | | | | | | | | | | function old new delta man_main 789 844 +55 Signed-off-by: John Spencer <maillist-busybox@barfooze.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2014-01-028-62/+54
|\| | | | | | | | | | | Conflicts: archival/Config.src shell/ash.c
| * Use unsigned printf/scanf conversion where more appropriateDenys Vlasenko2013-11-291-4/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix assorted unused code and wrong format specs found by cppchekc (bug 6716)Denys Vlasenko2013-11-291-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * devfsd: remove static variableDenys Vlasenko2013-11-261-9/+11
| | | | | | | | | | | | | | | | | | | | function old new delta static.msg 4 - -4 get_uid_gid 114 107 -7 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-11) Total: -11 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rfkill: use new-style config/kbuild/appletDenys Vlasenko2013-11-203-13/+17
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wall,crontab: use xopen_as_uid_gid()Ryan Mallon2013-10-082-31/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a narrow security race in crontab. function old new delta xopen_as_uid_gid - 80 +80 seteuid - 64 +64 setegid - 64 +64 setreuid - 37 +37 xseteuid - 22 +22 xsetegid - 22 +22 crontab_main 590 577 -13 setfsuid 33 - -33 setfsgid 33 - -33 wall_main 138 102 -36 open_as_user 109 - -109 text data bss dec hex filename 893539 497 7568 901604 dc1e4 busybox_old 893618 497 7568 901683 dc233 busybox_unstripped Signed-off-by: Ryan Mallon <rmallon@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wall: access FILE under real user's credentialsDenys Vlasenko2013-10-063-9/+24
| | | | | | | | | | | | | | | | | | | | While at it, move applet/config/kbuild bits into wall.c. (This way, it's more visible that applet is suid'ed). function old new delta wall_main 87 138 +51 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2013-08-275-137/+216
|\|
| * man: find posix man pagesJohn Spencer2013-08-251-1/+1
| | | | | | | | | | | | | | Add the 0p/1p/3p sections to the search. Signed-off-by: John Spencer <maillist-busybox@barfooze.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * setsid: code shrink, expanded commentsDenys Vlasenko2013-08-071-2/+12
| | | | | | | | | | | | | | function old new delta setsid_main 56 53 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ubi_tools: fix typo in strcpyPaul B. Henson2013-08-041-1/+1
| | | | | | | | | | Signed-off-by: Paul B. Henson <henson@acm.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * less: support "less 1<>TTY"Denys Vlasenko2013-08-041-4/+25
| | | | | | | | | | | | | | | | function old new delta less_main 2466 2507 +41 xmalloc_ttyname 46 42 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * chrt: remove warning for _POSIX_PRIORITY_SCHEDULINGBernhard Reutner-Fischer2013-07-081-3/+0
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * ubi_tools: enhance -s option to allow size multiplier to match mtd-utilsDenys Vlasenko2013-06-301-1/+8
| | | | | | | | | | | | | | | | | | | | Based on patch by Paul B. Henson <henson@acm.org> function old new delta static.size_suffixes - 32 +32 ubi_tools_main 1141 1148 +7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ubi_tools: add forgotten argv++Denys Vlasenko2013-06-301-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ubi_tools: extend supported volume size to 64 bits; shrink codeDenys Vlasenko2013-06-301-149/+154
| | | | | | | | | | | | | | | | | | | | | | function old new delta get_num_from_file - 90 +90 packed_usage 29395 29377 -18 ubi_tools_main 1349 1141 -208 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 90/-226) Total: -136 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ubimkvol: add -m option to create volume of maximum sizePaul B. Henson2013-06-301-6/+45
| | | | | | | | | | Signed-off-by: Paul B. Henson <henson@acm.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2013-04-031-2/+2
|\| | | | | | | | | Conflicts: libbb/lineedit.c
| * setserial: Fix typo: s/baund_rate/baud_rate/gBernhard Reutner-Fischer2013-03-221-2/+2
| | | | | | | | | | | | as noted by Christoph Handel opensource at macht-blau.org Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Merge branch 'busybox' into mergeRon Yorston2013-03-192-11/+12
|\|
| * flash_eraseall: implement -NAlexander Shiyan2013-03-151-7/+8
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nanddump: fix build if nandwrite isn't enabledAlexander Shiyan2013-03-151-4/+4
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2013-02-0712-70/+77
|\|
| * flashcp: trivial code shrinkDenys Vlasenko2013-01-281-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * flashcp: pad output to BUFSIZE. Hopefully closes 5882Denys Vlasenko2013-01-231-11/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * dc: code shrinkDenys Vlasenko2013-01-181-10/+10
| | | | | | | | | | | | | | | | function old new delta stack_machine 103 101 -2 operators 176 168 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixes. no code changesDenys Vlasenko2013-01-155-22/+22
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace cleanup. no code changesDenys Vlasenko2013-01-143-23/+23
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixes. no code changesDenys Vlasenko2013-01-142-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * CONFIG_PID_FILE_PATH: new configuration option for pidfile pathsAnthony G. Basile2012-12-192-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We set a default path for the directory where pidfiles are create when FEATURE_PIDFILE is selected. The default has no effect on applets which must specify a pidfile path on the command line to run, and it can be overridden by applets which optionally allow the user to specify the pidfile path. We also add pidfile write/remove support for klogd, ntpd and watchdog. For syslogd, we add a missing remove_pidfile() for better cleanup on daemon exit. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Merge branch 'busybox' into mergeRon Yorston2012-12-112-9/+8
|\|
| * fbsplash: fix regression from e4fa7b7Timo Teräs2012-10-171-3/+2
| | | | | | | | | | | | | | | | commit e4fa7b7 (limit progress bar flicker) made the progress bar counter unsigned causing i < 0 to never come true. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nanddump: invert the meaning of the -o parameter to match upstreamBaruch Siach2012-10-151-4/+4
| | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nanddump: skip bad blocks when instructed to do soBaruch Siach2012-10-151-1/+1
| | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nanddump: use the right operator of logic ANDBaruch Siach2012-10-151-1/+1
| | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2012-10-101-2/+1
|\|
| * flashcp: remove unused variable optsManuel Zerpies2012-09-271-2/+1
| | | | | | | | | | Signed-off-by: Manuel Zerpies <manuel.f.zerpies@ww.stud.uni-erlangen.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2012-09-074-16/+28
|\| | | | | | | | | | | Conflicts: include/libbb.h shell/ash.c
| * fbsplash: support non-RGB565 pixels in 16-bit modeLinus Walleij2012-09-061-5/+22
| | | | | | | | | | | | | | | | | | function old new delta fbsplash_main 953 989 +36 fb_pixel_value 80 110 +30 Signed-off-by: Linus Walleij <triad@df.lth.se> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * include sys/resource.h where neededMike Frysinger2012-07-051-0/+1
| | | | | | | | | | | | | | | | We use functions from sys/resource.h in misc applets, but don't include the header. This breaks building with newer glibc versions, so add the include where needed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * nanddump: make dumping read-only partitions workMatt Reimer2012-06-131-1/+1
| | | | | | | | | | | | | | | | Make dumping read-only partitions work by opening the device O_RDONLY; otherwise the open() will fail with -EPERM. Signed-off-by: Matt Reimer <mreimer@sdgsystems.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * man: fix handling of gzipped manpagesDenys Vlasenko2012-06-081-10/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | mingw32: add manRon Yorston2012-06-261-0/+4
|/
* who,less: tweaked help textDenys Vlasenko2012-04-171-7/+6
| | | | | | | function old new delta packed_usage 29176 29173 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ubi_tools: add workaround for bad kernel headers. Closes 4838Denys Vlasenko2012-03-111-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* preparatory cleanups for seamless uncompression improvementsDenys Vlasenko2012-03-061-23/+18
| | | | | | | | | | | | unpack_gz_stream_with_info: fix buggy error check man: fix possible accesses past the end of a string move seamless uncompression helpers from read_printf.c to open_transformer.c function old new delta show_manpage 153 212 +59 unpack_gz_stream_with_info 520 539 +19 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>