aboutsummaryrefslogtreecommitdiff
path: root/include/applets.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cttyhack: new applet.vda2007-05-181-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18649 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix trivial compile errors found by randomconfig runvda2007-05-171-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cryptpw: new applet (a bit less than 3k added)vda2007-05-081-0/+1
| | | | | | | | (by Thomas Lundquist <lists@zelow.no>) git-svn-id: svn://busybox.net/trunk/busybox@18586 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename two config options:vda2007-04-101-2/+2
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@18394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make a few struct bb_applet members conditionalvda2007-04-101-7/+7
| | | | | | | | | rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig git-svn-id: svn://busybox.net/trunk/busybox@18391 69ca8d6d-28ef-0310-b511-8ec308f3f277
* audit small applets and mark some of them as NOFORK.vda2007-04-101-19/+19
| | | | | | | | Put big scary warnings in relevant places. git-svn-id: svn://busybox.net/trunk/busybox@18382 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make xfunctions optionally longjump instead of exit.vda2007-04-091-1/+1
| | | | | | | | use it for making NOFORK more practical. touch: make it a NOFORK applet git-svn-id: svn://busybox.net/trunk/busybox@18376 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xargs: shrink code, ~80 bytesvda2007-04-091-2/+3
| | | | | | | applets.h: +#undef APPLET_NOEXEC git-svn-id: svn://busybox.net/trunk/busybox@18374 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implement first instance of NOFORK applet - echovda2007-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 git-svn-id: svn://busybox.net/trunk/busybox@18372 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Improve STANDALONE_SHELL. "safe" applets are renamed NOEXEC appletsvda2007-04-091-21/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@18370 69ca8d6d-28ef-0310-b511-8ec308f3f277
* merge busybox.c into applets.cvda2007-04-091-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18368 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applets.h: de-obfuscatevda2007-04-081-26/+35
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18367 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ipsvd: make udpsvd work similar to tcpsvd (multiple parallelvda2007-04-031-4/+4
| | | | | | | | children for several streams of udp packets tested to work) code size: -509 bytes git-svn-id: svn://busybox.net/trunk/busybox@18316 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udpsvd: next part of ipsvd applets (not working yet)vda2007-04-011-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18297 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tcpsvd: new appletvda2007-04-011-0/+1
| | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@18294 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rough prototype for split(1). TODO: Still needs some love since it's way ↵aldot2007-03-251-0/+1
| | | | | | | | | | too big.. text data bss dec hex filename 602 4 0 606 25e coreutils/split.o git-svn-id: svn://busybox.net/trunk/busybox@18236 69ca8d6d-28ef-0310-b511-8ec308f3f277
* SELinux: load_policy appletvda2007-03-241-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18226 69ca8d6d-28ef-0310-b511-8ec308f3f277
* selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)vda2007-03-101-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18062 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add chrt applet.aldot2007-03-091-0/+1
| | | | | | | | | text data bss dec hex filename 769 0 0 769 301 miscutils/chrt.o and could use some further shrinkage git-svn-id: svn://busybox.net/trunk/busybox@18055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>vda2007-02-061-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17802 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fixing bugs revealed by randomconfig runsvda2007-01-201-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add arp applet - thanks tovda2007-01-071-0/+1
| | | | | | | "Eric Spakman" <E.Spakman@inter.nl.net> git-svn-id: svn://busybox.net/trunk/busybox@17177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* leftover of e2fsck surgeryvda2006-12-261-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17078 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup usage messages (-200 bytes).vda2006-12-241-3/+0
| | | | | | | | Remove busybox_main from applet table since it is called via separate check git-svn-id: svn://busybox.net/trunk/busybox@17071 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert r15563 (pull current version of taskset off the busybox_scratch branch)aldot2006-11-221-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16625 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add 'ip rule' support. First take..aldot2006-11-211-0/+1
| | | | | | | | text data bss dec hex filename 2999 0 0 2999 bb7 networking/libiproute/iprule.o git-svn-id: svn://busybox.net/trunk/busybox@16609 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dhcprelay: new appletvda2006-11-201-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16592 69ca8d6d-28ef-0310-b511-8ec308f3f277
* runit: add runsv, runsvdir and sv. Oh yes.vda2006-11-171-0/+3
| | | | | | | It even seems to work. +11K. :( git-svn-id: svn://busybox.net/trunk/busybox@16569 69ca8d6d-28ef-0310-b511-8ec308f3f277
* svlogd: new applet. +9k. Still too big, but it was 12k yesterday.vda2006-11-161-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert r16191; re-add resize() applet.aldot2006-10-251-0/+1
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@16437 69ca8d6d-28ef-0310-b511-8ec308f3f277
* raidautorun: new applet, by:vda2006-10-201-0/+1
| | | | | | | | Thomas Jarosch (email?) and Bernhard Fischer <rep.nop@aon.at> git-svn-id: svn://busybox.net/trunk/busybox@16415 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: support user mounts if CONFIG_DESKTOPvda2006-10-161-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nmeter: new applet. ~4kvda2006-10-111-0/+1
| | | | | | | Fix build proble on x86_64 git-svn-id: svn://busybox.net/trunk/busybox@16364 69ca8d6d-28ef-0310-b511-8ec308f3f277
* runit/chpst: "change process state" utilityvda2006-10-031-0/+5
| | | | | | | It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k git-svn-id: svn://busybox.net/trunk/busybox@16298 69ca8d6d-28ef-0310-b511-8ec308f3f277
* kill: implement killall5. OpenWRT folks will be happy.vda2006-09-271-0/+1
| | | | | | | | However their code was unusably different from sysvinit original. Run tested. git-svn-id: svn://busybox.net/trunk/busybox@16235 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "I'll think about it" != "apply it now". It means I need to think about it.landley2006-09-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16191 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add new applet resize.aldot2006-09-221-0/+1
| | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@16176 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Michael Opdenacker contributed a readahead applet.landley2006-08-201-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach md5sum and sha1sum to work the way other applets do so I don't have tolandley2006-08-061-2/+2
| | | | | | | | | 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... git-svn-id: svn://busybox.net/trunk/busybox@15786 69ca8d6d-28ef-0310-b511-8ec308f3f277
* scripts/individual now builds 171 applets. Some of them may even work. :)landley2006-08-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15784 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Standardize on the vi editing directives being on the first line.rpjday2006-07-021-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15581 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert taskset for 1.2.0. It emits a warning, breaks building under RH9,landley2006-06-301-1/+0
| | | | | | | | and nobody seemed interested in fixing it despite repeated complaints. I'll worry about it in the 1.3 timeframe... git-svn-id: svn://busybox.net/trunk/busybox@15563 69ca8d6d-28ef-0310-b511-8ec308f3f277
* CONFIG_DHCP -> CONFIG_APP_DHCP.landley2006-06-221-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15482 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add applet taskset to set/retrieve the CPU affinity of a processaldot2006-06-071-0/+1
| | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@15315 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix fdflish typo (reported by erik hovland)pgf2006-06-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15262 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The common case APPLET() macro only needs three arguments.landley2006-06-011-232/+232
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add catv (separate applet instead of cat -v). Also cleanup cat.c comments,landley2006-05-311-0/+1
| | | | | | | | | | | | | | | | | | | | | 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. */ git-svn-id: svn://busybox.net/trunk/busybox@15251 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add back in udhcp supportvapier2006-05-081-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15031 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The udhcp was deleted from busybox in 14634. Bolting an external project tolandley2006-05-071-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15026 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix udhcp againvapier2006-05-061-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15019 69ca8d6d-28ef-0310-b511-8ec308f3f277