aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-06-21random shrinkage of statics, -60 bytes savedDenis Vlasenko
2007-06-21tar: improve OLDGNU compat, make old SUN compat configurableDenis Vlasenko
2007-06-21- add ATTRIBUTE_UNUSED_RESULT for internal useBernhard Reutner-Fischer
2007-06-21since we removed the deprecated matches() now and thus not alot of warnings ↵Bernhard Reutner-Fischer
are currently seen, let's strive to fixup these: - warn a little bit about unused results
2007-06-21- remove matches() from networking/. Untested.Bernhard Reutner-Fischer
text data bss dec hex filename 1705 0 0 1705 6a9 networking/libiproute/utils.o.orig 1676 0 0 1676 68c networking/libiproute/utils.o 766 0 0 766 2fe networking/libiproute/rtm_map.o.orig 670 0 0 670 29e networking/libiproute/rtm_map.o 4942 0 0 4942 134e networking/libiproute/iptunnel.o.orig 4687 0 0 4687 124f networking/libiproute/iptunnel.o
2007-06-21slattach: code shrink (Bernhard Fischer <rep.dot.nop@gmail.com>)Denis Vlasenko
2007-06-21remove extra ')'Denis Vlasenko
2007-06-20slattach: new applet.Denis Vlasenko
2007-06-20- move iprule and ipaddress from matches() to index_in_str_arrayBernhard Reutner-Fischer
text data bss dec hex filename 2544 0 0 2544 9f0 networking/libiproute/iprule.o.oorig 2356 0 0 2356 934 networking/libiproute/iprule.o 6481 0 0 6481 1951 networking/libiproute/ipaddress.o.oorig 6464 0 0 6464 1940 networking/libiproute/ipaddress.o
2007-06-20do not do utime() on links, it acts on link targets, and we don't want that.Denis Vlasenko
rename link_name to link_target, less confusing this way.
2007-06-20- remove another user of the deprecated matches() func by moving it to use ↵Bernhard Reutner-Fischer
index_in_str_array. Untested. text data bss dec hex filename 445 0 4 449 1c1 ip_parse_common_args.o.oorig 391 0 4 395 18b ip_parse_common_args.o
2007-06-20- do not hardcode HOSTCFLAGS to gcc specific flags. Fixes errors when not ↵Bernhard Reutner-Fischer
using gcc as HOSTCC
2007-06-20- strndupa is a GNU extension. Using strdup to avoid several errors like:Bernhard Reutner-Fischer
util-linux/mdev.c:(.text+0x29a): undefined reference to `strndupa'
2007-06-19echo: fix yet another buglet in non-fancy echoDenis Vlasenko
2007-06-19ping: fix incorrect handling of -I (Iouri Kharon <bc-info@styx.cabel.net>)Denis Vlasenko
2007-06-19find: -context support for SELinux (KaiGai Kohei <kaigai@kaigai.gr.jp>)Denis Vlasenko
find: make it a bit smaller function old new delta .rodata 129018 129050 +32 parse_params 1509 1346 -163 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 32/-163) Total: -131 bytes
2007-06-19pscan: size optimization (Tito <farmatito@tiscali.it>)Denis Vlasenko
2007-06-19punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handlingMike Frysinger
2007-06-19top,ps: 'stringify' tty only when needed. -60 bytes.Denis Vlasenko
2007-06-19top: speedup if tty info is not requestedDenis Vlasenko
2007-06-19top,ps: reduce CPU usage in decimal conversion (optional)Denis Vlasenko
text data bss dec hex filename 734651 3040 14416 752107 b79eb busybox_old 734751 3040 14416 752207 b7a4f busybox_unstripped
2007-06-19ll_map: disable interface name caching codeDenis Vlasenko
function old new delta find_by_index - 26 +26 static.icache 4 - -4 ll_idx_n2a 71 59 -12 static.ncache 16 - -16 ll_index_to_flags 40 24 -16 xll_name_to_index 206 104 -102 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 0/3 up/down: 26/-150) Total: -124 bytes text data bss dec hex filename 734703 3040 14440 752183 b7a37 busybox_old 734599 3040 14416 752055 b79b7 busybox_unstripped
2007-06-19defconfig: updateDenis Vlasenko
2007-06-19make /etc/network parsing configurable. -200 bytes when off.Denis Vlasenko
2007-06-19networking/interface.c: huke remaining big statics; use malloc for ↵Denis Vlasenko
INET[6]_rresolve return value. Went thru callers and adjusted them - code got smaller too. function old new delta ip_port_str - 126 +126 INET6_rresolve 165 182 +17 static.cache 20 24 +4 route_main 2092 2091 -1 INET_sprint 61 59 -2 INET_nn 4 - -4 INET6_sprint 59 53 -6 udp_do_one 518 508 -10 tcp_do_one 433 423 -10 raw_do_one 494 484 -10 traceroute_main 4117 4105 -12 INET_rresolve 334 321 -13 bb_displayroutes 494 456 -38 snprint_ip_port 244 - -244 static.buff 264 16 -248 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/10 up/down: 147/-598) Total: -451 bytes size busybox_old busybox_unstripped text data bss dec hex filename 751073 3048 14688 768809 bbb29 busybox_old 750873 3048 14440 768361 bb969 busybox_unstripped
2007-06-19networking/interface.c: reduce bss usageDenis Vlasenko
function old new delta .rodata 158918 158950 +32 display_interfaces 133 153 +20 UNSPEC_print 56 68 +12 pr_ether 59 65 +6 static.proc_read 4 1 -3 interface_opt_a 4 1 -3 in_ether 139 136 -3 ifconfig_main 1296 1293 -3 if_readlist_proc 686 680 -6 ife_print 1350 1338 -12 do_if_print 46 - -46 static.buff 369 264 -105 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 4/7 up/down: 70/-181) Total: -111 bytes # size busybox_old busybox_unstripped text data bss dec hex filename 751073 3080 14800 768953 bbbb9 busybox_old 751073 3048 14688 768809 bbb29 busybox_unstripped
2007-06-18libbb: random hunt for staticsDenis Vlasenko
function old new delta bb_askpass 306 321 +15 pw_encrypt 38 39 +1 static.passwd 64 4 -60 static.cipher 128 4 -124 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/2 up/down: 16/-184) Total: -168 bytes # size busybox_old busybox_unstripped text data bss dec hex filename 683705 2704 14240 700649 ab0e9 busybox_old 683721 2704 14064 700489 ab049 busybox_unstripped
2007-06-18libpwdgrp/pwd_grp.c: allocate local storage on first call, not in bss. -1k bssDenis Vlasenko
function old new delta get_S - 31 +31 bb_internal_getpwnam 38 44 +6 bb_internal_getgrnam 38 44 +6 bb_internal_getgrgid 38 44 +6 ptr_to_statics - 4 +4 static.resultbuf 88 - -88 static.buffer 1024 - -1024 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 3/0 up/down: 53/-1112) Total: -1059 bytes
2007-06-18ping: fix write-after-allocated-mem bugDenis Vlasenko
ping: use monotonic_us instead of gettimeofday: smaller code and needs only 4 bytes in the packet ping: display roundtrip times with 1/1000th of ms, not 1/10 ms precision. wget: small optimization function old new delta pingstats 243 259 +16 sendping6 98 93 -5 sendping4 183 178 -5 .rodata 129715 129707 -8 progressmeter 867 855 -12 unpack_tail 320 272 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/5 up/down: 16/-78) Total: -62 bytes
2007-06-18fix an obvious typo while trying to access the tv_usec memberMike Frysinger
2007-06-17wget: use monotonic_sec instead of gettimeofdayDenis Vlasenko
zcip: use monotonic_us instead of gettimeofday udhcpcd: simpler, shorter random_xid() function old new delta monotonic_sec - 41 +41 find_pair 164 180 +16 run_list_real 2018 2028 +10 cmp_main 547 555 +8 collect_ctx 112 119 +7 singlemount 4544 4549 +5 time_main 1124 1128 +4 static.start_sec - 4 +4 static.lastupdate_sec - 4 +4 sock - 4 +4 read_package_field 253 257 +4 pick 38 40 +2 get_next_line 145 147 +2 count_lines 59 61 +2 process_stdin 435 433 -2 xstrtoul_range_sfx 229 226 -3 static.initialized 4 1 -3 dhcprelay_main 1125 1122 -3 catcher 380 377 -3 arping_main 1969 1966 -3 s 8 4 -4 cfg 4 - -4 static.lastupdate 8 - -8 start 8 - -8 random_xid 95 33 -62 .rodata 129114 129050 -64 zcip_main 1731 1576 -155 progressmeter 1035 867 -168 ------------------------------------------------------------------------------ (add/remove: 4/3 grow/shrink: 10/11 up/down: 113/-490) Total: -377 bytes
2007-06-17hwclock: size optimizationsDenis Vlasenko
libbb/time.c: new file, introducing monotonic_us() pscan, traceroute, arping: use it instead of gettimeofday ping, zcip: TODO function old new delta monotonic_us - 89 +89 find_pair 164 180 +16 .rodata 129747 129763 +16 refresh 1144 1152 +8 ............ timeout 8 4 -4 static.start 8 4 -4 last 8 4 -4 parse_conf 1303 1284 -19 time_main 1149 1124 -25 gettimeofday_us 39 - -39 arping_main 2042 1969 -73 hwclock_main 594 501 -93 catcher 485 380 -105 traceroute_main 4300 4117 -183 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 8/11 up/down: 157/-562) Total: -405 bytes
2007-06-17time: *const str = "xxx" ==> str[] = "xxx"Denis Vlasenko
2007-06-17strings: strings a b was processing a twice, fix thatDenis Vlasenko
2007-06-17arping: -i should be -IDenis Vlasenko
2007-06-17install: fix install a b /a/link/to/dirDenis Vlasenko
install: fix -s (strip) option nmeter: add TODO
2007-06-16forgot svn add...Denis Vlasenko
2007-06-16remove obsolete commentDenis Vlasenko
2007-06-16make FEATURE_HAVE_RPC auto-selectable by mount and inetd sub-featuresDenis Vlasenko
2007-06-16pscan: new applet (portscanner). ~1350 bytes. By Tito <farmatito@tiscali.it>Denis Vlasenko
wget: lift 256 chars limitation on terminal width
2007-06-16find: make -size match GNU findDenis Vlasenko
2007-06-15find: add conditional support for -maxdepth and -regexDenis Vlasenko
(needed for Linux 2.6.22-rc4 build) -maxdepth: # size busybox_old busybox_unstripped text data bss dec hex filename 675622 2792 15728 694142 a977e busybox_old 675770 2792 15728 694290 a9812 busybox_unstripped -regex: # size busybox_old busybox_unstripped text data bss dec hex filename 675770 2792 15728 694290 a9812 busybox_old 675894 2792 15728 694414 a988e busybox_unstripped
2007-06-15fdisk: fix minor issues with help textDenis Vlasenko
2007-06-15- fix test -f ./existsBernhard Reutner-Fischer
Note that test -f ./exists -a "-u" = "-u" doesn't work and did not work even before r18282, so this is a breakage not caused by me..
2007-06-15- vda perfers not to use the bannerBernhard Reutner-Fischer
2007-06-14applets/Kbuild: straighten it a bitDenis Vlasenko
2007-06-14Alex Landau writes: open firmware for reading, not writingMike Frysinger
2007-06-14init: make sure fd 0,1,2 are not closed, + related optimizations.Denis Vlasenko
init_main 929 920 -9 bb_daemonize_or_rexec 145 127 -18
2007-06-14traceroute: stop using floating point needlessly; nuke useless assignment.Denis Vlasenko
.rodata 129308 129312 +4 freehostinfo 35 29 -6 traceroute_main 4308 4300 -8
2007-06-13minix.h: add very simple test scriptDenis Vlasenko