aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* trim usage textDenys Vlasenko2009-10-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: new applet by VladimirVladimir Dronnikov2009-10-172-33/+38
| | | | | | | | | | | | | | | | | | | function old new delta mkfs_ext2_main - 2011 +2011 static.supers - 184 +184 allocate - 118 +118 packed_usage 26692 26791 +99 PUT - 52 +52 has_super - 28 +28 applet_names 2143 2160 +17 applet_main 1264 1272 +8 applet_nameofs 632 636 +4 applet_install_loc 158 159 +1 ------------------------------------------------------------------------------ (add/remove: 5/0 grow/shrink: 5/0 up/down: 2522/0) Total: 2522 bytes Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move generate_uuid from mkswap to libbbVladimir Dronnikov2009-10-151-0/+3
| | | | | Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/human_readable.c: shrink; and reduce bss usageDenys Vlasenko2009-10-131-0/+4
| | | | | | | | | | | | | | | | | | | | also, move smart_ulltoaN there and comment usage locations function old new delta static.unit_chars 7 9 +2 utoa_to_buf 110 108 -2 make_human_readable_str 262 258 -4 fallbackSort 1723 1719 -4 static.fmt 97 92 -5 static.fmt_tenths 10 - -10 static.str 21 4 -17 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/5 up/down: 2/-42) Total: -40 bytes text data bss dec hex filename 820981 453 6932 828366 ca3ce busybox_old 820968 453 6916 828337 ca3b1 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include/xatonum.h: make it survive -WconversionDenys Vlasenko2009-10-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: more help text tweakingDenys Vlasenko2009-10-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: better wording in help textDenys Vlasenko2009-10-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Trim help text a bit moreDenys Vlasenko2009-10-061-21/+18
| | | | | | | function old new delta packed_usage 26625 26529 -96 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Trim usage text a bitDenys Vlasenko2009-10-061-38/+38
| | | | | | | function old new delta packed_usage 26646 26625 -21 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unpackers: check errors from close() tooDenys Vlasenko2009-10-051-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sendmail: accept -i too, not only -oiVladimir Dronnikov2009-10-041-0/+1
| | | | | Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fixes to usage text; updated busybox.specDenys Vlasenko2009-10-021-42/+42
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: -follow should not error out on dandling linksDenys Vlasenko2009-09-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | function old new delta recursive_action 425 465 +40 find_main 436 465 +29 test_main 247 253 +6 need_print 1 - -1 doCommands 2523 2521 -2 compare_keys 737 735 -2 xdev_dev 4 - -4 xdev_count 4 - -4 recurse_flags 4 - -4 mkfs_vfat_main 1609 1605 -4 actions 4 - -4 fileAction 588 583 -5 ------------------------------------------------------------------------------ (add/remove: 0/5 grow/shrink: 3/4 up/down: 75/-30) Total: 45 bytes text data bss dec hex filename 822711 450 7684 830845 cad7d busybox_old 822773 445 7668 830886 cada6 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: fix compile breakageDenys Vlasenko2009-09-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: document -T optionDenys Vlasenko2009-09-201-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* swaponoff: add uuid/label support. By Natanael CopaNatanael Copa2009-09-201-0/+7
| | | | | | | | | | | | | function old new delta swap_enable_disable 130 150 +20 resolve_mount_spec 76 96 +20 mount_main 1152 1154 +2 findfs_main 125 80 -45 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 42/-45) Total: -3 bytes Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps,top: add an option to show threads. +260 bytes of codeDenys Vlasenko2009-09-191-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix --numeric-owner, --no-same-owner, --no-same-permissions bitsDenys Vlasenko2009-09-171-8/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix read_cmdline API and a small buglet where "[comm]" may be too narrowDenys Vlasenko2009-09-121-2/+2
| | | | | | | | | | | function old new delta func_args 25 26 +1 read_cmdline 119 114 -5 display_process_list 1462 1447 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 1/-20) Total: -19 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top, ps: do not output trailing spacesDenys Vlasenko2009-09-111-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: add -m ("memory") optionDenys Vlasenko2009-09-111-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modprobe-small: make string buffer code robust; fix help textDenys Vlasenko2009-09-071-2/+15
| | | | | | | | | | | | | | | together with previous one-liner: function old new delta append 70 99 +29 parse_module 295 311 +16 copy_stringbuf 35 36 +1 packed_usage 26545 26540 -5 appendc 27 - -27 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 3/1 up/down: 46/-32) Total: 14 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* documentation and typo fixes. By Dan Fandrich (dan AT coneharvesters.com)Denys Vlasenko2009-09-062-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove some GNUisms. by Dan Fandrich (dan AT coneharvesters.com)Denys Vlasenko2009-09-061-1/+1
| | | | | | | | | | function old new delta logdirs_reopen 1310 1308 -2 read_line_input 4757 4753 -4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-6) Total: -6 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnetd: add -w ("inetd wait") option. Can be configured off.Denys Vlasenko2009-09-041-8/+12
| | | | | | | | | | | | | gcc fils to fully optimize it out when it's off: function old new delta telnetd_main 1527 1548 +21 packed_usage 26596 26587 -9 but nevertheless it's a useful (and so far single) example how to write "inetd wait" tcp service. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rpm2cpio: handle unseekable input correctlyDenys Vlasenko2009-08-281-4/+4
| | | | | | | | | | | | | | function old new delta data_skip 14 20 +6 seek_by_jump 67 72 +5 data_align 81 84 +3 seek_by_read 20 19 -1 skip_header 99 94 -5 rpm2cpio_main 183 177 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/3 up/down: 14/-12) Total: 2 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more help text tweakingDenys Vlasenko2009-08-271-10/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim help texts a bitDenys Vlasenko2009-08-271-43/+43
| | | | | | | function old new delta packed_usage 26709 26634 -75 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove a few extra newlines in help textDenys Vlasenko2009-08-271-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix duplicate FAST_FUNC FAST_FUNCDenys Vlasenko2009-08-211-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add simple beep appletBernhard Reutner-Fischer2009-08-212-0/+11
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* msh: aliased to hushDenys Vlasenko2009-08-212-12/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: support -N. By Olivier Duclos (olivier.duclos AT gmail.com)Denys Vlasenko2009-08-201-1/+2
| | | | | | | | function old new delta packed_usage 26646 26656 +10 patch_main 1101 1110 +9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volname: new appletMatthew Stoltenberg2009-08-132-0/+6
| | | | | | | | | | | | | | | function old new delta volname_main - 90 +90 packed_usage 26373 26387 +14 applet_names 2078 2086 +8 applet_main 1232 1236 +4 applet_nameofs 616 618 +2 applet_install_loc 154 155 +1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/0 up/down: 119/0) Total: 119 bytes Signed-off-by: Matthew Stoltenberg <d3matt@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2009-08-081-0/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rename _BB_SUID_ALWAYS and NEVER into REQUIRE and DROP. No code changes.Denys Vlasenko2009-07-302-352/+352
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ping6: make it setuid just like pingDenys Vlasenko2009-07-301-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make find_pid_by_name look at /proc/PID/exe tooAlexander Shishkin2009-07-291-1/+2
| | | | | | | | | | function old new delta procps_scan 1642 1709 +67 find_pid_by_name 193 223 +30 free_procps_scan 29 37 +8 Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix mountpoint test to not prevemt mkfs_xxx from making image in any fileDenys Vlasenko2009-07-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: implement -t TIME (needed for testsuite)Denys Vlasenko2009-07-181-4/+4
| | | | | | | | | | | This changes date -d TIME format a bit, makes it more compatible function old new delta parse_datestr 391 618 +227 touch_main 360 361 +1 packed_usage 26624 26615 -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: implement -d --date (our own testsuite needs that)Denys Vlasenko2009-07-182-2/+4
| | | | | | | | | | | | | | | function old new delta static.uname_longopts - 137 +137 touch_main 231 360 +129 static.touch_longopts - 32 +32 validate_tm_time - 28 +28 packed_usage 26616 26624 +8 date_main 687 686 -1 static.longopts 162 - -162 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/1 up/down: 334/-163) Total: 171 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: factor out date parsing (in preparation for touch -d)Denys Vlasenko2009-07-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | | function old new delta parse_datestr - 391 +391 sha512_process_block128 1283 1310 +27 buffer_fill_and_print 179 196 +17 nexpr 826 840 +14 unzip_main 1931 1939 +8 popstring 134 140 +6 qrealloc 33 36 +3 builtin_umask 121 123 +2 evalvar 1365 1363 -2 changepath 194 192 -2 do_compress 1698 1688 -10 hwclock_main 340 329 -11 cmdputs 414 402 -12 identify 4343 4329 -14 date_main 1186 687 -499 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 7/7 up/down: 468/-550) Total: -82 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix a thinko in lineedit completion codeDenys Vlasenko2009-07-161-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweaking Unicode supportDenys Vlasenko2009-07-111-2/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* added simplified Unicode support for non-locale-enabled buildsDenys Vlasenko2009-07-111-0/+57
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* restore shadow.h independenceMike Frysinger2009-07-092-5/+18
| | | | | | | | | | | Commit ee5dce336597 made busybox require shadow.h from the toolchain even if the config opted for the internal busybox implementation. This makes building with toolchains that lack shadow support impossible. Since the merge only saved us from duplicating a simple structure (whose ABI isn't going to ever change), restore the logic for complete busybox shadow independence by reverting that previous commit slightly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* move libc related stuff out of platform.hDenys Vlasenko2009-07-081-44/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pgrep/pkill: support -s and -P optionsDenys Vlasenko2009-07-061-4/+8
| | | | | | | | | | | | function old new delta pgrep_main 510 580 +70 packed_usage 26575 26616 +41 act 234 236 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 113/0) Total: 113 bytes Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak sendmail and makemime help textsDenys Vlasenko2009-07-051-12/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* df: fix "df /"Denys Vlasenko2009-07-051-1/+1
| | | | | | | | | | | | | | | | | | | also, clean up mount checks in mkfs/fsck. function old new delta find_mount_point 243 261 +18 sha1_process_block64 497 510 +13 find_main 436 444 +8 display_speed 85 90 +5 df_main 795 793 -2 parse_command 1463 1460 -3 static.ignored_mounts 8 - -8 mkfs_minix_main 2962 2937 -25 fsck_minix_main 3065 2970 -95 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 4/4 up/down: 44/-133) Total: -89 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>