aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2008-02-20libbb: introduce and use nonblock_safe_read(). Yay!Denis Vlasenko
Our shells are immune from this nasty O_NONBLOCK now! function old new delta nonblock_safe_read - 78 +78 file_get 276 295 +19 generateMTFValues 428 435 +7 read_line_input 1776 1772 -4 preadbuffer 543 450 -93 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/2 up/down: 104/-97) Total: 7 bytes text data bss dec hex filename 615190 715 23924 639829 9c355 busybox_old 615168 715 23924 639807 9c33f busybox_unstripped
2008-02-18chat: new applet by dronnikov AT gmail.com. With all options on:Denis Vlasenko
function old new delta chat_main - 1230 +1230 unescape - 135 +135 packed_usage 23802 23922 +120 signal_handler 123 131 +8 input_backward 123 128 +5 applet_names 1775 1780 +5 applet_main 1076 1080 +4 applet_nameofs 538 540 +2 exitcode - 1 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 6/0 up/down: 1510/0) Total: 1510 bytes
2008-02-18support for mount by label (not yet tested)Denis Vlasenko
Also adds findfs applet. Closes bug 1143.
2008-02-18mount: recognize "dirsync" (closes bug 835)Denis Vlasenko
mount: sanitize environ if called by non-root *: adjust for slightly different sanitize routine
2008-02-17libbb: introduce and use xrename and rename_or_warn.Denis Vlasenko
2008-02-16mount: make -f work even without mtab supportDenis Vlasenko
(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>)
2008-02-16libbb: introduce bb_signals and bb_signals_recursive,Denis Vlasenko
which sets same handler for many signals. sig_catch is nuked (bb_signals_recursive is more descriptive name). *: use them as appropriate. function old new delta bb_signals_recursive - 95 +95 bb_signals - 52 +52 run_command 258 273 +15 svlogd_main 1368 1377 +9 runsv_main 1746 1752 +6 runsvdir_main 1643 1646 +3 UNSPEC_print 64 66 +2 time_main 1128 1127 -1 ... resize_main 246 210 -36 sig_catch 63 - -63 set_fatal_sighandler 85 14 -71 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 5/24 up/down: 182/-548) Total: -366 bytes
2008-02-16*: more readable handling of pipe fds. No code changes.Denis Vlasenko
2008-02-16random s/short/int/Denis Vlasenko
add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
2008-02-16crontab: almost complete rewriteDenis Vlasenko
crontab: make options consistent with other implementations text data bss dec hex filename 2042 4 0 2046 7fe busybox.t1/miscutils/crontab.o 1331 0 0 1331 533 busybox.t2/miscutils/crontab.o function old new delta edit_file 733 956 +223 open_as_user - 171 +171 packed_usage 23652 23650 -2 CDir 8 4 -4 ChangeUser 139 - -139 crontab_main 1522 616 -906 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/3 up/down: 394/-1051) Total: -657 bytes
2008-02-15we need to pass back the rtc device name that was actually used so that we ↵Mike Frysinger
can turn around and check its sysfs status
2008-02-15split some rtc funcs out of hwclock and into an rtc header/lib so that the ↵Mike Frysinger
new rtcwake applet as well as hwclock can utilize the same code
2008-02-15sendmail is lexically after selinux, so fix the orderMike Frysinger
2008-02-15fix microcom usageMike Frysinger
2008-02-14tar: real support for -p. +200 if selected.Denis Vlasenko
By Natanael Copa <natanael.copa at gmail.com>
2008-02-14umount: instead of non-standard -D, use -d with opposite meaningDenis Vlasenko
(closes bug 1604) umount: do not try to free loop device or erase mtab if remounted ro umount: do not complain several times about the same mountpoint function old new delta umount_main 646 638 -8 packed_usage 23662 23652 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-18) Total: -18 bytes
2008-02-13tar: move FNM_LEADING_DIR #define to tar.c - no other users.Denis Vlasenko
Closes bug 1332.
2008-02-13mkswap: fix help text to not lie about supported options.Denis Vlasenko
mkswap: use uint32, not int, to match kernel. mkswap: optimization: use pre-zeroed buffer
2008-02-10hush: reinstate `cmd` handling for NOMMU (with fat big warning).Denis Vlasenko
hush: fix a case where none of pipe members could be started because of fork failure hush: rename functions: xxx_real -> xxx hush: try to add a bit more of vfork-friendliness hush: add rudimentary design docs hush: add TODO (newly discovered bug with globbing)
2008-02-09microcom: split -d (delay) option away from -tDenis Vlasenko
2008-02-09mktemp: don't advertise -q optionDenis Vlasenko
2008-02-09mktemp: support -p DIR (Timo Teras <timo.teras at iki.fi>)Denis Vlasenko
packed_usage 23595 23660 +65 mktemp_main 139 157 +18
2008-02-08sendmail: update from maintainerDenis Vlasenko
2008-02-08README: doccument the need of CONFIG_DESKTOPDenis Vlasenko
od: fix help text to include -t od: handle /proc files (which have filesize 0) correctly od: fix comments to not lie about return value od: "%u" is 1 byte less than "%zu" cat: fix English
2008-02-08- add eject -s for SCSI- and USB-devices (Nico Erfurth)Bernhard Reutner-Fischer
2008-02-07some more fixes for cross-compiling on an OS X host: apple provides core ↵Mike Frysinger
types so dont redefine them, sys/statfs.h is not available, and only use some newer AF_* defines if they are actually available
2008-02-07only include mntent.h according to HAVE_MNTENT_H and dont define this on OS XMike Frysinger
2008-02-04udhcp: optional support for non-standard DHCP ports (+300 bytes when selected)Denis Vlasenko
2008-02-04unzip: do not try to read entire compressed stream at once (it can be huge)Denis Vlasenko
unzip: handle short reads correctly
2008-02-02msh: fix Ctrl-C handling with line editingDenis Vlasenko
2008-02-02sendmail: fixes by Vladimir Dronnikov <dronnikov at gmail.com>Denis Vlasenko
2008-01-29- be C99 friendly. Anonymous unions are a GNU extension. This change isBernhard Reutner-Fischer
size-neutral WRT -std=gnu99 and fixes several compilation errors for strict C99 mode.
2008-01-28sendmail: new applet by dronnikov at gmail.comDenis Vlasenko
2008-01-28*: tidy up usage of char **environDenis Vlasenko
2008-01-24halt: update help textDenis Vlasenko
2008-01-24comment fixDenis Vlasenko
2008-01-17- correct helptext of stat (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer
2008-01-14- implement brctl setpathcost, setportprio, setbridgeprio, stpBernhard Reutner-Fischer
text data bss dec hex filename 907 20 0 927 39f networking/brctl.o
2008-01-13- shrink a bit and implement time related fancy features. Improve help texts.Bernhard Reutner-Fischer
text data bss dec hex filename 253 20 0 273 111 networking/brctl.o.bare 613 20 0 633 279 networking/brctl.o.fancy-time
2008-01-13- fix commentary typoBernhard Reutner-Fischer
2008-01-13- new applet brctlBernhard Reutner-Fischer
text data bss dec hex filename 289 20 0 309 135 networking/brctl.o 335 23 0 358 166 networking/brctl-verbose-ops.o
2008-01-08hush: report [v]fork failuresDenis Vlasenko
hush: more correct handling of piping config: add CONFIG_NOMMU
2008-01-06tac: new applet. ~240 bytes.Denis Vlasenko
Copyright (C) 2003 Yang Xiaopeng <yxp at hanwang.com.cn> Copyright (C) 2007 Natanael Copa <natanael.copa@gmail.com> Copyright (C) 2007 Tito Ragusa <farmatito@tiscali.it>
2008-01-06ps: fix overflow in USER and VSZ columnsDenis Vlasenko
function old new delta smart_ulltoa4 - 280 +280 smart_ulltoa5 283 408 +125 ulltoa6_and_space - 25 +25 scale 28 38 +10 bbunpack 358 366 +8 ps_main 259 261 +2 glob3 35 37 +2 fill_bounds 172 174 +2 process_stdin 456 446 -10 smart_ulltoa6 406 - -406 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 6/1 up/down: 454/-416) Total: 38 bytes
2008-01-05ps: add conditional support for -o [e]timeDenis Vlasenko
2008-01-02libbb: introduce and use safe_waitpid (loops in EINTR)Denis Vlasenko
*: use more approproate (shorter) versions of wait() function old new delta safe_waitpid - 48 +48 wait_any_nohang - 17 +17 send_tree 365 369 +4 processorstop 432 435 +3 text_yank 110 108 -2 make_human_readable_str 202 200 -2 crond_main 1368 1366 -2 handle_sigchld 49 43 -6 reapchild 166 159 -7 custom 260 250 -10 checkscript 191 177 -14 wait_nohang 17 - -17 wait_pid 43 - -43 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 2/7 up/down: 72/-103) Total: -31 bytes
2007-12-30libbb: introduce fputc_printable (from ed)Denis Vlasenko
netstat: print control chars as ^C etc vi: style fixlet function old new delta fputc_printable - 100 +100 unix_do_one 451 487 +36 printLines 258 190 -68 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 136/-68) Total: 68 bytes
2007-12-26Fix xmalloc_fgets_str so that it really does NOT strip terminator.Denis Vlasenko
Add xmalloc_fgetline_str which does strip terminator, and use it in dpkg instead of xmalloc_fgets_str. netstat: use xmalloc_fgets_str - allows to eat strings with NULs (this fixes bug with some weird /proc/net/unix input) function old new delta xmalloc_fgets_internal - 191 +191 xmalloc_fgetline_str - 18 +18 do_info 116 120 +4 unix_do_one 451 447 -4 tcp_do_one 423 419 -4 send_tree 369 365 -4 xmalloc_fgets_str 178 15 -163 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/4 up/down: 213/-175) Total: 38 bytes text data bss dec hex filename 778445 832 7344 786621 c00bd busybox_old 778483 832 7344 786659 c00e3 busybox_unstripped
2007-12-10udhcpc: support for -O <option>.Denis Vlasenko
Two important notes: * nissrv and nisdomain are not requested by default anymore! * inconsistency between "XXXsvr" and "XXsrv" in option names resolved, all are "XXXsrv" now. function old new delta udhcpc_main 2494 2600 +106 packed_usage 23023 23067 +44 add_requests 91 119 +28 static.udhcpc_longopts 209 226 +17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 195/0) Total: 195 bytes
2007-12-09find: add -iname support (Alexander Griesser <alexander.griesser@lkh-vil.or.at>)Denis Vlasenko