aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* slattach: new applet.Denis Vlasenko2007-06-202-0/+15
|
* do not do utime() on links, it acts on link targets, and we don't want that.Denis Vlasenko2007-06-201-12/+10
| | | | | rename link_name to link_target, less confusing this way.
* find: -context support for SELinux (KaiGai Kohei <kaigai@kaigai.gr.jp>)Denis Vlasenko2007-06-191-0/+2
| | | | | | | | | | | 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
* top,ps: 'stringify' tty only when needed. -60 bytes.Denis Vlasenko2007-06-191-3/+2
|
* networking/interface.c: huke remaining big statics; use malloc for ↵Denis Vlasenko2007-06-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-192-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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
* wget: use monotonic_sec instead of gettimeofdayDenis Vlasenko2007-06-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* arping: -i should be -IDenis Vlasenko2007-06-171-1/+1
|
* pscan: new applet (portscanner). ~1350 bytes. By Tito <farmatito@tiscali.it>Denis Vlasenko2007-06-162-0/+11
| | | | wget: lift 256 chars limitation on terminal width
* find: make -size match GNU findDenis Vlasenko2007-06-161-14/+17
|
* find: add conditional support for -maxdepth and -regexDenis Vlasenko2007-06-151-32/+36
| | | | | | | | | | | | | | | | | (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
|
* *: BB_BANNER -> bb_banner (it is not a const or #define)!Denis Vlasenko2007-06-131-3/+2
| | | | | | | | | | | | 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
* hush: fix read builtin to not read ahead past eol and to not useDenis Vlasenko2007-06-131-0/+4
| | | | | insane amounts of stack. Testsuite updated.
* remove nearly-duplicate PATHs in several placesDenis Vlasenko2007-06-121-2/+3
| | | | | | | | | | | | | | 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-121-2/+0
|
* diff: shrink code (-85 bytes):Denis Vlasenko2007-06-123-28/+28
| | | | | | | | | | | | function old new delta fiddle_sum 8 - -8 diffreg 2717 2690 -27 prepare 334 284 -50 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-85) Total: -85 bytes s/ATTRIBUTE_ALWAYS_INLINE/ALWAYS_INLINE/g
* A few more string duplicates found & eliminatedDenis Vlasenko2007-06-121-0/+4
| | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 679693 2700 15632 698025 aa6a9 busybox_old 679523 2700 15632 697855 aa5ff busybox_unstripped
* make busybox --install work even if /proc/self/exe doesn't existDenis Vlasenko2007-06-081-0/+1
| | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 680095 2704 15648 698447 aa84f busybox_old 680099 2704 15648 698451 aa853 busybox_unstripped
* rmp: add optional support for bz2 data. +50 bytes of codeDenis Vlasenko2007-06-081-4/+4
|
* ps: fix -Z (by Yuichi Nakamura <ynakam@hitachisoft.jp>)Denis Vlasenko2007-06-061-0/+4
|
* nc: make connecting to IPv4 from IPv6-enabled hosts easierDenis Vlasenko2007-06-051-3/+6
| | | | (was requiring -s <local addr>)
* uudecode: fix to base64 decode by Jorgen Cederlof <jcz@google.com>Denis Vlasenko2007-06-041-6/+5
| | | | | | | | | | | | | | | improved help texts # make bloatcheck function old new delta .rodata 127000 127032 +32 packed_usage 22156 22151 -5 uudecode_main 360 348 -12 uuencode_main 490 468 -22 read_base64 283 254 -29 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/4 up/down: 32/-68) Total: -36 bytes
* Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko2007-06-041-1/+2
| | | | | | tr: stop using globals needlessly. code: -103 bytes
* delete tons of extra #includesDenis Vlasenko2007-05-311-1/+1
|
* use "glibc errno" trick not only for ash, but for entire busyboxDenis Vlasenko2007-05-311-0/+8
| | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
* whitespace fixesDenis Vlasenko2007-05-302-6/+6
|
* xpipe: introduce (saves ~170 bytes)Denis Vlasenko2007-05-261-1/+1
| | | | | udhcp/signalpipe.c: use pipe instead of socketpair.
* hush: fix handling of unmatched ${name (without closing '}') -Denis Vlasenko2007-05-241-0/+1
| | | | | | | was eating all remaining input, potentially megabytes. nofork: save/restore die_jmp too nofork: use -2222 instead of -111 as "special" return valur for zero (-111 is used by some applets. -2222 won't fit in exitcode and thus safer)
* cttyhack: new applet.Denis Vlasenko2007-05-181-0/+1
|
* fix trivial compile errors found by randomconfig runDenis Vlasenko2007-05-171-0/+6
|
* netstat: introduce -W: wide, ipv6-friendly outputDenis Vlasenko2007-05-151-12/+14
| | | | | | | netstat: shrink by ~500 bytes (patch by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>) netstat: fix for bogus state value for raw sockets
* cryptpw: new applet (a bit less than 3k added)Denis Vlasenko2007-05-083-0/+10
| | | | | (by Thomas Lundquist <lists@zelow.no>)
* fix -Werror compileDenis Vlasenko2007-05-041-1/+5
|
* ash,kill: use common code for kill applet/builtinDenis Vlasenko2007-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | # make bloatcheck function old new delta evaltreenr 644 654 +10 evaltree 644 654 +10 parse_conf 1440 1444 +4 dpkg_deb_main 426 429 +3 ed_main 3319 3321 +2 passwd_main 2093 2091 -2 kill_main 830 826 -4 singlemount 4609 4601 -8 find_command 962 954 -8 get_lcm 123 105 -18 .rodata 132243 132147 -96 killcmd 449 120 -329 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/7 up/down: 29/-465) Total: -436 bytes # size busybox_old busybox_unstripped text data bss dec hex filename 723901 2940 27504 754345 b82a9 busybox_old 723457 2940 27504 753901 b80ed busybox_unstripped
* hush: fix nofork + ctrl-Z clobbering of globalsDenis Vlasenko2007-04-281-2/+12
|
* procps: remove all global variablesDenis Vlasenko2007-04-191-2/+2
| | | | | | | | text data bss dec hex filename 1462 14 24 1500 5dc busybox.t2/procps/ps.o 1484 0 0 1484 5cc busybox.t3/procps/ps.o 3122 0 252 3374 d2e busybox.t1/procps/top.o 3117 0 0 3117 c2d busybox.t3/procps/top.o
* ps: add -o tty and -o rss supportDenis Vlasenko2007-04-191-6/+11
| | | | | 1373 14 24 1411 583 busybox.t1/procps/ps.o 1462 14 24 1500 5dc busybox.t2/procps/ps.o
* style fixes, no code changesDenis Vlasenko2007-04-161-1/+2
|
* deluser: add optional support for removing users from groupsDenis Vlasenko2007-04-151-2/+3
| | | | (by Tito <farmatito@tiscali.it>)
* hush: use NOFORK applets as appropriate. Net reduction of code size.Denis Vlasenko2007-04-141-32/+32
|
* teach find_root_device to deal with /dev/ subdirsDenis Vlasenko2007-04-131-0/+1
| | | | (by "Kirill K. Smirnov" <lich@math.spbu.ru>)
* style fixesDenis Vlasenko2007-04-132-11/+11
|
* find: add support for -delete, -path (by Natanael Copa)Denis Vlasenko2007-04-131-0/+4
|
* login: remove setpgrp call (makes it work from shell prompt again).Denis Vlasenko2007-04-121-3/+3
| | | | | login: sanitize stdio descriptors (we are suid, need to be careful!) shrink login and set_environment by ~100 bytes.
* - add xsendto and use where appropriate; shrink iplink; sanitize libiproute ↵Bernhard Reutner-Fischer2007-04-121-0/+2
| | | | | | a bit. -916 byte
* bb_full_fd_action: remove potential xmalloc from NOFORK pathDenis Vlasenko2007-04-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes
* rename: run_applet_by_name -> run_applet_and_exitDenis Vlasenko2007-04-111-1/+1
|
* fix typo in commentDenis Vlasenko2007-04-111-2/+2
|