aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
AgeCommit message (Collapse)Author
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-09factor out NOFORK/NOEXEC code from find. Use it for xargs too.Denis Vlasenko
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-08getopt32: 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-08find: fix handling of -pruneDenis Vlasenko
recursive_actions: uppercase flag constants
2007-04-07random small shrinkage and elimination of staticsDenis Vlasenko
2007-04-05[u]mount: extend -t option (Roy Marples <uberlord@gentoo.org>)Denis Vlasenko
2007-04-05libbb: add xunlink()Denis Vlasenko
patch: do not try to delete same file twice
2007-04-05nc: port nc 1.10 to busyboxDenis Vlasenko
2007-04-03udpsvd: more work on it. works in limited testing.Denis Vlasenko
2007-04-02test: comment out unused codeDenis Vlasenko
udpsvd: fake it compile tcpsvd: more optimal memorizing of IP's for -C
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-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-27make pidfile writing configurable.Denis Vlasenko
[ui]toa_to_buf: change API. No users yet.
2007-03-26zcip: make it work on NOMMU (+ improve NOMMU support machinery)Denis Vlasenko
fsck: fix bad English in a comment
2007-03-26Attempt 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-26libbb: rework NOMMU helper API so that it makes more senseDenis Vlasenko
and easier to use. Doesn't compile - need two more commits.
2007-03-25add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyDenis Vlasenko
2007-03-24#ifdef out re_execed on MMU machinesDenis Vlasenko
2007-03-24NOMMU 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-20fix accumulated whitespace and indentation damageDenis Vlasenko
2007-03-18include <stddef.h> so that ptrdiff_t is again availableDenis Vlasenko
2007-03-17punt useless header as pointed out by src.obsolete.headersMike Frysinger
2007-03-15gzip: Improve ptr_to_globals trick, allowing gccDenis Vlasenko
to optimize better. -480 bytes.
2007-03-15networking/interface.c: was doing really strange caching of fd'sDenis Vlasenko
open for getting ifconfig data - ??! Simplified all that. -200 bytes.
2007-03-15modify ptr_to_globals trick so that we do not violateDenis Vlasenko
type safety (well, sort of ;))
2007-03-14arp, networking/interface.c: eliminate staticsDenis Vlasenko
and unneeded on-stack buffers, disable (comment out) some apparently unused (and buggy) code paths. -700 bytes.
2007-03-14stop using big static buffer for inode hashDenis Vlasenko
2007-03-14gzip: bbunzip integration fixesDenis Vlasenko
2007-03-12introduce and use setfscreatecon_or_dieDenis Vlasenko
(patch by Yuichi Nakamura <ynakam@hitachisoft.jp>) runcon: *yet another* fix for vda's brainfart :(
2007-03-11next portion of selinux updates: chcon, runcon. FromDenis Vlasenko
Yuichi Nakamura <himainu-ynakam@miomio.jp> KaiGai Kohei <busybox@kaigai.gr.jp>
2007-03-10selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)Denis Vlasenko
2007-03-09diff: failed to confirm "static bug" in gcc - reinstating statics.Denis Vlasenko
microscopic code improvements.
2007-03-07clean up accumulated whitespace damageDenis Vlasenko
2007-03-06ifupdown: code to deconstruct the state_list gracefullyDenis Vlasenko
(patch by Gabriel L. Somlo <somlo@cmu.edu>)
2007-02-26start_stop_daemon: add -chuid supportDenis Vlasenko
2007-02-17sort: fix multiple -k (was ignoring all except last)Denis Vlasenko
2007-02-17init: code readability enhancements; very small code changesDenis Vlasenko
2007-02-17klogd: code de-obfuscation with small code size reductionDenis Vlasenko
2007-02-11syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko
libbb: rename xgetcwd and xreadlink
2007-02-09ping: support -I addr in family neutral manner; reuse a bit of common codeDenis Vlasenko
2007-02-08make sure ps/top output what they claim: vsz, not rss ... down the line we ↵Mike Frysinger
should make the output controllable either at runtime or buildtime as both statistics are quite useful
2007-02-07tftp: fix IPv6 falloutDenis Vlasenko
2007-02-07fix #ifdef ENABLE_xxx -> #ifDenis Vlasenko
2007-02-06new applets: selinux utils by KaiGai Kohei <kaigai@kaigai.gr.jp>Denis Vlasenko
2007-02-06EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko
2007-02-04udhcp: use improved gethostbyname replacement from IPv6 codeDenis Vlasenko
2007-02-04ifconfig: use IPv6 infrastructureDenis Vlasenko
2007-02-04mount: (try to) support cifs with IPv6Denis Vlasenko