summaryrefslogtreecommitdiff
path: root/include/applets.h
AgeCommit message (Collapse)Author
2007-04-10Rename 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-10make a few struct bb_applet members conditionalDenis Vlasenko
rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig
2007-04-10audit small applets and mark some of them as NOFORK.Denis Vlasenko
Put big scary warnings in relevant places.
2007-04-09make xfunctions optionally longjump instead of exit.Denis Vlasenko
use it for making NOFORK more practical. touch: make it a NOFORK applet
2007-04-09xargs: shrink code, ~80 bytesDenis Vlasenko
applets.h: +#undef APPLET_NOEXEC
2007-04-09Implement first instance of NOFORK applet - echoDenis 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-09Improve STANDALONE_SHELL. "safe" applets are renamed NOEXEC appletsDenis 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-09merge busybox.c into applets.cDenis Vlasenko
2007-04-08applets.h: de-obfuscateDenis Vlasenko
2007-04-03ipsvd: make udpsvd work similar to tcpsvd (multiple parallelDenis Vlasenko
children for several streams of udp packets tested to work) code size: -509 bytes
2007-04-01udpsvd: next part of ipsvd applets (not working yet)Denis Vlasenko
2007-04-01tcpsvd: new appletDenis 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-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-24SELinux: load_policy appletDenis Vlasenko
2007-03-10selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)Denis Vlasenko
2007-03-09- add chrt applet.Bernhard Reutner-Fischer
text data bss dec hex filename 769 0 0 769 301 miscutils/chrt.o and could use some further shrinkage
2007-02-06new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>Denis Vlasenko
2007-01-20fixing bugs revealed by randomconfig runsDenis Vlasenko
2007-01-07add arp applet - thanks toDenis Vlasenko
"Eric Spakman" <E.Spakman@inter.nl.net>
2006-12-26leftover of e2fsck surgeryDenis Vlasenko
2006-12-24Cleanup usage messages (-200 bytes).Denis Vlasenko
Remove busybox_main from applet table since it is called via separate check
2006-11-22- revert r15563 (pull current version of taskset off the busybox_scratch branch)Bernhard Reutner-Fischer
2006-11-21- add 'ip rule' support. First take..Bernhard Reutner-Fischer
text data bss dec hex filename 2999 0 0 2999 bb7 networking/libiproute/iprule.o
2006-11-20dhcprelay: new appletDenis Vlasenko
2006-11-17runit: add runsv, runsvdir and sv. Oh yes.Denis Vlasenko
It even seems to work. +11K. :(
2006-11-16svlogd: new applet. +9k. Still too big, but it was 12k yesterday.Denis Vlasenko
2006-10-25- revert r16191; re-add resize() applet.Bernhard Reutner-Fischer
text data bss dec hex filename 288 0 0 288 120 console-tools/_resize.o.gcc-2.95 258 0 0 258 102 console-tools/_resize.o.gcc-3.3 252 0 0 252 fc console-tools/_resize.o.gcc-3.4
2006-10-20raidautorun: new applet, by:Denis Vlasenko
Thomas Jarosch (email?) and Bernhard Fischer <rep.nop@aon.at>
2006-10-16mount: support user mounts if CONFIG_DESKTOPDenis Vlasenko
2006-10-11nmeter: new applet. ~4kDenis Vlasenko
Fix build proble on x86_64
2006-10-03runit/chpst: "change process state" utilityDenis Vlasenko
It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k
2006-09-27kill: implement killall5. OpenWRT folks will be happy.Denis Vlasenko
However their code was unusably different from sysvinit original. Run tested.
2006-09-22"I'll think about it" != "apply it now". It means I need to think about it.Rob Landley
2006-09-22- add new applet resize.Bernhard Reutner-Fischer
text data bss dec hex filename 185 0 0 185 b9 console-tools/resize.o 255 0 0 255 ff console-tools/resize.o.print
2006-08-20Michael Opdenacker contributed a readahead applet.Rob Landley
2006-08-06Teach md5sum and sha1sum to work the way other applets do so I don't have toRob Landley
teach scripts/individual new tricks. And while I'm at it, teach scripts/individual other new tricks. Now builds 198 applets, some of which I should teach it to hardlink together because they're really the same app...
2006-08-05scripts/individual now builds 171 applets. Some of them may even work. :)Rob Landley
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-06-30Revert taskset for 1.2.0. It emits a warning, breaks building under RH9,Rob Landley
and nobody seemed interested in fixing it despite repeated complaints. I'll worry about it in the 1.3 timeframe...
2006-06-22CONFIG_DHCP -> CONFIG_APP_DHCP.Rob Landley
2006-06-07- add applet taskset to set/retrieve the CPU affinity of a processBernhard Reutner-Fischer
text data bss dec hex filename 584 0 0 584 248 taskset.o.gcc-2.95 509 0 0 509 1fd taskset.o.gcc-3.3 505 0 0 505 1f9 taskset.o.gcc-3.4 506 0 0 506 1fa taskset.o.gcc-4.0 498 0 0 498 1f2 taskset.o.gcc-4.1 495 0 0 495 1ef taskset.o.gcc-4.2-HEAD
2006-06-02fix fdflish typo (reported by erik hovland)Paul Fox
2006-06-01The common case APPLET() macro only needs three arguments.Rob Landley
2006-05-31Add catv (separate applet instead of cat -v). Also cleanup cat.c comments,Rob Landley
the following of which (from cat.c) belongs in svn history instead of the source code: /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) * * This is a new implementation of 'cat' which aims to be SUSv3 compliant. * * Changes from the previous implementation include: * 1) Multiple '-' args are accepted as required by SUSv3. The previous * implementation would close stdin and segfault on a subsequent '-'. * 2) The '-u' options is required by SUSv3. Note that the specified * behavior for '-u' is done by default, so all we need do is accept * the option. */
2006-05-08add back in udhcp supportMike Frysinger
2006-05-07The udhcp was deleted from busybox in 14634. Bolting an external project toRob Landley
the side of the tree doesn't _COUNT_, and I will not ship it. Udhcp was deleted shortly after I posted my philosophy for what should and shouldn't go into busybox: http://www.busybox.net/lists/busybox/2006-March/019484.html I complained about the change t the time. I've complained repeatedly since. But nobody felt like fixing it. External dependencies are something to be minimized. I don't care about the ability for packages to build outside busybox: something is either part of busybox, or it isn't. If I convert any part of the external udhcp repository to use libbb, I've broken the external package. Any random cleanups that touch that directory suddenly have to worry about external dependencies that are NOT OUR PROBLEM. Therefore, that directory is not and cannot be part of busybox. Wishful thinking isn't going to change that. I will not ship something I can't maintain. I'll try to get a new dhcp client and server in before the ship window closes, but I have a half-dozen other projects pending. I'm sorry this happened, but I'm not the one who removed it, and I'm not the one who ignored the project maintainer's repeated complaints about the situation for the next month and a half.
2006-05-06fix udhcp againMike Frysinger
2006-05-05Patch from Dennis Vlasenko simplifying the APPLET macros.Rob Landley
2006-05-04It was sitting there, in the patches directory, for years. It was delete itRob Landley
or apply it. It's small, simple, evil, part of SUSv3, and we can switch it off.
2006-04-27Patch from Dennis Vlasenko to add the option to compress help text.Rob Landley