aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve STANDALONE_SHELL. "safe" applets are renamed NOEXEC appletsvda2007-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. git-svn-id: svn://busybox.net/trunk/busybox@18370 69ca8d6d-28ef-0310-b511-8ec308f3f277
* merge busybox.c into applets.cvda2007-04-093-6/+6
| | | | 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
* getopt32: fix llist_t options ordering. llist_rev is not unused.vda2007-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 git-svn-id: svn://busybox.net/trunk/busybox@18364 69ca8d6d-28ef-0310-b511-8ec308f3f277
* find: fix handling of -prunevda2007-04-081-12/+14
| | | | | | | recursive_actions: uppercase flag constants git-svn-id: svn://busybox.net/trunk/busybox@18362 69ca8d6d-28ef-0310-b511-8ec308f3f277
* random small shrinkage and elimination of staticsvda2007-04-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18354 69ca8d6d-28ef-0310-b511-8ec308f3f277
* [u]mount: extend -t option (Roy Marples <uberlord@gentoo.org>)vda2007-04-051-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18344 69ca8d6d-28ef-0310-b511-8ec308f3f277
* libbb: add xunlink()vda2007-04-051-8/+9
| | | | | | | patch: do not try to delete same file twice git-svn-id: svn://busybox.net/trunk/busybox@18342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* find: improve usage text (Natanael Copa <natanael.copa@gmail.com>)vda2007-04-051-1/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18338 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nc: port nc 1.10 to busyboxvda2007-04-052-0/+41
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - clean up addgroup, fix adding users to existing groups and make it ↵aldot2007-04-051-2/+2
| | | | | | optional (Tito) git-svn-id: svn://busybox.net/trunk/busybox@18335 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add -s|--spider which only checks if the file exists but does not download ↵aldot2007-04-051-3/+4
| | | | | | | | | it's content. Closes #1291 git-svn-id: svn://busybox.net/trunk/busybox@18333 69ca8d6d-28ef-0310-b511-8ec308f3f277
* find: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>)vda2007-04-041-1/+3
| | | | | | | | find: -group, -depth (Natanael Copa <natanael.copa@gmail.com>) find: make constant array static, declare PARM_xx constants with enum git-svn-id: svn://busybox.net/trunk/busybox@18328 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add/improve comment, shorten some usage texts. No code changes.vda2007-04-041-38/+36
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18319 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ipsvd: make udpsvd work similar to tcpsvd (multiple parallelvda2007-04-032-9/+11
| | | | | | | | 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: more work on it. works in limited testing.vda2007-04-032-9/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18311 69ca8d6d-28ef-0310-b511-8ec308f3f277
* test: comment out unused codevda2007-04-021-3/+4
| | | | | | | | udpsvd: fake it compile tcpsvd: more optimal memorizing of IP's for -C git-svn-id: svn://busybox.net/trunk/busybox@18302 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udpsvd: next part of ipsvd applets (not working yet)vda2007-04-012-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18297 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Copyright, help text, whitespace cleanupsvda2007-04-011-2/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18295 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tcpsvd: new appletvda2007-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 git-svn-id: svn://busybox.net/trunk/busybox@18294 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fold recurse, depthFirst and dereference params into one param flags.aldot2007-03-291-3/+6
| | | | | | | Minor size improvement (-16b for size, -24b according to bloat-o-meter). git-svn-id: svn://busybox.net/trunk/busybox@18271 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rewrite run-partsaldot2007-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 git-svn-id: svn://busybox.net/trunk/busybox@18265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make pidfile writing configurable.vda2007-03-271-2/+11
| | | | | | | [ui]toa_to_buf: change API. No users yet. git-svn-id: svn://busybox.net/trunk/busybox@18254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: make it work on NOMMU (+ improve NOMMU support machinery)vda2007-03-261-0/+7
| | | | | | | fsck: fix bad English in a comment git-svn-id: svn://busybox.net/trunk/busybox@18248 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add usage for splitaldot2007-03-261-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18247 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Attempt to get more applets compile for NOMMU.vda2007-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). git-svn-id: svn://busybox.net/trunk/busybox@18245 69ca8d6d-28ef-0310-b511-8ec308f3f277
* libbb: rework NOMMU helper API so that it makes more sensevda2007-03-261-28/+58
| | | | | | | and easier to use. Doesn't compile - need two more commits. git-svn-id: svn://busybox.net/trunk/busybox@18241 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyvda2007-03-251-2/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18237 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rough prototype for split(1). TODO: Still needs some love since it's way ↵aldot2007-03-252-0/+7
| | | | | | | | | | 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
* #ifdef out re_execed on MMU machinesvda2007-03-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18230 69ca8d6d-28ef-0310-b511-8ec308f3f277
* SELinux: load_policy appletvda2007-03-242-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18226 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dnsd: fix several buglets, make smallervda2007-03-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18220 69ca8d6d-28ef-0310-b511-8ec308f3f277
* NOMMU re-exec trick shuld not depend on existence of "don't daemonize"vda2007-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. git-svn-id: svn://busybox.net/trunk/busybox@18219 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cmp: support 3rd and 4th arguments if DESKTOP=y (needed for gcc build)vda2007-03-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18199 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix accumulated whitespace and indentation damagevda2007-03-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18176 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - be gentle to the intel compiler and make sure we have __u64 which is ↵aldot2007-03-191-0/+9
| | | | | | needed for linux/loop.h git-svn-id: svn://busybox.net/trunk/busybox@18164 69ca8d6d-28ef-0310-b511-8ec308f3f277
* include <stddef.h> so that ptrdiff_t is again availablevda2007-03-181-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* random fixes to help textvda2007-03-171-56/+61
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18133 69ca8d6d-28ef-0310-b511-8ec308f3f277
* punt useless header as pointed out by src.obsolete.headersvapier2007-03-171-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18131 69ca8d6d-28ef-0310-b511-8ec308f3f277
* gzip: Improve ptr_to_globals trick, allowing gccvda2007-03-151-1/+4
| | | | | | | to optimize better. -480 bytes. git-svn-id: svn://busybox.net/trunk/busybox@18121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* networking/interface.c: was doing really strange caching of fd'svda2007-03-151-6/+1
| | | | | | | open for getting ifconfig data - ??! Simplified all that. -200 bytes. git-svn-id: svn://busybox.net/trunk/busybox@18120 69ca8d6d-28ef-0310-b511-8ec308f3f277
* modify ptr_to_globals trick so that we do not violatevda2007-03-151-0/+4
| | | | | | | type safety (well, sort of ;)) git-svn-id: svn://busybox.net/trunk/busybox@18116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* arp, networking/interface.c: eliminate staticsvda2007-03-141-3/+3
| | | | | | | | and unneeded on-stack buffers, disable (comment out) some apparently unused (and buggy) code paths. -700 bytes. git-svn-id: svn://busybox.net/trunk/busybox@18113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stop using big static buffer for inode hashvda2007-03-141-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18109 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - change option -c to -Z to match newer upstream SElinux conventionsaldot2007-03-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18098 69ca8d6d-28ef-0310-b511-8ec308f3f277
* gzip: bbunzip integration fixesvda2007-03-141-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18094 69ca8d6d-28ef-0310-b511-8ec308f3f277
* introduce and use setfscreatecon_or_dievda2007-03-121-0/+1
| | | | | | | | (patch by Yuichi Nakamura <ynakam@hitachisoft.jp>) runcon: *yet another* fix for vda's brainfart :( git-svn-id: svn://busybox.net/trunk/busybox@18073 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next portion of selinux updates: chcon, runcon. Fromvda2007-03-111-0/+3
| | | | | | | | Yuichi Nakamura <himainu-ynakam@miomio.jp> KaiGai Kohei <busybox@kaigai.gr.jp> git-svn-id: svn://busybox.net/trunk/busybox@18067 69ca8d6d-28ef-0310-b511-8ec308f3f277
* selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)vda2007-03-103-8/+72
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18062 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add chrt applet.aldot2007-03-092-0/+17
| | | | | | | | | 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