Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make busybox --install work even if /proc/self/exe doesn't exist | Denis Vlasenko | 2007-06-08 | 1 | -14/+6 |
| | | | | | | | | # 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 | ||||
* | use "glibc errno" trick not only for ash, but for entire busybox | Denis Vlasenko | 2007-05-31 | 1 | -0/+9 |
| | | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes | ||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 1 | -1/+0 |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | ||||
* | make "static linking against glibc" an #error, not #warning | Denis Vlasenko | 2007-05-18 | 1 | -0/+1 |
| | |||||
* | applets: fix compile-time warning | Denis Vlasenko | 2007-05-04 | 1 | -1/+1 |
| | |||||
* | fix suid config handling | Denis Vlasenko | 2007-05-02 | 1 | -14/+25 |
| | |||||
* | make "busybox" w/o args work again, and save 10 bytes in the process. | Denis Vlasenko | 2007-04-18 | 1 | -50/+52 |
| | |||||
* | applet.c: ruid is needed only if FEATURE_SUID=y | Denis Vlasenko | 2007-04-16 | 1 | -2/+2 |
| | |||||
* | - we unconditionally need ruid. Fixes build error in line 334 | Bernhard Reutner-Fischer | 2007-04-16 | 1 | -2/+0 |
| | |||||
* | lineedit: nuke two unused variables and code which sets them | Denis Vlasenko | 2007-04-14 | 1 | -8/+18 |
| | | | | | | 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. | ||||
* | hush: use NOFORK applets as appropriate. Net reduction of code size. | Denis Vlasenko | 2007-04-14 | 1 | -12/+18 |
| | |||||
* | pass a copy of argv[i] to NOFORK applets (they may permute it etc). | Denis Vlasenko | 2007-04-12 | 1 | -1/+5 |
| | | | | set/save/restore more shared global variables whan call one applet from another | ||||
* | style fixes. No code changes | Denis Vlasenko | 2007-04-12 | 1 | -1/+1 |
| | |||||
* | rename: run_applet_by_name -> run_applet_and_exit | Denis Vlasenko | 2007-04-11 | 1 | -4/+4 |
| | |||||
* | add more convenient defines for [NO]MMU: | Denis Vlasenko | 2007-04-11 | 1 | -2/+2 |
| | | | | "#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 | -3/+3 |
| | |||||
* | make compressed help code NOMMU- and NOFORK-friendly - | Denis Vlasenko | 2007-04-10 | 1 | -39/+28 |
| | | | | 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 | 1 | -28/+25 |
| | | | | | | rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig | ||||
* | - very minor shrinkage (-3b) | Bernhard Reutner-Fischer | 2007-04-10 | 1 | -4/+6 |
| | |||||
* | make xfunctions optionally longjump instead of exit. | Denis Vlasenko | 2007-04-09 | 1 | -1/+1 |
| | | | | | use it for making NOFORK more practical. touch: make it a NOFORK applet | ||||
* | busybox: fix "<applet>: applet not found" message | Denis Vlasenko | 2007-04-09 | 1 | -1/+5 |
| | |||||
* | Improve STANDALONE_SHELL. "safe" applets are renamed NOEXEC applets | Denis Vlasenko | 2007-04-09 | 1 | -17/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | merge busybox.c into applets.c | Denis Vlasenko | 2007-04-09 | 3 | -203/+193 |
| | |||||
* | - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" | Bernhard Reutner-Fischer | 2007-04-04 | 1 | -1/+1 |
| | |||||
* | #ifdef out re_execed on MMU machines | Denis Vlasenko | 2007-03-24 | 1 | -0/+4 |
| | |||||
* | NOMMU re-exec trick shuld not depend on existence of "don't daemonize" | Denis Vlasenko | 2007-03-24 | 2 | -2/+8 |
| | | | | | 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. | ||||
* | applets.c, xfunc.c: style cleanup | Denis Vlasenko | 2007-03-24 | 1 | -79/+80 |
| | |||||
* | kill superfluous returns at the end of void functions | Denis Vlasenko | 2007-03-11 | 1 | -1/+0 |
| | |||||
* | syslogd: fix "readpath bug" by using readlink instead | Denis Vlasenko | 2007-02-11 | 1 | -1/+1 |
| | | | | libbb: rename xgetcwd and xreadlink | ||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 2 | -1/+2 |
| | | | | no preceding prototype | ||||
* | do not put all <applet>_main() declarations | Denis Vlasenko | 2007-02-03 | 2 | -2/+7 |
| | | | | in busybox.h - this produces false dependencies | ||||
* | usage_compressed: be more permissive in which od flavors we support | Denis Vlasenko | 2007-02-03 | 1 | -1/+1 |
| | |||||
* | preparatory patch for -Wwrite-strings #1 | Denis Vlasenko | 2007-01-29 | 1 | -3/+3 |
| | |||||
* | accumulated post-1.4.0 fixes | Denis Vlasenko | 2007-01-24 | 1 | -9/+15 |
| | |||||
* | fix allnoconfig build. the most useful fix of the month. ;) | Denis Vlasenko | 2007-01-03 | 1 | -1/+1 |
| | | | | [spotted by Bernhard Fischer <rep.nop@aon.at>] | ||||
* | convert usage compressed command into the new cmd style | Mike Frysinger | 2007-01-02 | 1 | -2/+3 |
| | |||||
* | style fixes | Denis Vlasenko | 2006-12-26 | 1 | -1/+1 |
| | | | | last xcalloc replaced by xzalloc | ||||
* | random tiny size savings | Denis Vlasenko | 2006-12-24 | 2 | -42/+42 |
| | |||||
* | A bunch of defined(__GLIBC__) added. static-linking warning expanded | Denis Vlasenko | 2006-12-18 | 1 | -3/+3 |
| | |||||
* | - add FIXME to brokenness in the installer.. | Bernhard Reutner-Fischer | 2006-11-22 | 1 | -0/+1 |
| | |||||
* | httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net! | Denis Vlasenko | 2006-11-21 | 1 | -2/+2 |
| | |||||
* | - fix generation of the busybox.links install script inputfile | Bernhard Reutner-Fischer | 2006-11-17 | 1 | -1/+1 |
| | |||||
* | wget: fix error message. | Denis Vlasenko | 2006-11-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Bad: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 : HTTP/1.0 404 Not Foundror 404 Not Found Good: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 get: server returned error: HTTP/1.0 404 Not Found nslookup: fix my mistake applets: make Bernhard Fischer <rep.nop@aon.at> happy :) | ||||
* | add && !defined(__UCLIBC__) to static link warning check | Denis Vlasenko | 2006-11-09 | 1 | -1/+2 |
| | |||||
* | mostly style fixes | Denis Vlasenko | 2006-11-01 | 1 | -1/+1 |
| | |||||
* | "#warning: http://...." doesn't work (gcc thinks that it's a comment!) | Denis Vlasenko | 2006-10-29 | 1 | -1/+1 |
| | |||||
* | __GLIBC__ -> defined(__GLIBC__) | Denis Vlasenko | 2006-10-23 | 1 | -1/+1 |
| | |||||
* | Added compile-time warning for STATIC+GLIBC build | Denis Vlasenko | 2006-10-20 | 1 | -0/+7 |
| | |||||
* | message string changes, mostly for consistency, also -32 bytes in .rodata | Denis Vlasenko | 2006-10-20 | 1 | -3/+3 |
| | |||||
* | build system: (try to) get rid of bb_config.h hack | Denis Vlasenko | 2006-10-19 | 1 | -1/+1 |
| |