Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-04-11 | add more convenient defines for [NO]MMU: | Denis Vlasenko | |
"#ifndef BB_NOMMU" is a double negative | |||
2007-04-10 | Rename two config options: | Denis Vlasenko | |
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 | |||
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 | - forgot this hunk that corrects the usage text of ip | Bernhard Reutner-Fischer | |
2007-04-10 | - add ATTRIBUTE_DEPRECATED for functions that should be removed in the future. | Bernhard Reutner-Fischer | |
This is ment to provide means to point at cruft marked for cleanup. | |||
2007-04-10 | audit small applets and mark some of them as NOFORK. | Denis Vlasenko | |
Put big scary warnings in relevant places. | |||
2007-04-10 | - very minor shrinkage (-3b) | Bernhard Reutner-Fischer | |
2007-04-10 | - add prototype for str_tolower() | 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 | factor out NOFORK/NOEXEC code from find. Use it for xargs too. | Denis Vlasenko | |
2007-04-09 | xargs: shrink code, ~80 bytes | Denis Vlasenko | |
applets.h: +#undef APPLET_NOEXEC | |||
2007-04-09 | Implement first instance of NOFORK applet - echo | Denis Vlasenko | |
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 | |||
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-08 | applets.h: de-obfuscate | Denis Vlasenko | |
2007-04-08 | getopt32: fix llist_t options ordering. llist_rev is not unused. | Denis Vlasenko | |
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 | |||
2007-04-08 | find: fix handling of -prune | Denis Vlasenko | |
recursive_actions: uppercase flag constants | |||
2007-04-07 | random small shrinkage and elimination of statics | Denis Vlasenko | |
2007-04-05 | [u]mount: extend -t option (Roy Marples <uberlord@gentoo.org>) | Denis Vlasenko | |
2007-04-05 | libbb: add xunlink() | Denis Vlasenko | |
patch: do not try to delete same file twice | |||
2007-04-05 | find: improve usage text (Natanael Copa <natanael.copa@gmail.com>) | Denis Vlasenko | |
2007-04-05 | nc: port nc 1.10 to busybox | Denis Vlasenko | |
2007-04-05 | - clean up addgroup, fix adding users to existing groups and make it ↵ | Bernhard Reutner-Fischer | |
optional (Tito) | |||
2007-04-05 | - add -s|--spider which only checks if the file exists but does not download ↵ | Bernhard Reutner-Fischer | |
it's content. Closes #1291 | |||
2007-04-04 | find: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>) | Denis Vlasenko | |
find: -group, -depth (Natanael Copa <natanael.copa@gmail.com>) find: make constant array static, declare PARM_xx constants with enum | |||
2007-04-04 | Add/improve comment, shorten some usage texts. No code changes. | Denis Vlasenko | |
2007-04-03 | ipsvd: make udpsvd work similar to tcpsvd (multiple parallel | Denis Vlasenko | |
children for several streams of udp packets tested to work) code size: -509 bytes | |||
2007-04-03 | udpsvd: more work on it. works in limited testing. | Denis Vlasenko | |
2007-04-02 | test: comment out unused code | Denis Vlasenko | |
udpsvd: fake it compile tcpsvd: more optimal memorizing of IP's for -C | |||
2007-04-01 | udpsvd: next part of ipsvd applets (not working yet) | Denis Vlasenko | |
2007-04-01 | Copyright, help text, whitespace cleanups | Denis Vlasenko | |
2007-04-01 | tcpsvd: new applet | Denis Vlasenko | |
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 | |||
2007-03-29 | - fold recurse, depthFirst and dereference params into one param flags. | Bernhard Reutner-Fischer | |
Minor size improvement (-16b for size, -24b according to bloat-o-meter). | |||
2007-03-28 | - rewrite run-parts | Bernhard Reutner-Fischer | |
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 | |||
2007-03-27 | make pidfile writing configurable. | Denis Vlasenko | |
[ui]toa_to_buf: change API. No users yet. | |||
2007-03-26 | zcip: make it work on NOMMU (+ improve NOMMU support machinery) | Denis Vlasenko | |
fsck: fix bad English in a comment | |||
2007-03-26 | - add usage for split | Bernhard Reutner-Fischer | |
2007-03-26 | Attempt to get more applets compile for NOMMU. | Denis Vlasenko | |
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). | |||
2007-03-26 | libbb: rework NOMMU helper API so that it makes more sense | Denis Vlasenko | |
and easier to use. Doesn't compile - need two more commits. | |||
2007-03-25 | add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copy | Denis Vlasenko | |
2007-03-25 | - rough prototype for split(1). TODO: Still needs some love since it's way ↵ | Bernhard Reutner-Fischer | |
too big.. text data bss dec hex filename 602 4 0 606 25e coreutils/split.o | |||
2007-03-24 | #ifdef out re_execed on MMU machines | Denis Vlasenko | |
2007-03-24 | SELinux: load_policy applet | Denis Vlasenko | |
2007-03-24 | dnsd: fix several buglets, make smaller | 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-21 | cmp: support 3rd and 4th arguments if DESKTOP=y (needed for gcc build) | Denis Vlasenko | |
2007-03-20 | fix accumulated whitespace and indentation damage | Denis Vlasenko | |
2007-03-19 | - be gentle to the intel compiler and make sure we have __u64 which is ↵ | Bernhard Reutner-Fischer | |
needed for linux/loop.h | |||
2007-03-18 | include <stddef.h> so that ptrdiff_t is again available | Denis Vlasenko | |