aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* head: support -n -NUM and -c -NUMDenys Vlasenko2013-02-251-22/+128
| | | | | | | | | | function old new delta head_main 406 832 +426 packed_usage 29234 29252 +18 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 444/0) Total: 444 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* head,tail: use common suffix struct. simplify help text.Denys Vlasenko2013-02-255-27/+40
| | | | | | | | | | | | | | | | function old new delta head_tail_suffixes - 32 +32 head_main 415 406 -9 packed_usage 29252 29234 -18 tail_suffixes 32 - -32 head_suffixes 32 - -32 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 0/2 up/down: 32/-91) Total: -59 bytes text data bss dec hex filename 890474 497 7584 898555 db5fb busybox_old 890415 497 7584 898496 db5c0 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rpm: unmap rpm file before working with next oneDenys Vlasenko2013-02-201-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rpm: stop using statics; move main() to the end of the source fileDenys Vlasenko2013-02-201-146/+141
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rpm: use "create+rename" method of replacing existing filesDenys Vlasenko2013-02-203-3/+19
| | | | | | | | Users were reporting getting errors like "ls: error while loading shared libraries: libc.so.6: ELF load command past end of file" while rpm was unpacking glibc tarball. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rpm: make -ql display more compatible; improve help textDenys Vlasenko2013-02-201-32/+36
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fdisk_sun: fix partition alignmentAaro Koskinen2013-02-111-3/+6
| | | | | | | | | When the display unit is sectors, the partition alignment will convert the partition start to a wrong unit (it should always be in sectors). Fix this. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fdisk_sun: fix corrupted partition data with blank diskAaro Koskinen2013-02-111-0/+1
| | | | | | | | | | After creating Sun disk label for the first time for a blank disk, the partition table appears corrupted because current_label_type will never get set to a proper type. Fix this by calling check_sun_label() after BusyBox has created the label. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vasprintf: return -1 on strdup failureDenys Vlasenko2013-02-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vasprintf: do not use xmalloc, it will deadlock on OOMDenys Vlasenko2013-02-071-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: chdir back to /dev after trying to read firmwareDenys Vlasenko2013-02-041-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* arp: code shrinkDenys Vlasenko2013-02-041-10/+9
| | | | | | | | function old new delta packed_usage 29257 29252 -5 arp_main 1487 1471 -16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* arp: fix -H/-t handling.Kuleshov Aleksey2013-02-041-14/+12
| | | | | | | | | While at it, shrank code. function old new delta arp_main 1558 1487 -71 Signed-off-by: Kuleshov Aleksey <rndfax@yandex.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: extend debug logging outputDenys Vlasenko2013-01-301-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc6: fix port numbers used if !FEATURE_UDHCP_PORTDenys Vlasenko2013-01-283-18/+22
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite/du/du-k-works: fix false positiveKang Kai2013-01-281-0/+4
| | | | | Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* flashcp: trivial code shrinkDenys Vlasenko2013-01-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: seconds_since_boot: uint64_t -> ulongDenys Vlasenko2013-01-261-4/+1
| | | | | | Even if long is 32-bit, 4 billion second uptime isn't likely :) Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getopt: improve help text; code shrinkDenys Vlasenko2013-01-241-27/+32
| | | | | | | | function old new delta generate_output 356 351 -5 packed_usage 29271 29257 -14 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>
* unzip: add missing fflush; code shrinkDenys Vlasenko2013-01-221-8/+11
| | | | | | | | function old new delta my_fgets80 - 41 +41 unzip_main 2291 2242 -49 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: whitespace fix. no code changesDenys Vlasenko2013-01-221-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: reuse more stringsDenys Vlasenko2013-01-223-17/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: fix sscanf format specifier (%l); make uptime unsignedDenys Vlasenko2013-01-221-15/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Start 1.22.0 development cycleDenys Vlasenko2013-01-211-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Bump version to 1.21.01_21_0Denys Vlasenko2013-01-211-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix testsuite false positiveDenys Vlasenko2013-01-211-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix mode of dir1 in =dir1/dir2/file ruleDenys Vlasenko2013-01-212-3/+35
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ifconfig: do not accept "ifconfig eth0 up 1.2.3.4/17" (ip with mask). Closes ↵Denys Vlasenko2013-01-202-88/+81
| | | | | | | | | 5786 function old new delta ifconfig_main 1221 1237 +16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix grep -Fw not respecting the -w option. Closes 5792Denys Vlasenko2013-01-202-5/+44
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* syslogd: do not segfault on parse error when using default config. Closes 5762Denys Vlasenko2013-01-201-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: code shrinkDenys Vlasenko2013-01-202-34/+61
| | | | | | | function old new delta sha3_hash 155 101 -54 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* syslogd: convert dummy functions to statics and get rid of IF_FEATURE_* checksPeter Korsgaard2013-01-181-12/+10
| | | | | | | | | As suggested by Mike. No bloat-o-meter difference, but a bit nicer to look at. We cannot convert the call to log_to_shmem() as it checks for G.shbuf outside the function, and G.shbuf is only available when IPC support is enabled. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> 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>
* ash: revert wrong "fix" for an apparent memory leak. Closes 5822Denys Vlasenko2013-01-171-0/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* code shrinkDenys Vlasenko2013-01-171-8/+12
| | | | | | | | function old new delta applet_name_compare 36 31 -5 find_applet_by_name 43 25 -18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix a typo in config help text. Closes 5714Denys Vlasenko2013-01-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: fix -o user=foo mishandling, fix unc= generation, add prefixpath=Bernhard Reutner-Fischer2013-01-171-17/+35
| | | | | | | | | | | | | function old new delta singlemount 1019 1049 +30 packed_usage 29252 29257 +5 parse_mount_options 230 232 +2 mount_option_str 337 338 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 38/0) Total: 38 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: s/sha3_process_block76/sha3_process_block72/Denys Vlasenko2013-01-161-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: rename KeccakF->sha3_process_block76.Denys Vlasenko2013-01-161-79/+81
| | | | | | | | This brings the naming more in line with other hashes. Pulled most statics and constants into it. Also noticed that two byte arrays are 1 element too big. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: add unc option to CIFS mount (needed for Linux 3.4+)Martin Santesson2013-01-161-1/+15
| | | | | | | | unc option for CIFS mount is mandatory after CIFS option parsing was rewritten in Linux 3.4 Signed-off-by: Martin Santesson <martinsn@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: cache ctx->bytes_queuedDenys Vlasenko2013-01-151-11/+11
| | | | | | | function old new delta sha3_hash 171 155 -16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: remove two "small code" codepaths: I can't reproduce code size win on ↵Denys Vlasenko2013-01-151-43/+18
| | | | | | them anymore Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: tweak choice of a fast code path for 64-bitDenys Vlasenko2013-01-151-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: cosmetic tweaks to various names, comments. No logic changes.Denys Vlasenko2013-01-151-61/+63
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: code shrinkDenys Vlasenko2013-01-151-26/+36
| | | | | | | | function old new delta KeccakF 1053 1078 +25 KeccakF_RoundConstants 192 48 -144 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: code shrinkDenys Vlasenko2013-01-151-13/+18
| | | | | | | function old new delta KeccakF 1064 1053 -11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: another speedup for SHA3_SMALL=0 caseDenys Vlasenko2013-01-151-10/+25
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixes. no code changesDenys Vlasenko2013-01-1520-75/+75
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3: make size/speed optimization decision configurableDenys Vlasenko2013-01-152-19/+68
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>