Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | init: fix bug 1111: restart actions were not splitting words: | Denis Vlasenko | 2008-02-19 | 1 | -102/+87 | |
| | | | | | | | ::restart:/sbin/rc restart resulted in: exec of '/sbin/rc restart' failed: No such file or directory | |||||
* | libbb: introduce bb_signals and bb_signals_recursive, | Denis Vlasenko | 2008-02-16 | 1 | -19/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | which sets same handler for many signals. sig_catch is nuked (bb_signals_recursive is more descriptive name). *: use them as appropriate. function old new delta bb_signals_recursive - 95 +95 bb_signals - 52 +52 run_command 258 273 +15 svlogd_main 1368 1377 +9 runsv_main 1746 1752 +6 runsvdir_main 1643 1646 +3 UNSPEC_print 64 66 +2 time_main 1128 1127 -1 ... resize_main 246 210 -36 sig_catch 63 - -63 set_fatal_sighandler 85 14 -71 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 5/24 up/down: 182/-548) Total: -366 bytes | |||||
* | init: allow last line to be not terminated by '\n' | Denis Vlasenko | 2008-01-29 | 1 | -3/+3 | |
| | ||||||
* | - fix conflicting decls of syslog related facilitynames and prioritynames tables | Bernhard Reutner-Fischer | 2008-01-27 | 1 | -1/+1 | |
| | ||||||
* | init: wait for orphaned children too while waiting | Denis Vlasenko | 2008-01-04 | 1 | -3/+9 | |
| | | | | | for sysinit-like processes (Harald Küthe <harald-tuxbox@arcor.de>) | |||||
* | libbb: introduce and use safe_waitpid (loops in EINTR) | Denis Vlasenko | 2008-01-02 | 1 | -17/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | *: use more approproate (shorter) versions of wait() function old new delta safe_waitpid - 48 +48 wait_any_nohang - 17 +17 send_tree 365 369 +4 processorstop 432 435 +3 text_yank 110 108 -2 make_human_readable_str 202 200 -2 crond_main 1368 1366 -2 handle_sigchld 49 43 -6 reapchild 166 159 -7 custom 260 250 -10 checkscript 191 177 -14 wait_nohang 17 - -17 wait_pid 43 - -43 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 2/7 up/down: 72/-103) Total: -31 bytes | |||||
* | init: don't spawn tons of waiting children, one is enough | Denis Vlasenko | 2007-12-26 | 1 | -39/+47 | |
| | | | | | | | | | init: shrink signal disabling code init: rename some functions text data bss dec hex filename 778657 832 7344 786833 c0191 busybox_old 778445 832 7344 786621 c00bd busybox_unstripped | |||||
* | init: sometimes, #ifdefs are cleaner. | Denis Vlasenko | 2007-12-25 | 1 | -22/+13 | |
| | ||||||
* | convert #if to if -- let gcc optimize away dead code for us | Mike Frysinger | 2007-12-25 | 1 | -131/+108 | |
| | ||||||
* | init: add FEATURE_KILL_REMOVED (Eugene Bordenkircher <eugebo@gmail.com>) | Denis Vlasenko | 2007-12-25 | 1 | -63/+54 | |
| | | | | | init: slight size optimization | |||||
* | cttyhack: add missing ';' | Denis Vlasenko | 2007-12-10 | 1 | -5/+7 | |
| | | | | | init: remove pointless access() check | |||||
* | init: remove superfluous forks and messing up with argv[0] | Denis Vlasenko | 2007-12-10 | 1 | -124/+122 | |
| | | | | | cttyhack: add stealing of ctty | |||||
* | syslogd: use DEV_CONSOLE consistently | Denis Vlasenko | 2007-11-18 | 1 | -4/+0 | |
| | | | | | init: remove obsolete comment | |||||
* | init: fix bug 1584: improper check for fork error | Denis Vlasenko | 2007-11-10 | 1 | -2/+1 | |
| | ||||||
* | fbset: fix buglet where we were using wrong pointer | Denis Vlasenko | 2007-11-06 | 1 | -2/+4 | |
| | | | | | | readahead: stop using stdio.h *: style fixes | |||||
* | add -fvisibility=hidden to CC flags, mark XXX_main functions | Denis Vlasenko | 2007-10-11 | 1 | -1/+1 | |
| | | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so | |||||
* | introduce and use close_on_exec_on(fd). -50 bytes. | Denis Vlasenko | 2007-09-30 | 1 | -1/+1 | |
| | ||||||
* | *: kill bb_get_last_path_component, replace with two functions | Denis Vlasenko | 2007-09-24 | 1 | -2/+3 | |
| | | | | | | | | | (one which strips trailing slash and one which does not) wget: straighten out as a result of above change text data bss dec hex filename 5056 1 0 5057 13c1 busybox.t4/networking/wget.o 5022 0 0 5022 139e busybox.t5/networking/wget.o | |||||
* | trylink: produce even more info about final link stage | Denis Vlasenko | 2007-08-12 | 1 | -3/+3 | |
| | | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k | |||||
* | init: make sure fd 0,1,2 are not closed, + related optimizations. | Denis Vlasenko | 2007-06-14 | 1 | -12/+10 | |
| | | | | | | init_main 929 920 -9 bb_daemonize_or_rexec 145 127 -18 | |||||
* | *: BB_BANNER -> bb_banner (it is not a const or #define)! | Denis Vlasenko | 2007-06-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | 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 | |||||
* | remove nearly-duplicate PATHs in several places | Denis Vlasenko | 2007-06-12 | 1 | -5/+1 | |
| | | | | | | | | | | | | | | 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 | |||||
* | delete tons of extra #includes | Denis Vlasenko | 2007-05-31 | 1 | -3/+3 | |
| | ||||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 1 | -1/+1 | |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | |||||
* | style fixes. No code changes | Denis Vlasenko | 2007-04-12 | 1 | -1/+1 | |
| | ||||||
* | random style fixes (extra spaces deleted) | Denis Vlasenko | 2007-03-24 | 1 | -2/+1 | |
| | ||||||
* | decouple INIT and SYSLOGD (patch by Eric Spakman E.Spakman@inter.nl.net) | Denis Vlasenko | 2007-03-05 | 1 | -5/+5 | |
| | ||||||
* | init: fix handling of stdio file descriptors | Denis Vlasenko | 2007-03-05 | 1 | -10/+10 | |
| | ||||||
* | init: de-indent a block of code | Denis Vlasenko | 2007-02-27 | 1 | -143/+139 | |
| | ||||||
* | init: trivial compile fix | Denis Vlasenko | 2007-02-27 | 1 | -2/+2 | |
| | ||||||
* | init: stop doing silly things with the console (-400 bytes) | Denis Vlasenko | 2007-02-21 | 1 | -217/+131 | |
| | | | | init_shared.[ch]: unused, thus deleted | |||||
* | init: code readability enhancements; very small code changes | Denis Vlasenko | 2007-02-17 | 1 | -52/+52 | |
| | ||||||
* | - whitespace cleanup and add a possible shrinkage suggestion | Bernhard Reutner-Fischer | 2007-02-16 | 1 | -3/+4 | |
| | ||||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 1 | -0/+1 | |
| | | | | no preceding prototype | |||||
* | assorted fixes for bugs found with randomconfig | Denis Vlasenko | 2007-02-03 | 1 | -1/+1 | |
| | ||||||
* | lineedit: add missing #if/#endif | Denis Vlasenko | 2007-02-03 | 1 | -5/+4 | |
| | | | | init: fix warnings | |||||
* | Add BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETS | Denis Vlasenko | 2007-02-03 | 1 | -14/+3 | |
| | | | | (patch from Gabriel L. Somlo <somlo@cmu.edu>) | |||||
* | preparatory patch for -Wwrite-strings #3 | Denis Vlasenko | 2007-01-29 | 1 | -8/+8 | |
| | ||||||
* | Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our own | Denis Vlasenko | 2007-01-21 | 1 | -9/+20 | |
| | | | | | | executable if we asked to exec someting with argv[0] == known_applet" Use it in init. Also respect PATH in init, remove explicit "/sbin" etc from exec. Patch by Gabriel L. Somlo <somlo@cmu.edu> | |||||
* | convert calloc to xzalloc | Denis Vlasenko | 2007-01-03 | 1 | -26/+26 | |
| | | | | fix sleep-on-die option | |||||
* | style fixes | Denis Vlasenko | 2006-12-26 | 1 | -3/+3 | |
| | | | | last xcalloc replaced by xzalloc | |||||
* | introduce LONE_CHAR (optimized strcmp with one-char string) | Denis Vlasenko | 2006-12-21 | 1 | -2/+3 | |
| | ||||||
* | reshuffle libbb.h contents so that order of decls makes sense | Denis Vlasenko | 2006-10-27 | 1 | -1/+1 | |
| | | | | Found bad typo in largefile support :) | |||||
* | message string changes, mostly for consistency, also -32 bytes in .rodata | Denis Vlasenko | 2006-10-20 | 1 | -2/+2 | |
| | ||||||
* | add open_read_close() and similar stuff | Denis Vlasenko | 2006-10-14 | 1 | -1/+1 | |
| | ||||||
* | bb_applet_name -> applet_name | Denis Vlasenko | 2006-10-03 | 1 | -2/+2 | |
| | ||||||
* | usage.h: remove ugly tricks. We have USE_FEATURE_xxx now. | Denis Vlasenko | 2006-09-27 | 1 | -1/+1 | |
| | | | | Few bugs are now exposed... | |||||
* | Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damage | Rob Landley | 2006-08-29 | 1 | -4/+1 | |
| | | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit). | |||||
* | Cleaup read() and write() variants, plus a couple of new functions like | Rob Landley | 2006-07-16 | 1 | -3/+3 | |
| | | | | xlseek and fdlength() for the new mkswap. | |||||
* | Patch from Shaun Jackman to set environment variable RUNLEVEL equal to | Rob Landley | 2006-07-09 | 1 | -19/+3 | |
| | | | | | | | init's argv[1], so if you append "single" to your kernel command line and the kernel doesn't parse it, RUNLELEL=single. Plus a few unrelated header cleanups while I was in the area... |