Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-10 | Move applets/applet.c into libbb, allows to get rid of --whole-archive | Denis Vlasenko | |
(smaller code). Tested in static and shared mode. | |||
2007-10-10 | get rid of global "struct bb_applet *current_applet" | Denis Vlasenko | |
2007-10-07 | make --help work for "individual applets" too. | Denis Vlasenko | |
2007-10-07 | libbusybox: move (possibly compressed) help stuff into libbusybox. | Denis Vlasenko | |
Makes individual binaries much smaller. | |||
2007-10-01 | 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>. | Denis Vlasenko | |
263 bytes saved. | |||
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-09-20 | remove stray 8-bit chars from copyright banner | Denis Vlasenko | |
2007-09-05 | busybox --install -s: prevent puzzling "/bin/busybox: Invalid argument" message | Denis Vlasenko | |
libbb: comment out realpath, add readlink which doesn't warn | |||
2007-08-25 | support "#!/bin/busybox"-style wrappers. Needed for SELinux. | Denis Vlasenko | |
Patch by Yuichi Nakamura <ynakam@hitachisoft.jp> | |||
2007-08-17 | assorted fixes for breakage found by randomconfig | Denis Vlasenko | |
2007-08-12 | fix out-of-source-tree build | Denis Vlasenko | |
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-07-21 | style fix (stray space before ';') | Denis Vlasenko | |
2007-06-30 | introduce and use bb_basename() | Denis Vlasenko | |
function old new delta bb_basename - 26 +26 sv_main 1226 1225 -1 passwd_main 1985 1983 -2 showdirs 482 478 -4 sendCgi 1811 1807 -4 make_device 1354 1350 -4 handleIncoming 2443 2439 -4 func_name 82 78 -4 service_name 2292 2285 -7 main 909 901 -8 cmp_main 555 547 -8 test_main 434 422 -12 act 228 216 -12 find_pair 180 164 -16 rmmod_main 298 280 -18 find_pid_by_name 156 134 -22 modprobe_main 1606 1576 -30 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/16 up/down: 26/-156) Total: -130 bytes text data bss dec hex filename 734933 3028 14400 752361 b7ae9 busybox_old 734801 3028 14400 752229 b7a65 busybox_unstripped | |||
2007-06-25 | Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵ | Denis Vlasenko | |
<wharms@bfs.de>) | |||
2007-06-14 | applets/Kbuild: straighten it a bit | Denis Vlasenko | |
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 | fix "--help prints usage for wrong applet" bug | Denis Vlasenko | |
2007-06-08 | make busybox --install work even if /proc/self/exe doesn't exist | Denis Vlasenko | |
# 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 | |||
2007-05-31 | use "glibc errno" trick not only for ash, but for entire busybox | Denis Vlasenko | |
(add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes | |||
2007-05-26 | usage.c: remove reference to busybox.h | Denis Vlasenko | |
*: s/include "busybox.h"/include "libbb.h" | |||
2007-05-18 | make "static linking against glibc" an #error, not #warning | Denis Vlasenko | |
2007-05-04 | applets: fix compile-time warning | Denis Vlasenko | |
2007-05-02 | fix suid config handling | Denis Vlasenko | |
2007-04-18 | make "busybox" w/o args work again, and save 10 bytes in the process. | Denis Vlasenko | |
2007-04-16 | applet.c: ruid is needed only if FEATURE_SUID=y | Denis Vlasenko | |
2007-04-16 | - we unconditionally need ruid. Fixes build error in line 334 | Bernhard Reutner-Fischer | |
2007-04-14 | lineedit: nuke two unused variables and code which sets them | Denis Vlasenko | |
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. | |||
2007-04-14 | hush: use NOFORK applets as appropriate. Net reduction of code size. | Denis Vlasenko | |
2007-04-12 | pass a copy of argv[i] to NOFORK applets (they may permute it etc). | Denis Vlasenko | |
set/save/restore more shared global variables whan call one applet from another | |||
2007-04-12 | style fixes. No code changes | Denis Vlasenko | |
2007-04-11 | rename: run_applet_by_name -> run_applet_and_exit | Denis Vlasenko | |
2007-04-11 | add more convenient defines for [NO]MMU: | Denis Vlasenko | |
"#ifndef BB_NOMMU" is a double negative | |||
2007-04-10 | random NOMMU fixes. compressed --help really does work for NOMMU! /me happy | Denis Vlasenko | |
2007-04-10 | make compressed help code NOMMU- and NOFORK-friendly - | Denis Vlasenko | |
no forking anymore, bunzip2 unpack routine now does all it in memory. | |||
2007-04-10 | make a few struct bb_applet members conditional | Denis Vlasenko | |
rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig | |||
2007-04-10 | - very minor shrinkage (-3b) | Bernhard Reutner-Fischer | |
2007-04-09 | make xfunctions optionally longjump instead of exit. | Denis Vlasenko | |
use it for making NOFORK more practical. touch: make it a NOFORK applet | |||
2007-04-09 | busybox: fix "<applet>: applet not found" message | Denis Vlasenko | |
2007-04-09 | Improve STANDALONE_SHELL. "safe" applets are renamed NOEXEC applets | Denis Vlasenko | |
and now this fact is recorded in applets.h, not ash.c. Several fixes to "--help + STANDALONE_SHELL" scenarios. function old new delta run_current_applet_and_exit - 355 +355 arith 2064 2073 +9 refresh 1148 1156 +8 getopt32 1068 1073 +5 telnet_main 1510 1514 +4 md5_sha1_sum_main 565 566 +1 xstrtoul_range_sfx 255 251 -4 packed_usage 22523 22514 -9 tryexec 255 203 -52 static.safe_applets 152 - -152 .rodata 131320 131128 -192 run_applet_by_name 869 506 -363 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 5/5 up/down: 382/-772) Total: -390 bytes ./busybox ash -c 'i=20000; while test $i != 0; do touch z; i=$((i-1)); done' runs more than twice as fast with STANDALONE_SHELL versus without. | |||
2007-04-09 | merge busybox.c into applets.c | Denis Vlasenko | |
2007-04-04 | - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" | Bernhard Reutner-Fischer | |
2007-03-24 | #ifdef out re_execed on MMU machines | Denis Vlasenko | |
2007-03-24 | NOMMU re-exec trick shuld not depend on existence of "don't daemonize" | Denis Vlasenko | |
option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too. | |||
2007-03-24 | applets.c, xfunc.c: style cleanup | Denis Vlasenko | |
2007-03-11 | kill superfluous returns at the end of void functions | Denis Vlasenko | |
2007-02-11 | syslogd: fix "readpath bug" by using readlink instead | Denis Vlasenko | |
libbb: rename xgetcwd and xreadlink | |||
2007-02-03 | suppress warnings about easch <applet>_main() having | Denis Vlasenko | |
no preceding prototype | |||
2007-02-03 | do not put all <applet>_main() declarations | Denis Vlasenko | |
in busybox.h - this produces false dependencies | |||
2007-02-03 | usage_compressed: be more permissive in which od flavors we support | Denis Vlasenko | |