summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* mkfs.minix: add testsuite; disable code which makes images variableDenis Vlasenko2007-12-022-4/+25
|
* attack the biggest stack users:Denis Vlasenko2007-12-028-20/+85
| | | | | | | | | | | | | | | | | -mkfs_minix_main [busybox_unstripped]: 4288 -mkfs_minix_main [busybox_unstripped]: 4276 -grave [busybox_unstripped]: 4260 (bzip2 users too - not listed) price we pay in code size increase: mainSort 2458 2515 +57 grave 1005 1058 +53 sendMTFValues 2177 2195 +18 BZ2_blockSort 122 125 +3 mkfs_minix_main 3070 3022 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 131/-48) Total: 83 bytes
* explain why we use mmap instead of mallocDenis Vlasenko2007-12-021-0/+2
|
* libnetlink: comment out unused code; don't use 8k stack buffersDenis Vlasenko2007-12-022-37/+65
| | | | | | | | | | | | function old new delta ipaddr_modify 1305 1297 -8 do_iprule 963 955 -8 do_iproute 2193 2169 -24 xrtnl_dump_filter 418 391 -27 rtnl_talk 671 536 -135 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-202) Total: -202 bytes
* Fix minor discrepancy in "make help"Denis Vlasenko2007-12-021-2/+2
|
* Introduce FEATURE_COPYBUF_KB.Denis Vlasenko2007-12-022-8/+34
| | | | | | | | People who want smaller stack at any cost may use it to reduce cp's stack usage (FEATURE_COPYBUF_KB=1). Desktop people may get faster copy of big files (FEATURE_COPYBUF_KB=32 is ~30% faster than 4kb)
* dd: fix a bug where we don't report write errorsDenis Vlasenko2007-12-022-70/+63
| | | | | | | | | | | testsuite: small cleanup full_write_or_warn 38 40 +2 write_and_stats 66 67 +1 dd_main 1358 1335 -23 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 3/-23) Total: -20 bytes
* dd: add testsuite entry for write errorsDenis Vlasenko2007-12-021-0/+2
|
* test: stop using lots of bss.Denis Vlasenko2007-11-303-29/+67
| | | | | | | | | | | | | | | | | | | | | | | function old new delta test_main 425 456 +31 t_lex 69 73 +4 syntax 100 104 +4 ptr_to_statics 8 12 +4 t_wp_op 4 - -4 t_wp 4 - -4 ngroups 4 - -4 group_array 4 - -4 binop 590 585 -5 oexpr 104 97 -7 aexpr 101 94 -7 nexpr 831 820 -11 leaving 156 - -156 ------------------------------------------------------------------------------ (add/remove: 0/5 grow/shrink: 4/4 up/down: 43/-202) Total: -159 bytes text data bss dec hex filename 775098 929 9084 785111 bfad7 busybox_old 775107 933 8908 784948 bfa34 busybox_unstripped
* dhcp: heed TODO item - divorced options from their string descriptionsDenis Vlasenko2007-11-298-88/+135
| | | | | | | | | | | | | | | | | | | | | code shrink while at it. function old new delta dhcp_option_strings - 258 +258 udhcp_run_script 1135 1174 +39 dhcp_option_lengths - 11 +11 udhcp_add_simple_option 93 92 -1 packet_num 4 - -4 read_opt 746 739 -7 udhcp_option_lengths 11 - -11 udhcpc_main 2590 2494 -96 dhcp_options 490 70 -420 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 1/4 up/down: 308/-539) Total: -231 bytes text data bss dec hex filename 775309 929 9100 785338 bfbba busybox_old 775098 929 9084 785111 bfad7 busybox_unstripped
* sysctl: add -e: supress warnings about invalid key (Jeremy Kerr <jk@ozlabs.org>)Denis Vlasenko2007-11-292-102/+77
| | | | | | | | | code shrink: text data bss dec hex filename 775565 929 9100 785594 bfcba busybox_old 775296 929 9100 785325 bfbad busybox_unstripped
* Further optimize applet tables; prettify build outputDenis Vlasenko2007-11-295-47/+71
| | | | | | | text data bss dec hex filename 775923 929 9100 785952 bfe20 busybox_old 775565 929 9100 785594 bfcba busybox_unstripped
* touch: accept and ignore -fDenis Vlasenko2007-11-281-1/+2
|
* dhcpc: let server know we don't like oversized packets.Denis Vlasenko2007-11-286-47/+58
| | | | | add TODO comment
* forgotten part of previous commitDenis Vlasenko2007-11-281-0/+94
|
* reorganize applet table. Eliminates pointers to names.Denis Vlasenko2007-11-2813-128/+137
| | | | | | | | | Should be a big win for libbusybox. busybox wins too: text data bss dec hex filename 776524 929 9100 786553 c0079 busybox_old 775903 929 9100 785932 bfe0c busybox_unstripped
* ip route: add comment, no code changesDenis Vlasenko2007-11-271-1/+3
|
* iproute: fix a bug where "ip r flush table main" was rejected,Denis Vlasenko2007-11-262-37/+48
| | | | | | add "ip r flush cache" (however I'm unsure it is really valid syntax) Add a few comments and stop mixing params and params' keywords.
* fix vda's testsuite bogons, part 2Denis Vlasenko2007-11-261-0/+18
|
* fix vda's testsuite bogons, part 1Denis Vlasenko2007-11-262-20/+0
|
* testsuite: add tests for cut and grep;Denis Vlasenko2007-11-264-5/+33
| | | | | slight improvements to infrastructure
* ash: make code simpler, and do not do close(-1) - it's rudeDenis Vlasenko2007-11-261-5/+9
|
* zcip: simplify code a bitDenis Vlasenko2007-11-251-8/+1
|
* zcip: use low-order 4 bytes of MAC as random seed, not 4 high-orderDenis Vlasenko2007-11-252-102/+120
| | | | | | | | | | | | | | | | arping: fix wrong roundtrip calculation arping,zcip: cleanups and code shrink run 389 402 +13 arp 195 188 -7 zcip_main 1524 1495 -29 arping_main 1874 1823 -51 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 13/-87) Total: -74 bytes text data bss dec hex filename 776587 929 9100 786616 c00b8 busybox_old 776499 929 9100 786528 c0060 busybox_unstripped
* cttyhack should be in /bin, not /usr/binDenis Vlasenko2007-11-251-1/+1
|
* which: fix testsuite failureDenis Vlasenko2007-11-255-8/+13
| | | | | | pidof: do not output empty line if nothing found testsuite: disable false positive
* dhcpc: cope with buggy DHCP servers which send oversized packetsDenis Vlasenko2007-11-253-3/+27
| | | | | (Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
* Announce 1.8.2 and 1.7.4Denis Vlasenko2007-11-241-0/+15
|
* stty: reorganize data tables - save 0.5kDenis Vlasenko2007-11-241-151/+376
| | | | | | | | | | | | | | | | | | | | | | function old new delta mode_name - 496 +496 control_name - 91 +91 stty_main 1235 1255 +20 find_mode 45 63 +18 find_control 45 63 +18 do_display 482 493 +11 wrapf 165 166 +1 set_mode 761 759 -2 max_col 4 - -4 device_name 4 - -4 control_info 153 34 -119 mode_info 1700 680 -1020 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 5/3 up/down: 655/-1149) Total: -494 bytes text data bss dec hex filename 777037 937 9100 787074 c0282 busybox_old 776551 929 9100 786580 c0094 busybox_unstripped
* remove echo_main -> bb_echo indirectionDenis Vlasenko2007-11-244-15/+11
|
* hush: fix segfault in "echo $@" when we have no argumentsDenis Vlasenko2007-11-241-4/+6
|
* fix buglets found by randomconfigDenis Vlasenko2007-11-232-2/+3
|
* update defconfigDenis Vlasenko2007-11-231-6/+24
|
* kill lash. "lash" builtin still exists, but it runs hush.Denis Vlasenko2007-11-237-31/+19
|
* Add an RFC for future ipv6 ftp workDenis Vlasenko2007-11-231-0/+451
|
* hush: implement echo builtinDenis Vlasenko2007-11-232-0/+16
| | | | | | | | builtin_echo - 36 +36 bltins 384 396 +12 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/0 up/down: 48/0) Total: 48 bytes
* hush: fix $ expansion in redirections, add testcase for thatDenis Vlasenko2007-11-235-4/+27
|
* hush: implement test builtinDenis Vlasenko2007-11-231-21/+38
|
* hush: plug memory leakDenis Vlasenko2007-11-234-22/+91
|
* arping: fix help text (-i -> -I), and shorten it a bitDenis Vlasenko2007-11-231-7/+7
|
* arping: fix a bug where there is implicit count of 4G;Denis Vlasenko2007-11-231-32/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | eliminate data/bss usage; code shrink function old new delta timeout_us 4 - -4 static.start 4 - -4 src 4 - -4 sock 4 - -4 sent 4 - -4 req_recv 4 - -4 received 4 - -4 last 4 - -4 dst 4 - -4 count 4 - -4 brd_sent 4 - -4 brd_recv 4 - -4 catcher 375 365 -10 me 20 - -20 he 20 - -20 arping_main 1941 1874 -67 ------------------------------------------------------------------------------ (add/remove: 0/14 grow/shrink: 0/2 up/down: 0/-165) Total: -165 bytes text data bss dec hex filename 783035 941 9244 793220 c1a84 busybox_old 782907 937 9156 793000 c19a8 busybox_unstripped
* cut: add proper stdout error handling, fix "-" handling;Denis Vlasenko2007-11-231-39/+37
| | | | | modest code shrink
* logread: add forgotten INIT_G();Denis Vlasenko2007-11-231-0/+2
|
* logread: eliminate usage of data/bssDenis Vlasenko2007-11-233-14/+33
| | | | | | | | | | | | | | | | | ifup: don't remove virtual iface prefixes (eth0:0) function old new delta shbuf 4 - -4 SMrup 6 - -6 SMrdn 12 - -12 static.label_buf 20 4 -16 get_var 158 140 -18 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/2 up/down: 0/-56) Total: -56 bytes text data bss dec hex filename 783501 962 9260 793723 c1c7b busybox_old 783483 942 9244 793669 c1c45 busybox_unstripped
* dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smallerDenis Vlasenko2007-11-235-19/+23
| | | | | | | function old new delta udhcp_get_packet 146 134 -12 get_raw_packet 368 353 -15
* udhcpc: remove -W option, -A can be reused for thatDenis Vlasenko2007-11-222-30/+19
| | | | | | | | | | | help texts: trimmed a bit static.udhcpc_longopts 227 209 -18 udhcpc_main 2633 2590 -43 packed_usage 22927 22871 -56 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-117) Total: -117 bytes
* fix a thinko in build systemDenis Vlasenko2007-11-221-1/+1
|
* ash: fix bug where redirection of closed fd was leaving it open afterwards.Denis Vlasenko2007-11-225-16/+169
| | | | | | | | | | | | | | | | redirect 983 1024 +41 bb_echo 276 301 +25 popredir 118 132 +14 evalcommand 1163 1176 +13 bbunpack 358 366 +8 echocmd 13 5 -8 echo_main 13 5 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/2 up/down: 101/-16) Total: 85 bytes text data bss dec hex filename 774999 962 9236 785197 bfb2d busybox_old 775084 962 9236 785282 bfb82 busybox_unstripped
* sestatus: new SELinux applet (KaiGai Kohei <kaigai@ak.jp.nec.com>)Denis Vlasenko2007-11-225-0/+234
|
* dhcpc: cleanup and comments; fix buggy timeout handling in corner cases.Denis Vlasenko2007-11-221-107/+125
| | | | | -25 bytes.