summaryrefslogtreecommitdiff
path: root/applets (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* pass a copy of argv[i] to NOFORK applets (they may permute it etc).Denis Vlasenko2007-04-121-1/+5
| | | | set/save/restore more shared global variables whan call one applet from another
* style fixes. No code changesDenis Vlasenko2007-04-121-1/+1
|
* rename: run_applet_by_name -> run_applet_and_exitDenis Vlasenko2007-04-111-4/+4
|
* add more convenient defines for [NO]MMU:Denis Vlasenko2007-04-111-2/+2
| | | | "#ifndef BB_NOMMU" is a double negative
* random NOMMU fixes. compressed --help really does work for NOMMU! /me happyDenis Vlasenko2007-04-101-3/+3
|
* make compressed help code NOMMU- and NOFORK-friendly -Denis Vlasenko2007-04-101-39/+28
| | | | no forking anymore, bunzip2 unpack routine now does all it in memory.
* make a few struct bb_applet members conditionalDenis Vlasenko2007-04-101-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-Fischer2007-04-101-4/+6
|
* make xfunctions optionally longjump instead of exit.Denis Vlasenko2007-04-091-1/+1
| | | | | use it for making NOFORK more practical. touch: make it a NOFORK applet
* busybox: fix "<applet>: applet not found" messageDenis Vlasenko2007-04-091-1/+5
|
* Improve STANDALONE_SHELL. "safe" applets are renamed NOEXEC appletsDenis Vlasenko2007-04-091-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.cDenis Vlasenko2007-04-093-203/+193
|
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer2007-04-041-1/+1
|
* #ifdef out re_execed on MMU machinesDenis Vlasenko2007-03-241-0/+4
|
* NOMMU re-exec trick shuld not depend on existence of "don't daemonize"Denis Vlasenko2007-03-242-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 cleanupDenis Vlasenko2007-03-241-79/+80
|
* kill superfluous returns at the end of void functionsDenis Vlasenko2007-03-111-1/+0
|
* syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko2007-02-111-1/+1
| | | | libbb: rename xgetcwd and xreadlink
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-032-1/+2
| | | | no preceding prototype
* do not put all <applet>_main() declarationsDenis Vlasenko2007-02-032-2/+7
| | | | in busybox.h - this produces false dependencies
* usage_compressed: be more permissive in which od flavors we supportDenis Vlasenko2007-02-031-1/+1
|
* preparatory patch for -Wwrite-strings #1Denis Vlasenko2007-01-291-3/+3
|
* accumulated post-1.4.0 fixesDenis Vlasenko2007-01-241-9/+15
|
* fix allnoconfig build. the most useful fix of the month. ;)Denis Vlasenko2007-01-031-1/+1
| | | | [spotted by Bernhard Fischer <rep.nop@aon.at>]
* convert usage compressed command into the new cmd styleMike Frysinger2007-01-021-2/+3
|
* style fixesDenis Vlasenko2006-12-261-1/+1
| | | | last xcalloc replaced by xzalloc
* random tiny size savingsDenis Vlasenko2006-12-242-42/+42
|
* A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko2006-12-181-3/+3
|
* - add FIXME to brokenness in the installer..Bernhard Reutner-Fischer2006-11-221-0/+1
|
* httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net!Denis Vlasenko2006-11-211-2/+2
|
* - fix generation of the busybox.links install script inputfileBernhard Reutner-Fischer2006-11-171-1/+1
|
* wget: fix error message.Denis Vlasenko2006-11-101-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 checkDenis Vlasenko2006-11-091-1/+2
|
* mostly style fixesDenis Vlasenko2006-11-011-1/+1
|
* "#warning: http://...." doesn't work (gcc thinks that it's a comment!)Denis Vlasenko2006-10-291-1/+1
|
* __GLIBC__ -> defined(__GLIBC__)Denis Vlasenko2006-10-231-1/+1
|
* Added compile-time warning for STATIC+GLIBC buildDenis Vlasenko2006-10-201-0/+7
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-3/+3
|
* build system: (try to) get rid of bb_config.h hackDenis Vlasenko2006-10-191-1/+1
|
* move usage_compressed.h generation into applets/Denis Vlasenko2006-10-193-3/+42
|
* applets/applets.o must be rebuilt if usage.h is modified.Denis Vlasenko2006-10-191-0/+9
|
* mount: support user mounts if CONFIG_DESKTOPDenis Vlasenko2006-10-161-5/+5
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-2/+2
|
* which: -84 bytesDenis Vlasenko2006-10-051-4/+4
|
* build system overhaulDenis Vlasenko2006-10-054-51/+9
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-033-10/+11
|
* rename bb_default_error_retval -> xfunc_error_retvalDenis Vlasenko2006-10-031-1/+1
|
* applets.c: fix indentationDenis Vlasenko2006-09-231-64/+64
|
* Change license statements (and clean up headers) on some of the files thatRob Landley2006-09-221-1/+1
| | | | Erik or I are primary copyright holders on.
* The Software Freedom Law Center wants us to add a copyright notice to theRob Landley2006-09-201-12/+4
| | | | | | | | | | | | | | | generated binaries, to make copyright enforcement easier. Our liason with them (Bradley Kuhn) suggested the following text: > Copyright (C) YEAR-2006  Erik Andersen, Rob Landley, and others. > Licensed under GPLv2.  See source distribution for full notice. And the busybox help message seems the least offensive place to put it. (At some point in the future, I need to strip 128 bytes from the binary to feel good about this, though. :) Minor header file cleanup while I was there, since libbb.h already #includes most of that stuff...