aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ash: s/int/smallint/. -60 bytes.Denis Vlasenko2007-09-211-51/+47
|
* test: correct confusing placement of "const"Denis Vlasenko2007-09-211-1/+1
|
* microcom: add new applet, this time for realDenis Vlasenko2007-09-211-0/+135
|
* microcom: new applet by Vladimir Dronnikov <dronnikov@gmail.ru>Denis Vlasenko2007-09-214-0/+13
|
* update Glenn McGrath's email addressDenis Vlasenko2007-09-2115-16/+15
|
* remove stray 8-bit chars from copyright bannerDenis Vlasenko2007-09-201-2/+2
|
* announce 1.7.1 on websiteDenis Vlasenko2007-09-161-0/+10
|
* httpd: do not clear environmentDenis Vlasenko2007-09-153-16/+57
| | | | | mount: mount helpers support (by Vladimir Dronnikov <dronnikov@gmail.ru>)
* webpage: add a link to vda's "init must die" pageDenis Vlasenko2007-09-131-2/+3
|
* cp: make it a bit closer to POSIX, but still refuse to open andDenis Vlasenko2007-09-111-5/+7
| | | | | write to dest which is a symlink.
* cp: make "cp file /dev/node" special case; explained in commentsDenis Vlasenko2007-09-111-7/+15
| | | | | | | | | | | function old new delta copy_file 1487 1538 +51 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 51/0) Total: 51 bytes text data bss dec hex filename 772502 1051 10724 784277 bf795 busybox_old 772554 1051 10724 784329 bf7c9 busybox_unstripped
* run_shell: code shrink for selinuxDenis Vlasenko2007-09-101-7/+5
|
* setup_environment: code shrinkDenis Vlasenko2007-09-105-21/+41
| | | | | | | | | | | | | | | | | | | | run_shell: mark as NORETURN setup_environment, run_shell: add usage comments login: add FIXME :( function old new delta UNSPEC_print 64 66 +2 sulogin_main 509 506 -3 mkfs_minix_main 3070 3067 -3 login_main 1615 1612 -3 su_main 461 448 -13 setup_environment 261 206 -55 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/5 up/down: 2/-77) Total: -75 bytes text data bss dec hex filename 772578 1051 10724 784353 bf7e1 busybox_old 772502 1051 10724 784277 bf795 busybox_unstripped
* grep: delete obsolete commentDenis Vlasenko2007-09-101-7/+1
|
* grep: fix grep -F -e str1 -e str2 (was matching str2 only)Denis Vlasenko2007-09-101-37/+61
| | | | | | | | by replacing "=" by "|=" here: found |= strstr(line, gl->pattern) != NULL; grep: optimization: stop on first -e match grep: stop using bss. -40 bytes
* style fix, no code changesDenis Vlasenko2007-09-094-4/+7
|
* open_transformer: fix vda's goofupDenis Vlasenko2007-09-091-2/+3
|
* top: small fix for command line wrappingDenis Vlasenko2007-09-081-2/+2
|
* top: get rid of on-stack variable buffers, use permanent one.Denis Vlasenko2007-09-082-21/+25
| | | | | | | | | | | | | | | | code shrank with and without TOPMEM: top_main 828 844 +16 display_process_list 1525 1473 -52 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 16/-52) Total: -36 bytes top_main 1150 1171 +21 display_topmem_process_list 1150 1167 +17 display_process_list 1525 1473 -52 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 38/-52) Total: -14 bytes
* top: add sizeof(G) check; fix styleDenis Vlasenko2007-09-081-31/+17
|
* top: TOPMEM feature - 's(how sizes)' command. +2.5k when enabled,Denis Vlasenko2007-09-084-54/+473
| | | | | | +80 bytes when disabled (mainly because of text wrapping fixes in display_process_list).
* overload the existing '-q' flag so that if '-l' and '-q' are usedPaul Fox2007-09-072-12/+20
| | | | | together, a "short form" listing (just pathnames) is generated. change a few flag variables to "smallint" as well.
* messages: by popular request allow PATH to be customized at build timeDenis Vlasenko2007-09-072-10/+18
| | | | | mount: smallish code shrink
* syslogd: do not need to poll(), we can just block in read().Denis Vlasenko2007-09-071-30/+23
| | | | | | | | | | | function old new delta syslogd_main 1206 1106 -100 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-100) Total: -100 bytes text data bss dec hex filename 769820 1051 10764 781635 bed43 busybox_old 769702 1051 10764 781517 beccd busybox_unstripped
* *: replace select-for-one descriptor with poll, it's smaller.Denis Vlasenko2007-09-076-82/+61
| | | | | | | | | | | | | | | | | $ ./.cmk bloatcheck function old new delta readit 406 364 -42 syslogd_main 1249 1206 -43 traceroute_main 4115 4060 -55 mysleep 112 45 -67 arpping 579 441 -138 tftp 1575 1182 -393 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-738) Total: -738 bytes text data bss dec hex filename 770580 1051 10764 782395 bf03b busybox_old 769820 1051 10764 781635 bed43 busybox_unstripped
* fix infinite retry bug. also, reduce per-packet receive timeoutPaul Fox2007-09-061-11/+20
| | | | | | to something more reasonable than 5 seconds, and add simple exponential backoff to compensate. improves performance on marginal networks.
* fix -xdev behavior in the presence of two or more nested mount pointsPaul Fox2007-09-061-2/+4
| | | | on the command line, e.g. "find / /boot -xdev".
* umount: support (by ignoring) -i; style fixesDenis Vlasenko2007-09-061-11/+16
|
* usage: trim a bitDenis Vlasenko2007-09-051-34/+32
| | | | | | | | | | | | function old new delta packed_usage 23113 23011 -102 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-102) Total: -102 bytes text data bss dec hex filename 770610 1051 10764 782425 bf059 busybox_old 770508 1051 10764 782323 beff3 busybox_unstripped
* watchdog: allow millisecond spec (-t 250ms)Denis Vlasenko2007-09-052-14/+22
| | | | | | | | | | | | function old new delta packed_usage 23069 23113 +44 static.suffixes - 24 +24 watchdog_main 147 160 +13 static.V - 1 +1 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 2/0 up/down: 82/0) Total: 82 bytes
* tar + gzip/bzip2/etc: support NOMMU machines (by Alex Landau ↵Denis Vlasenko2007-09-059-42/+92
| | | | <landau_alex@yahoo.com>)
* busybox --install -s: prevent puzzling "/bin/busybox: Invalid argument" messageDenis Vlasenko2007-09-053-14/+24
| | | | | libbb: comment out realpath, add readlink which doesn't warn
* tar: conditionally don't wait for vforked child to exec, as it alwaysDenis Vlasenko2007-09-043-37/+54
| | | | | | | | | | | | | | | works right on Linux, and anyway mayresult only on less-than-clear error message only, it will not cause tar to misbehave. function old new delta open_transformer 98 80 -18 writeTarFile 714 547 -167 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-185) Total: -185 bytes text data bss dec hex filename 770651 1051 10764 782466 bf082 busybox_old 770463 1051 10764 782278 befc6 busybox_unstripped
* mount: ignore NFS bg option on NOMMU machinesDenis Vlasenko2007-09-041-2/+13
|
* du: remove statics (by Bernhard Fischer <rep.dot.nop@gmail.com>)Denis Vlasenko2007-09-031-64/+64
| | | | | | | | | | | | | | | | | | | | | | | | | $ ./.cmk bloatcheck function old new delta du_main 340 348 +8 print 39 40 +1 status 129 125 -4 slink_depth 4 - -4 print_files 4 - -4 one_file_system 4 - -4 max_print_depth 4 - -4 du_depth 4 - -4 disp_hr 4 - -4 count_hardlinks 4 - -4 du 407 401 -6 dir_dev 8 - -8 ------------------------------------------------------------------------------ (add/remove: 0/8 grow/shrink: 2/2 up/down: 9/-46) Total: -37 bytes text data bss dec hex filename 864 12 28 904 388 busybox.t3/coreutils/du.o 867 0 0 867 363 busybox.t4/coreutils/du.o 770647 1063 10788 782498 bf0a2 busybox.t3/busybox_unstripped 770651 1051 10764 782466 bf082 busybox.t4/busybox_unstripped
* login: do reject wrong passwords with PAM authDenis Vlasenko2007-09-031-12/+21
|
* trylink: reinstate accidentally deleted --verboseDenis Vlasenko2007-09-031-34/+17
| | | | | trylink: remove commented-out parts
* - IFUPDOWN_IFSTATE_PATH depends on IFUPDOWNBernhard Reutner-Fischer2007-09-021-0/+1
|
* - Generally strip off -l that does not pull in a lib.Bernhard Reutner-Fischer2007-09-021-15/+11
| | | | If l_list is non-empty then add the group flags.
* - fix bug where we linked again -lm even though it is not needed.Bernhard Reutner-Fischer2007-09-021-2/+11
| | | | | | | | | For BBOX_LIB_LIST="crypt m" trylink ... with just applet true, we pulled in libm because in this case we tried to use invalid flags (plain "-l" without a lib) which of course failed, thus the script thought that -lm was needed. The fix is not to pass "-l" without a lib if we are about to check if any or the last remaining lib is really needed.
* isrv: use monotonic_secDenis Vlasenko2007-08-312-24/+30
| | | | | runsv: do not use clock_gettime if !MONOTONIC_CLOCK
* top: another readability fixDenis Vlasenko2007-08-291-3/+2
|
* vsz and rss are unsigned longs (ulong ~= width of void* =>Denis Vlasenko2007-08-292-5/+5
| | | | | | | suitable for expressing total RAM in system). We account for "32 bit in 64 bit" systems by storing kbytes, not bytes there. Should allow for up to ~2000 Gb RAM on 32 bits.
* top: don't wait before final bailout (try top -b -n1).Denis Vlasenko2007-08-291-37/+22
| | | | | top: make code a bit more readable.
* mount: allow (and ignore) -iDenis Vlasenko2007-08-291-1/+2
|
* smart_ulltoa5: emit small letters k,m,g... - makes topDenis Vlasenko2007-08-281-1/+2
| | | | | more readable
* top: use poll instead of select for waiting on one descriptorDenis Vlasenko2007-08-283-38/+48
| | | | | | | | | | | | | | | | | | | | | smart_ulltoa5: make it more cryptic. -50 bytes. function old new delta passwd_main 1095 1103 +8 getNum 557 565 +8 buffer_fill_and_print 73 76 +3 udhcpc_main 2393 2395 +2 mkfs_minix_main 3071 3070 -1 dname_enc 377 373 -4 expmeta 480 472 -8 smart_ulltoa5 334 283 -51 top_main 911 815 -96 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/5 up/down: 21/-160) Total: -139 bytes text data bss dec hex filename 770872 1063 10788 782723 bf183 busybox_old 770732 1063 10788 782583 bf0f7 busybox_unstripped
* mount: don't close fd twice in NFS codeDenis Vlasenko2007-08-281-5/+8
|
* cp: fix recursion check to not waste bytes remembering names of dirsDenis Vlasenko2007-08-271-6/+5
|
* cp: detect and prevent infinite recursionDenis Vlasenko2007-08-271-17/+35
|