summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* - move iprule and ipaddress from matches() to index_in_str_arrayBernhard Reutner-Fischer2007-06-203-43/+50
| | | | | | | | 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
* do not do utime() on links, it acts on link targets, and we don't want that.Denis Vlasenko2007-06-206-54/+56
| | | | | rename link_name to link_target, less confusing this way.
* - remove another user of the deprecated matches() func by moving it to use ↵Bernhard Reutner-Fischer2007-06-201-11/+24
| | | | | | | | 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
* - do not hardcode HOSTCFLAGS to gcc specific flags. Fixes errors when not ↵Bernhard Reutner-Fischer2007-06-201-5/+7
| | | | using gcc as HOSTCC
* - strndupa is a GNU extension. Using strdup to avoid several errors like:Bernhard Reutner-Fischer2007-06-201-3/+8
| | | | util-linux/mdev.c:(.text+0x29a): undefined reference to `strndupa'
* echo: fix yet another buglet in non-fancy echoDenis Vlasenko2007-06-191-1/+1
|
* ping: fix incorrect handling of -I (Iouri Kharon <bc-info@styx.cabel.net>)Denis Vlasenko2007-06-191-5/+8
|
* find: -context support for SELinux (KaiGai Kohei <kaigai@kaigai.gr.jp>)Denis Vlasenko2007-06-193-163/+191
| | | | | | | | | | | 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
* pscan: size optimization (Tito <farmatito@tiscali.it>)Denis Vlasenko2007-06-191-5/+3
|
* punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handlingMike Frysinger2007-06-193-4/+12
|
* top,ps: 'stringify' tty only when needed. -60 bytes.Denis Vlasenko2007-06-193-22/+12
|
* top: speedup if tty info is not requestedDenis Vlasenko2007-06-191-1/+3
|
* top,ps: reduce CPU usage in decimal conversion (optional)Denis Vlasenko2007-06-192-2/+60
| | | | | | | text data bss dec hex filename 734651 3040 14416 752107 b79eb busybox_old 734751 3040 14416 752207 b7a4f busybox_unstripped
* ll_map: disable interface name caching codeDenis Vlasenko2007-06-192-40/+51
| | | | | | | | | | | | | | | | | | 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
* defconfig: updateDenis Vlasenko2007-06-191-13/+25
|
* make /etc/network parsing configurable. -200 bytes when off.Denis Vlasenko2007-06-192-4/+13
|
* networking/interface.c: huke remaining big statics; use malloc for ↵Denis Vlasenko2007-06-196-136/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* networking/interface.c: reduce bss usageDenis Vlasenko2007-06-194-52/+62
| | | | | | | | | | | | | | | | | | | | | | | | 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
* libbb: random hunt for staticsDenis Vlasenko2007-06-182-13/+16
| | | | | | | | | | | | | | | | 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
* libpwdgrp/pwd_grp.c: allocate local storage on first call, not in bss. -1k bssDenis Vlasenko2007-06-181-27/+96
| | | | | | | | | | | | | | 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
* ping: fix write-after-allocated-mem bugDenis Vlasenko2007-06-182-37/+32
| | | | | | | | | | | | | | | | | | 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
* fix an obvious typo while trying to access the tv_usec memberMike Frysinger2007-06-181-1/+1
|
* wget: use monotonic_sec instead of gettimeofdayDenis Vlasenko2007-06-178-144/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* hwclock: size optimizationsDenis Vlasenko2007-06-1710-262/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* time: *const str = "xxx" ==> str[] = "xxx"Denis Vlasenko2007-06-171-3/+3
|
* strings: strings a b was processing a twice, fix thatDenis Vlasenko2007-06-171-34/+35
|
* arping: -i should be -IDenis Vlasenko2007-06-172-2/+2
|
* install: fix install a b /a/link/to/dirDenis Vlasenko2007-06-172-4/+15
| | | | | install: fix -s (strip) option nmeter: add TODO
* forgot svn add...Denis Vlasenko2007-06-161-0/+150
|
* remove obsolete commentDenis Vlasenko2007-06-161-2/+1
|
* make FEATURE_HAVE_RPC auto-selectable by mount and inetd sub-featuresDenis Vlasenko2007-06-163-20/+22
|
* pscan: new applet (portscanner). ~1350 bytes. By Tito <farmatito@tiscali.it>Denis Vlasenko2007-06-166-4/+30
| | | | wget: lift 256 chars limitation on terminal width
* find: make -size match GNU findDenis Vlasenko2007-06-164-19/+54
|
* find: add conditional support for -maxdepth and -regexDenis Vlasenko2007-06-153-84/+151
| | | | | | | | | | | | | | | | | (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
* fdisk: fix minor issues with help textDenis Vlasenko2007-06-151-26/+26
|
* - fix test -f ./existsBernhard Reutner-Fischer2007-06-151-3/+8
| | | | 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..
* - vda perfers not to use the bannerBernhard Reutner-Fischer2007-06-151-3/+2
|
* applets/Kbuild: straighten it a bitDenis Vlasenko2007-06-142-9/+12
|
* Alex Landau writes: open firmware for reading, not writingMike Frysinger2007-06-141-1/+1
|
* init: make sure fd 0,1,2 are not closed, + related optimizations.Denis Vlasenko2007-06-143-20/+19
| | | | | | init_main 929 920 -9 bb_daemonize_or_rexec 145 127 -18
* traceroute: stop using floating point needlessly; nuke useless assignment.Denis Vlasenko2007-06-141-14/+9
| | | | | | | .rodata 129308 129312 +4 freehostinfo 35 29 -6 traceroute_main 4308 4300 -8
* minix.h: add very simple test scriptDenis Vlasenko2007-06-131-0/+22
|
* fsck_minix: forgotten bit of previous commit...Denis Vlasenko2007-06-131-0/+1
|
* fsck_minix: stop using data/bssDenis Vlasenko2007-06-132-124/+130
| | | | | | 10847 8 271 11126 2b76 busybox.t2/util-linux/fsck_minix.o 10140 0 0 10140 279c busybox.t3/util-linux/fsck_minix.o
* *: BB_BANNER -> bb_banner (it is not a const or #define)!Denis Vlasenko2007-06-1312-31/+33
| | | | | | | | | | | | correct_password: explain in detail why it is ok to use bb_banner fsck_minix: make it print bb version, not it's own (outdated/irrelevant) one Marginal size difference: text data bss dec hex filename 679119 2700 15632 697451 aa46b busybox_old 679091 2700 15632 697423 aa44f busybox_unstripped
* as suggested by Renaud Cerrato and Souf, switch over to recursive_action() ↵Mike Frysinger2007-06-131-32/+27
| | | | for some nice shrinkage and so we work even when CONFIG_SYSFS_DEPRECATED is off
* add support for firmware loadingMike Frysinger2007-06-132-2/+84
|
* hush: fix read builtin to not read ahead past eol and to not useDenis Vlasenko2007-06-1310-31/+68
| | | | | insane amounts of stack. Testsuite updated.
* remove nearly-duplicate PATHs in several placesDenis Vlasenko2007-06-127-16/+13
| | | | | | | | | | | | | | function old new delta bb_PATH_root_path - 35 +35 varunset 60 58 -2 arith 2042 2033 -9 bb_default_root_login_path 30 - -30 .rodata 128794 128762 -32 which_main 152 117 -35 defpathvar 40 - -40 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 0/4 up/down: 35/-148) Total: -113 bytes
* login: make /etc/nologin support configurable. -240 bytes if not selected.Denis Vlasenko2007-06-124-15/+23
|