aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* libbb: introduse and use signal_[no_]SA_RESTART_empty_mask and sigaction_setDenis Vlasenko2008-03-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | signal_SA_RESTART_empty_mask - 65 +65 signal_no_SA_RESTART_empty_mask - 54 +54 dd_main 1325 1369 +44 sigaction_set - 19 +19 dname_enc 373 377 +4 UNSPEC_print 64 66 +2 setsignal 296 294 -2 bb_signals_recursive 95 92 -3 bb_askpass 367 361 -6 inetd_main 1810 1797 -13 rx_main 912 883 -29 sigdelset 32 - -32 __sigdelset 32 - -32 __GI_sigdelset 32 - -32 sighup_handler 84 37 -47 arping_main 1844 1797 -47 fsck_main 1869 1807 -62 run_list 1917 1844 -73 vlock_main 492 409 -83 progressmeter 883 798 -85 handle_incoming_and_exit 2737 2651 -86 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 3/12 up/down: 188/-632) Total: -444 bytes
* inetd: make it NOMMU-capable and IPv6-friendly. Lots of renamesDenis Vlasenko2008-03-122-14/+21
| | | | | | | | | | of variable/function names Total: -2474 bytes text data bss dec hex filename 802215 661 7452 810328 c5d58 busybox_old 800120 661 7428 808209 c5511 busybox_unstripped
* crond: make it NOMMU-capableDenis Vlasenko2008-03-122-9/+9
| | | | | | | | | | | | | | | | | | | | | | | function old new delta safe_setenv4 - 62 +62 ForkJob 472 511 +39 change_identity 21 57 +36 ParseField 564 571 +7 SynchronizeDir 178 176 -2 LogLevel 4 - -4 LogFile 4 - -4 FileBase 4 - -4 DebugOpt 4 - -4 CDir 4 - -4 DeleteFile 141 132 -9 packed_usage 24248 24228 -20 crondlog 157 113 -44 change_identity_e2str 54 - -54 SynchronizeFile 729 671 -58 crond_main 1555 1404 -151 ------------------------------------------------------------------------------ (add/remove: 1/6 grow/shrink: 3/6 up/down: 144/-358) Total: -214 bytes
* fixups to vi usage, and move the initial redraw() past thePaul Fox2008-03-061-1/+5
| | | | | execution of commands supplied by -c or EXINIT, so their effect is displayed correctly.
* libbb: inntroduce and use bb_pstrcmp() and qsort_string_vector()Denis Vlasenko2008-03-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | msh: glob0/glob1/glob2/glob3 are just a sorting routine! remove them. bb_pstrcmp - 25 +25 qsort_string_vector - 24 +24 expand 2209 2227 +18 getopt32 1359 1370 +11 passwd_main 1072 1074 +2 handle_incoming_and_exit 2737 2735 -2 UNSPEC_print 66 64 -2 forkexec 1343 1339 -4 input_tab 3338 3330 -8 get_dir 185 177 -8 expmeta 481 473 -8 cmdputs 405 397 -8 xstrcmp 12 - -12 find_pair 187 167 -20 match_compare 25 - -25 dir_strcmp 25 - -25 glob2 27 - -27 glob3 34 - -34 glob1 256 - -256 ------------------------------------------------------------------------------ (add/remove: 2/6 grow/shrink: 3/8 up/down: 80/-439) Total: -359 bytes
* *: add optimization barrier to all "G trick" locationsDenis Vlasenko2008-02-271-3/+7
|
* script: new applet by Pascal Bellard <pascal.bellard AT ads-lu.com>Denis Vlasenko2008-02-273-0/+11
|
* sendmail: yet another maintainer's updateDenis Vlasenko2008-02-271-4/+2
|
* sendmail: update from maintainerDenis Vlasenko2008-02-261-8/+8
|
* syslogd: optional support for dropping dups. closes bug 436.Denis Vlasenko2008-02-261-12/+14
|
* ifenslave: new applet. closes bug 115.Denis Vlasenko2008-02-262-0/+27
|
* *: intrduce and use safe_gethostname. By Tito <farmatito AT tiscali.it>Denis Vlasenko2008-02-251-0/+2
| | | | | | | | | | | | | | | | | | | | | safe_gethostname - 48 +48 glob3 35 37 +2 timestamp_and_log 314 315 +1 udhcp_send_kernel_packet 234 231 -3 scan_tree 275 271 -4 passwd_main 1074 1070 -4 print_login_prompt 68 58 -10 obscure 392 377 -15 syslogd_main 882 866 -16 print_login_issue 516 478 -38 hostname_main 278 223 -55 parse_and_put_prompt 825 756 -69 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/9 up/down: 51/-214) Total: -163 bytes text data bss dec hex filename 798791 728 7484 807003 c505b busybox_old 798631 728 7484 806843 c4fbb busybox_unstripped
* lpd: spool mode added by VladimirDenis Vlasenko2008-02-252-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | lpr: more robust error reporting *: introduce and use xchroot libbb: full_read/write now will report partial data counts prior to error isdirectory.c: style fixes lpd_main 249 486 +237 xchroot - 29 +29 get_response_or_say_and_die 110 139 +29 full_write 52 60 +8 full_read 55 63 +8 static.newline 1 - -1 switch_root_main 404 400 -4 chpst_main 1089 1079 -10 getopt32 1370 1359 -11 chroot_main 115 101 -14 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 4/4 up/down: 311/-40) Total: 271 bytes text data bss dec hex filename 798472 728 7484 806684 c4f1c busybox_old 798775 728 7484 806987 c504b busybox_unstripped
* lpd: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>Denis Vlasenko2008-02-242-0/+7
|
* lpr,lpq: rework by dronnikov AT gmail.comDenis Vlasenko2008-02-242-8/+9
|
* less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1)Denis Vlasenko2008-02-241-0/+1
| | | | | *: minor shrink
* less: update line input so that it doesn't interfere withDenis Vlasenko2008-02-231-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | screen update. Makes "man bash", [enter], [/], <enter search pattern>, [enter] more usable - manpage draws as you enter the pattern! Yay!! less: fix bug where backspace wasn't actually deleting chars less: "examine file with empty name" doesn't abort anymore. libbb: add "all fatal signals" mask. getch_nowait - 207 +207 status_print - 105 +105 examine_file 64 87 +23 move_cursor - 16 +16 m_status_print 185 195 +10 less_main 1656 1663 +7 decode_format_string 790 795 +5 test_main 403 405 +2 process0_stdin 247 249 +2 passwd_main 1070 1072 +2 less_gets 196 178 -18 buffer_print 169 71 -98 less_getch 362 138 -224 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 7/3 up/down: 379/-340) Total: 39 bytes text data bss dec hex filename 798329 740 7484 806553 c4e99 busybox_old 798368 740 7484 806592 c4ec0 busybox_unstripped
* lpr and lpq applets by Walter Harms.Denis Vlasenko2008-02-222-0/+21
| | | | | | | | text data bss dec hex filename 392 0 0 392 188 lpq.o 1378 0 0 1378 562 lpr.o 142 0 0 142 8e parse_prt.o
* libbb: introduce and use nonblock_safe_read(). Yay!Denis Vlasenko2008-02-201-0/+2
| | | | | | | | | | | | | | | | | 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
* chat: new applet by dronnikov AT gmail.com. With all options on:Denis Vlasenko2008-02-182-0/+10
| | | | | | | | | | | | | | | | 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
* support for mount by label (not yet tested)Denis Vlasenko2008-02-182-0/+29
| | | | | Also adds findfs applet. Closes bug 1143.
* mount: recognize "dirsync" (closes bug 835)Denis Vlasenko2008-02-181-2/+2
| | | | | | mount: sanitize environ if called by non-root *: adjust for slightly different sanitize routine
* libbb: introduce and use xrename and rename_or_warn.Denis Vlasenko2008-02-171-0/+2
|
* mount: make -f work even without mtab supportDenis Vlasenko2008-02-161-1/+3
| | | | | (Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>)
* libbb: introduce bb_signals and bb_signals_recursive,Denis Vlasenko2008-02-161-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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
* *: more readable handling of pipe fds. No code changes.Denis Vlasenko2008-02-162-3/+8
|
* random s/short/int/Denis Vlasenko2008-02-162-3/+3
| | | | | | | | | add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
* crontab: almost complete rewriteDenis Vlasenko2008-02-161-8/+7
| | | | | | | | | | | | | | | | | | | 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
* we need to pass back the rtc device name that was actually used so that we ↵Mike Frysinger2008-02-151-1/+1
| | | | can turn around and check its sysfs status
* split some rtc funcs out of hwclock and into an rtc header/lib so that the ↵Mike Frysinger2008-02-153-0/+97
| | | | new rtcwake applet as well as hwclock can utilize the same code
* sendmail is lexically after selinux, so fix the orderMike Frysinger2008-02-151-1/+1
|
* fix microcom usageMike Frysinger2008-02-151-5/+5
|
* tar: real support for -p. +200 if selected.Denis Vlasenko2008-02-141-0/+4
| | | | | By Natanael Copa <natanael.copa at gmail.com>
* umount: instead of non-standard -D, use -d with opposite meaningDenis Vlasenko2008-02-141-1/+1
| | | | | | | | | | | | | (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
* tar: move FNM_LEADING_DIR #define to tar.c - no other users.Denis Vlasenko2008-02-131-6/+0
| | | | | Closes bug 1332.
* mkswap: fix help text to not lie about supported options.Denis Vlasenko2008-02-131-28/+33
| | | | | | mkswap: use uint32, not int, to match kernel. mkswap: optimization: use pre-zeroed buffer
* hush: reinstate `cmd` handling for NOMMU (with fat big warning).Denis Vlasenko2008-02-101-0/+3
| | | | | | | | | | 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)
* microcom: split -d (delay) option away from -tDenis Vlasenko2008-02-091-2/+8
|
* mktemp: don't advertise -q optionDenis Vlasenko2008-02-091-1/+1
|
* mktemp: support -p DIR (Timo Teras <timo.teras at iki.fi>)Denis Vlasenko2008-02-091-2/+8
| | | | | | packed_usage 23595 23660 +65 mktemp_main 139 157 +18
* sendmail: update from maintainerDenis Vlasenko2008-02-082-21/+27
|
* README: doccument the need of CONFIG_DESKTOPDenis Vlasenko2008-02-081-2/+2
| | | | | | | | | 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
* - add eject -s for SCSI- and USB-devices (Nico Erfurth)Bernhard Reutner-Fischer2008-02-081-0/+3
|
* some more fixes for cross-compiling on an OS X host: apple provides core ↵Mike Frysinger2008-02-072-6/+16
| | | | types so dont redefine them, sys/statfs.h is not available, and only use some newer AF_* defines if they are actually available
* only include mntent.h according to HAVE_MNTENT_H and dont define this on OS XMike Frysinger2008-02-072-2/+5
|
* udhcp: optional support for non-standard DHCP ports (+300 bytes when selected)Denis Vlasenko2008-02-041-3/+12
|
* unzip: do not try to read entire compressed stream at once (it can be huge)Denis Vlasenko2008-02-041-1/+1
| | | | | unzip: handle short reads correctly
* msh: fix Ctrl-C handling with line editingDenis Vlasenko2008-02-021-3/+2
|
* sendmail: fixes by Vladimir Dronnikov <dronnikov at gmail.com>Denis Vlasenko2008-02-021-7/+9
|
* - be C99 friendly. Anonymous unions are a GNU extension. This change isBernhard Reutner-Fischer2008-01-292-5/+4
| | | | | size-neutral WRT -std=gnu99 and fixes several compilation errors for strict C99 mode.