Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-30 | introduce and use close_on_exec_on(fd). -50 bytes. | Denis Vlasenko | |
2007-09-24 | *: kill bb_get_last_path_component, replace with two functions | Denis Vlasenko | |
(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 | |||
2007-08-18 | don't pass argc in getopt32, it's superfluous | Denis Vlasenko | |
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped | |||
2007-08-12 | trylink: produce even more info about final link stage | Denis Vlasenko | |
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 | |||
2007-06-14 | init: 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-13 | *: BB_BANNER -> bb_banner (it is not a const or #define)! | Denis Vlasenko | |
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 | |||
2007-06-12 | remove nearly-duplicate PATHs in several places | Denis Vlasenko | |
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 | |||
2007-05-31 | delete tons of extra #includes | Denis Vlasenko | |
2007-05-26 | usage.c: remove reference to busybox.h | Denis Vlasenko | |
*: s/include "busybox.h"/include "libbb.h" | |||
2007-04-12 | style fixes. No code changes | Denis Vlasenko | |
2007-04-04 | - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" | Bernhard Reutner-Fischer | |
2007-03-24 | random style fixes (extra spaces deleted) | Denis Vlasenko | |
2007-03-05 | decouple INIT and SYSLOGD (patch by Eric Spakman E.Spakman@inter.nl.net) | Denis Vlasenko | |
2007-03-05 | init: fix handling of stdio file descriptors | Denis Vlasenko | |
2007-02-27 | init: de-indent a block of code | Denis Vlasenko | |
2007-02-27 | init: trivial compile fix | Denis Vlasenko | |
2007-02-21 | init: stop doing silly things with the console (-400 bytes) | Denis Vlasenko | |
init_shared.[ch]: unused, thus deleted | |||
2007-02-17 | init: code readability enhancements; very small code changes | Denis Vlasenko | |
2007-02-16 | - whitespace cleanup and add a possible shrinkage suggestion | Bernhard Reutner-Fischer | |
2007-02-03 | suppress warnings about easch <applet>_main() having | Denis Vlasenko | |
no preceding prototype | |||
2007-02-03 | assorted fixes for bugs found with randomconfig | Denis Vlasenko | |
2007-02-03 | lineedit: add missing #if/#endif | Denis Vlasenko | |
init: fix warnings | |||
2007-02-03 | Add BB_EXEC[LV]P() which encapsulate FEATURE_EXEC_PREFER_APPLETS | Denis Vlasenko | |
(patch from Gabriel L. Somlo <somlo@cmu.edu>) | |||
2007-01-29 | preparatory patch for -Wwrite-strings #3 | Denis Vlasenko | |
2007-01-29 | preparatory patch for -Wwrite-strings #2 | Denis Vlasenko | |
2007-01-21 | Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our own | Denis Vlasenko | |
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> | |||
2007-01-03 | convert calloc to xzalloc | Denis Vlasenko | |
fix sleep-on-die option | |||
2006-12-26 | style fixes | Denis Vlasenko | |
last xcalloc replaced by xzalloc | |||
2006-12-21 | introduce LONE_CHAR (optimized strcmp with one-char string) | Denis Vlasenko | |
2006-11-01 | PID should be stored in pid_t, not int or long. | Denis Vlasenko | |
find_pid_by_name() was returning 0 or -1 in last array element, but -1 was never checked. We can use just 0 intead. | |||
2006-10-27 | reshuffle libbb.h contents so that order of decls makes sense | Denis Vlasenko | |
Found bad typo in largefile support :) | |||
2006-10-20 | message string changes, mostly for consistency, also -32 bytes in .rodata | Denis Vlasenko | |
2006-10-14 | add open_read_close() and similar stuff | Denis Vlasenko | |
2006-10-08 | attempt to regularize atoi mess. | Denis Vlasenko | |
2006-10-05 | build system overhaul | Denis Vlasenko | |
2006-10-03 | bb_applet_name -> applet_name | Denis Vlasenko | |
2006-10-03 | getopt_ulflags -> getopt32. | Denis Vlasenko | |
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit. | |||
2006-09-27 | usage.h: remove ugly tricks. We have USE_FEATURE_xxx now. | Denis Vlasenko | |
Few bugs are now exposed... | |||
2006-09-22 | Change license statements (and clean up headers) on some of the files that | Rob Landley | |
Erik or I are primary copyright holders on. | |||
2006-09-07 | Add CONFIG_FEATURE_SYSLOG which controls whether | Denis Vlasenko | |
bb_xx_msg will ever try to send output to syslog. Add "select CONFIG_FEATURE_SYSLOG" to relevant applets. This allows to omit syslog code if we do not have any syslog-capable applets in the build. | |||
2006-08-29 | Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damage | Rob Landley | |
(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). | |||
2006-07-16 | Cleaup read() and write() variants, plus a couple of new functions like | Rob Landley | |
xlseek and fdlength() for the new mkswap. | |||
2006-07-09 | Patch from Shaun Jackman to set environment variable RUNLEVEL equal to | Rob Landley | |
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... | |||
2006-07-01 | More removal of "#if 0" content. | "Robert P. J. Day" | |
2006-06-02 | - move #include busybox.h to the very top so we pull in the config | Bernhard Reutner-Fischer | |
and eventual platform specific includes in early. | |||
2006-06-02 | - fix CONFIG_DEBUG_INIT compile failure | Bernhard Reutner-Fischer | |
2006-06-01 | make halt and poweroff messages more accurate (i.e., claim "we're about to", | Paul Fox | |
rather than "it's done", and combine with reboot handler to save space. | |||
2006-05-31 | - fix IMA compile error i introduced when adding this untested snippet. | Bernhard Reutner-Fischer | |
2006-05-30 | - consolidate "Sending SIG%s to all processes"; untested.. | Bernhard Reutner-Fischer | |
text data bss dec hex filename 5379 32 8 5419 152b init/init.o.oorig 5358 32 8 5398 1516 init/init.o | |||
2006-05-30 | - remove useless variable "status" from init_main. | Bernhard Reutner-Fischer | |
http://www.opengroup.org/onlinepubs/009695399/functions/waitpid.html suggests that we need not specify a status if we don't want, and we don't. "If wait() or waitpid() return because the status of a child process is available, these functions shall return a value equal to the process ID of the child process. In this case, if the value of the argument stat_loc is not a null pointer, information shall be stored in the location pointed to by stat_loc. " text data bss dec hex filename 5391 32 8 5431 1537 init/init.o.06 5379 32 8 5419 152b init/init.o |