aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* add more convenient defines for [NO]MMU:Denis Vlasenko2007-04-112-7/+15
| | | | "#ifndef BB_NOMMU" is a double negative
* Rename two config options:Denis Vlasenko2007-04-103-5/+6
| | | | | | | FEATURE_SH_STANDALONE_SHELL => FEATURE_SH_STANDALONE FEATURE_EXEC_PREFER_APPLETS => FEATURE_PREFER_APPLETS Make SH_STANDALONE depend on PREFER_APPLETS. getopt.c: more randomconfig-induced fixes
* make compressed help code NOMMU- and NOFORK-friendly -Denis Vlasenko2007-04-102-2/+8
| | | | no forking anymore, bunzip2 unpack routine now does all it in memory.
* make a few struct bb_applet members conditionalDenis Vlasenko2007-04-103-20/+30
| | | | | | rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig
* - forgot this hunk that corrects the usage text of ipBernhard Reutner-Fischer2007-04-101-3/+15
|
* - add ATTRIBUTE_DEPRECATED for functions that should be removed in the future.Bernhard Reutner-Fischer2007-04-101-0/+2
| | | | This is ment to provide means to point at cruft marked for cleanup.
* audit small applets and mark some of them as NOFORK.Denis Vlasenko2007-04-101-19/+19
| | | | | Put big scary warnings in relevant places.
* - very minor shrinkage (-3b)Bernhard Reutner-Fischer2007-04-101-1/+1
|
* - add prototype for str_tolower()Bernhard Reutner-Fischer2007-04-101-0/+2
|
* make xfunctions optionally longjump instead of exit.Denis Vlasenko2007-04-092-1/+2
| | | | | use it for making NOFORK more practical. touch: make it a NOFORK applet
* factor out NOFORK/NOEXEC code from find. Use it for xargs too.Denis Vlasenko2007-04-091-15/+20
|
* xargs: shrink code, ~80 bytesDenis Vlasenko2007-04-091-2/+3
| | | | applets.h: +#undef APPLET_NOEXEC
* Implement first instance of NOFORK applet - echoDenis Vlasenko2007-04-091-1/+6
| | | | | | | | | find: use NOFORK/NOEXEC; small -exec buglet also eliminated vfork_daemon_rexec: honor PREFER_APPLETS echo: small size improvements find -exec echo {} \; with PREFER_APPLETS=y runs 4 times faster
* Improve STANDALONE_SHELL. "safe" applets are renamed NOEXEC appletsDenis Vlasenko2007-04-093-24/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+6
|
* applets.h: de-obfuscateDenis Vlasenko2007-04-081-26/+35
|
* getopt32: fix llist_t options ordering. llist_rev is not unused.Denis Vlasenko2007-04-081-32/+37
| | | | | | | | | | | | | | | | function old new delta tar_main 705 695 -10 sort_main 928 918 -10 decode_format_string 886 876 -10 run_parts_main 197 185 -12 ps_main 513 500 -13 wget_main 2764 2750 -14 awk_main 1014 1000 -14 od_main 2886 2866 -20 llist_rev 25 - -25 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/8 up/down: 0/-128) Total: -128 bytes
* find: fix handling of -pruneDenis Vlasenko2007-04-081-12/+14
| | | | recursive_actions: uppercase flag constants
* random small shrinkage and elimination of staticsDenis Vlasenko2007-04-071-1/+1
|
* [u]mount: extend -t option (Roy Marples <uberlord@gentoo.org>)Denis Vlasenko2007-04-051-0/+2
|
* libbb: add xunlink()Denis Vlasenko2007-04-051-8/+9
| | | | patch: do not try to delete same file twice
* find: improve usage text (Natanael Copa <natanael.copa@gmail.com>)Denis Vlasenko2007-04-051-1/+7
|
* nc: port nc 1.10 to busyboxDenis Vlasenko2007-04-052-0/+41
|
* - clean up addgroup, fix adding users to existing groups and make it ↵Bernhard Reutner-Fischer2007-04-051-2/+2
| | | | optional (Tito)
* - add -s|--spider which only checks if the file exists but does not download ↵Bernhard Reutner-Fischer2007-04-051-3/+4
| | | | | | it's content. Closes #1291
* find: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>)Denis Vlasenko2007-04-041-1/+3
| | | | | find: -group, -depth (Natanael Copa <natanael.copa@gmail.com>) find: make constant array static, declare PARM_xx constants with enum
* Add/improve comment, shorten some usage texts. No code changes.Denis Vlasenko2007-04-041-38/+36
|
* ipsvd: make udpsvd work similar to tcpsvd (multiple parallelDenis Vlasenko2007-04-032-9/+11
| | | | | children for several streams of udp packets tested to work) code size: -509 bytes
* udpsvd: more work on it. works in limited testing.Denis Vlasenko2007-04-032-9/+29
|
* test: comment out unused codeDenis Vlasenko2007-04-021-3/+4
| | | | | udpsvd: fake it compile tcpsvd: more optimal memorizing of IP's for -C
* udpsvd: next part of ipsvd applets (not working yet)Denis Vlasenko2007-04-012-0/+6
|
* Copyright, help text, whitespace cleanupsDenis Vlasenko2007-04-011-2/+20
|
* tcpsvd: new appletDenis Vlasenko2007-04-013-1/+26
| | | | | | | | | | It's a GPL-ed 'clone' of Dan Bernstein's tcpserver. Author: Gerrit Pape <pape@smarden.org> http://smarden.sunsite.dk/ipsvd/ size tcpsvd.o text data bss dec hex filename 2571 4 16 2591 a1f tcpsvd.o
* - fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer2007-03-291-3/+6
| | | | Minor size improvement (-16b for size, -24b according to bloat-o-meter).
* - rewrite run-partsBernhard Reutner-Fischer2007-03-281-2/+17
| | | | | | | | | | | | | | | | | | | text data bss dec hex filename 1029 0 0 1029 405 debianutils/run_parts.o-old 478 0 0 478 1de debianutils/run_parts.o-new-bare 600 0 0 600 258 debianutils/run_parts.o-new-full bare, i.e. without long opts and fancy stuff ./scripts/bloat-o-meter bb_old busybox_unstripped function old new delta act - 215 +215 run_parts_main 216 201 -15 valid_name 50 - -50 runparts_long_options 64 - -64 .rodata 124323 124163 -160 run_parts 513 - -513 ------------------------------------------------------------------------------ (add/remove: 1/3 grow/shrink: 0/2 up/down: 215/-802) Total: -587 bytes
* make pidfile writing configurable.Denis Vlasenko2007-03-271-2/+11
| | | | [ui]toa_to_buf: change API. No users yet.
* zcip: make it work on NOMMU (+ improve NOMMU support machinery)Denis Vlasenko2007-03-261-0/+7
| | | | fsck: fix bad English in a comment
* - add usage for splitBernhard Reutner-Fischer2007-03-261-1/+6
|
* Attempt to get more applets compile for NOMMU.Denis Vlasenko2007-03-261-9/+16
| | | | | | | TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
* libbb: rework NOMMU helper API so that it makes more senseDenis Vlasenko2007-03-261-28/+58
| | | | and easier to use. Doesn't compile - need two more commits.
* add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyDenis Vlasenko2007-03-251-2/+6
|
* - rough prototype for split(1). TODO: Still needs some love since it's way ↵Bernhard Reutner-Fischer2007-03-252-0/+7
| | | | | | | too big.. text data bss dec hex filename 602 4 0 606 25e coreutils/split.o
* #ifdef out re_execed on MMU machinesDenis Vlasenko2007-03-241-1/+1
|
* SELinux: load_policy appletDenis Vlasenko2007-03-242-0/+5
|
* dnsd: fix several buglets, make smallerDenis Vlasenko2007-03-241-1/+1
|
* NOMMU re-exec trick shuld not depend on existence of "don't daemonize"Denis Vlasenko2007-03-241-3/+2
| | | | | 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.
* cmp: support 3rd and 4th arguments if DESKTOP=y (needed for gcc build)Denis Vlasenko2007-03-211-1/+1
|
* fix accumulated whitespace and indentation damageDenis Vlasenko2007-03-201-2/+2
|
* - be gentle to the intel compiler and make sure we have __u64 which is ↵Bernhard Reutner-Fischer2007-03-191-0/+9
| | | | needed for linux/loop.h
* include <stddef.h> so that ptrdiff_t is again availableDenis Vlasenko2007-03-181-0/+1
|