Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | uudecode: nuke duplicate base64_table[]. saves 65 bytes | Denis Vlasenko | 2007-06-12 | 1 | -2/+3 | |
| | ||||||
* | - use bb_msg_full_version instead of a separate string. Saves a minor 3 bytes. | Bernhard Reutner-Fischer | 2007-06-11 | 1 | -2/+2 | |
| | ||||||
* | top: add config option and code for global CPU % display | Denis Vlasenko | 2007-06-10 | 1 | -2/+9 | |
| | ||||||
* | moved biggest stack buffers to malloc space, or made their size configurable | Denis Vlasenko | 2007-06-10 | 2 | -23/+34 | |
| | | | | | | | | | | | | | | | | | (8k of shell line edit buffer is an overkill) # make ARCH=i386 bloatcheck function old new delta read_line_input 3933 3967 +34 ifaddrlist 348 345 -3 do_loadfont 208 191 -17 edit_file 840 819 -21 .rodata 129112 129080 -32 uncompress 1305 1268 -37 loadfont_main 566 495 -71 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 34/-181) Total: -147 bytes | |||||
* | login: ask passwords even for wrong usernames. | Denis Vlasenko | 2007-06-08 | 1 | -3/+8 | |
| | | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 680099 2704 15648 698451 aa853 busybox_old 680110 2704 15648 698462 aa85e busybox_unstripped | |||||
* | make busybox --install work even if /proc/self/exe doesn't exist | Denis Vlasenko | 2007-06-08 | 3 | -4/+5 | |
| | | | | | | | | # 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 | |||||
* | ps: fix -Z (by Yuichi Nakamura <ynakam@hitachisoft.jp>) | Denis Vlasenko | 2007-06-06 | 1 | -1/+10 | |
| | ||||||
* | nc: make connecting to IPv4 from IPv6-enabled hosts easier | Denis Vlasenko | 2007-06-05 | 1 | -12/+20 | |
| | | | | (was requiring -s <local addr>) | |||||
* | Audit bb_common_bufsiz usage, add script which looks for misuse. | Denis Vlasenko | 2007-06-04 | 1 | -1/+1 | |
| | | | | | | tr: stop using globals needlessly. code: -103 bytes | |||||
* | delete tons of extra #includes | Denis Vlasenko | 2007-05-31 | 13 | -38/+4 | |
| | ||||||
* | use "glibc errno" trick not only for ash, but for entire busybox | Denis Vlasenko | 2007-05-31 | 4 | -23/+3 | |
| | | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes | |||||
* | whitespace fixes | Denis Vlasenko | 2007-05-30 | 2 | -2/+2 | |
| | ||||||
* | verror_msg: don't printf(NULL) | Denis Vlasenko | 2007-05-29 | 1 | -3/+8 | |
| | ||||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 4 | -4/+4 | |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | |||||
* | xpipe: introduce (saves ~170 bytes) | Denis Vlasenko | 2007-05-26 | 1 | -14/+18 | |
| | | | | | udhcp/signalpipe.c: use pipe instead of socketpair. | |||||
* | hush: fix handling of unmatched ${name (without closing '}') - | Denis Vlasenko | 2007-05-24 | 2 | -4/+7 | |
| | | | | | | | 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) | |||||
* | more compile fixes from randomconfig run | Denis Vlasenko | 2007-05-17 | 1 | -0/+2 | |
| | ||||||
* | fix trivial compile errors found by randomconfig run | Denis Vlasenko | 2007-05-17 | 1 | -0/+1 | |
| | ||||||
* | cryptpw: forgot svn add... how typical of me :( | Denis Vlasenko | 2007-05-08 | 2 | -5/+50 | |
| | ||||||
* | cryptpw: new applet (a bit less than 3k added) | Denis Vlasenko | 2007-05-08 | 2 | -1/+5 | |
| | | | | | (by Thomas Lundquist <lists@zelow.no>) | |||||
* | fix suid config handling | Denis Vlasenko | 2007-05-02 | 1 | -2/+2 | |
| | ||||||
* | test: code size saving, no logic changes | Denis Vlasenko | 2007-05-01 | 1 | -22/+126 | |
| | | | | | | | | | | | | | | | ps: fix warning, make a bit smaller kill -l: make smaller & know much more signals function old new delta get_signum 121 153 +32 kill_main 826 843 +17 get_signame 44 36 -8 signals 252 224 -28 .rodata 131955 131923 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/3 up/down: 49/-68) Total: -19 bytes | |||||
* | hush: fix nofork + ctrl-Z clobbering of globals | Denis Vlasenko | 2007-04-28 | 1 | -12/+29 | |
| | ||||||
* | find_root_device: use lstat - don't follow links | Denis Vlasenko | 2007-04-21 | 1 | -1/+2 | |
| | ||||||
* | hush: begin fixing non-functional job control | Denis Vlasenko | 2007-04-21 | 1 | -2/+4 | |
| | ||||||
* | procps: remove all global variables | Denis Vlasenko | 2007-04-19 | 2 | -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 support | Denis Vlasenko | 2007-04-19 | 1 | -7/+23 | |
| | | | | | 1373 14 24 1411 583 busybox.t1/procps/ps.o 1462 14 24 1500 5dc busybox.t2/procps/ps.o | |||||
* | loop device code: readability improvement | Denis Vlasenko | 2007-04-19 | 1 | -10/+14 | |
| | ||||||
* | lineedit: state->hist_file doesn't exist if !FEATURE_EDITING_SAVEHISTORY, | Denis Vlasenko | 2007-04-15 | 1 | -0/+2 | |
| | | | | #ifdef it out | |||||
* | lineedit: nuke two unused variables and code which sets them | Denis Vlasenko | 2007-04-14 | 1 | -9/+0 | |
| | | | | | | applets: do not even try to read config if run by real root msh: use named constants (O_RDONLY etc) in open() instead of magic numbers, other minor code size reduction. | |||||
* | lineedit: do not try to open NULL history file | Denis Vlasenko | 2007-04-14 | 1 | -2/+2 | |
| | ||||||
* | hush: use NOFORK applets as appropriate. Net reduction of code size. | Denis Vlasenko | 2007-04-14 | 1 | -41/+48 | |
| | ||||||
* | teach find_root_device to deal with /dev/ subdirs | Denis Vlasenko | 2007-04-13 | 3 | -15/+57 | |
| | | | | (by "Kirill K. Smirnov" <lich@math.spbu.ru>) | |||||
* | make xsocket die with address family printed (if VERBOSE_RESOLUTION_ERRORS=y) | Denis Vlasenko | 2007-04-13 | 1 | -1/+12 | |
| | ||||||
* | login: remove setpgrp call (makes it work from shell prompt again). | Denis Vlasenko | 2007-04-12 | 2 | -15/+4 | |
| | | | | | login: sanitize stdio descriptors (we are suid, need to be careful!) shrink login and set_environment by ~100 bytes. | |||||
* | pass a copy of argv[i] to NOFORK applets (they may permute it etc). | Denis Vlasenko | 2007-04-12 | 1 | -14/+18 | |
| | | | | set/save/restore more shared global variables whan call one applet from another | |||||
* | - add xsendto and use where appropriate; shrink iplink; sanitize libiproute ↵ | Bernhard Reutner-Fischer | 2007-04-12 | 1 | -0/+16 | |
| | | | | | | a bit. -916 byte | |||||
* | style fixes. No code changes | Denis Vlasenko | 2007-04-12 | 5 | -17/+14 | |
| | ||||||
* | bb_full_fd_action: remove potential xmalloc from NOFORK path | Denis Vlasenko | 2007-04-11 | 4 | -19/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | fix misplaced #if | Denis Vlasenko | 2007-04-11 | 1 | -1/+1 | |
| | ||||||
* | add more convenient defines for [NO]MMU: | Denis Vlasenko | 2007-04-11 | 1 | -15/+10 | |
| | | | | "#ifndef BB_NOMMU" is a double negative | |||||
* | random NOMMU fixes. compressed --help really does work for NOMMU! /me happy | Denis Vlasenko | 2007-04-10 | 1 | -0/+3 | |
| | ||||||
* | Rename two config options: | Denis Vlasenko | 2007-04-10 | 5 | -9/+14 | |
| | | | | | | | FEATURE_SH_STANDALONE_SHELL => FEATURE_SH_STANDALONE FEATURE_EXEC_PREFER_APPLETS => FEATURE_PREFER_APPLETS Make SH_STANDALONE depend on PREFER_APPLETS. getopt.c: more randomconfig-induced fixes | |||||
* | make compressed help code NOMMU- and NOFORK-friendly - | Denis Vlasenko | 2007-04-10 | 3 | -101/+59 | |
| | | | | no forking anymore, bunzip2 unpack routine now does all it in memory. | |||||
* | make a few struct bb_applet members conditional | Denis Vlasenko | 2007-04-10 | 8 | -28/+49 | |
| | | | | | | rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig | |||||
* | audit small applets and mark some of them as NOFORK. | Denis Vlasenko | 2007-04-10 | 5 | -10/+14 | |
| | | | | | Put big scary warnings in relevant places. | |||||
* | style fixes. No code changes. | Denis Vlasenko | 2007-04-10 | 1 | -1/+1 | |
| | ||||||
* | - add libbb function str_tolower to convert a string to lowercase. | Bernhard Reutner-Fischer | 2007-04-10 | 2 | -0/+14 | |
| | | | | - shrink wget a bit | |||||
* | make xfunctions optionally longjump instead of exit. | Denis Vlasenko | 2007-04-09 | 5 | -12/+31 | |
| | | | | | use it for making NOFORK more practical. touch: make it a NOFORK applet | |||||
* | factor out NOFORK/NOEXEC code from find. Use it for xargs too. | Denis Vlasenko | 2007-04-09 | 1 | -3/+39 | |
| |