aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* getty: simplify macros; improve VSWTC[H] compatDenys Vlasenko2011-01-241-9/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* FreeBSD compat for match_fstypeChris Rees2011-01-241-1/+2
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* FreeBSD compat for makedevChris Rees2011-01-241-2/+8
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* FreeBSD compatChris Rees2011-01-242-6/+12
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* FreeBSD compatChris Rees2011-01-243-1/+13
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stty: make swtch and iutf8 visible/settableDenys Vlasenko2011-01-241-0/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: more simplifications; explain how we treat parity nowDenys Vlasenko2011-01-241-95/+93
| | | | | | | function old new delta getty_main 1471 1434 -37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: simplify code by going to more straignforward G trickDenys Vlasenko2011-01-241-275/+121
| | | | | | | function old new delta getty_main 1615 1475 -140 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: make ndelay_no/off a bit more clever. +14 bytesDenys Vlasenko2011-01-242-9/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: add sleep before initial tcdrain; reduce another sleep from 1 to 0.1sDenys Vlasenko2011-01-241-9/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: use cfsetspeed to save some bytes; cosmetic fixesDenys Vlasenko2011-01-241-30/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hwclock: implement --systzDavide Cavalca2011-01-222-24/+59
| | | | | | | | | | | | function old new delta hwclock_main 324 434 +110 packed_usage 28220 28259 +39 static.hwclock_longopts 53 60 +7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 156/0) Total: 156 bytes Signed-off-by: Davide Cavalca <davide@geexbox.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wc: fix swapped -c and -mDenys Vlasenko2011-01-221-8/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pltaform.h: move include of stdint.h before uint16_t is usedDenys Vlasenko2011-01-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: more correct check for O_RDWRDenys Vlasenko2011-01-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: comment out parity detection code; improve usage textDenys Vlasenko2011-01-221-40/+72
| | | | | | | | | | | function old new delta packed_usage 28155 28191 +36 static.erase 12 - -12 getty_main 1847 1621 -226 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/1 up/down: 36/-238) Total: -202 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* svlogd: extend usage text. +70 bytesDenys Vlasenko2011-01-222-7/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko2011-01-214-56/+69
|\
| * eliminate aliasing warnings in traceroute.c and udhcp/socket.cDenys Vlasenko2011-01-202-12/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * eliminate aliasing warning in networking/route.cDenys Vlasenko2011-01-202-36/+41
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ifplugd: eliminate aliasing warningsDenys Vlasenko2011-01-201-10/+14
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | fix compile error on non-x86 architecturesDenys Vlasenko2011-01-211-3/+4
|/ | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sighandler_t definition for BSDChris Rees2011-01-201-0/+6
| | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: improve prompt in nested {}s, remove unused in_str->promptme memberDenys Vlasenko2011-01-181-21/+11
| | | | | | | | | | | | | function old new delta setup_string_in_str 29 38 +9 parse_and_run_stream 79 88 +9 setup_file_in_str 32 39 +7 parse_stream 2430 2422 -8 file_get 262 235 -27 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 25/-35) Total: -10 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix "cmd & <newline>" problemDenys Vlasenko2011-01-181-5/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-1841-409/+409
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* disable automatic selection of FEATURE_SUID; improve its help textDenys Vlasenko2011-01-185-11/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* insmod: check for module read errorsDenys Vlasenko2011-01-172-2/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: better comment in parse_dateDenys Vlasenko2011-01-171-1/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move passwd, shadow, group and gshadow path definitions to libbb.hTito Ragusa2011-01-163-19/+17
| | | | | | | ...and define them only if the used libc doesn't. Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove a few aliasing warningsDenys Vlasenko2011-01-162-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove a few aliasing warningsDenys Vlasenko2011-01-162-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: add keyboard commands to --helpDenys Vlasenko2011-01-132-8/+29
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* httpd: send correct mtime for .gz filesDenys Vlasenko2011-01-111-0/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* libbb unicode: comment out usused function and unused parameterDenys Vlasenko2011-01-115-10/+11
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* lsmod: fox unsafe usage of strlen() - 1Denys Vlasenko2011-01-111-1/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* libbb: progress indicator: use unicode support funcs instead of open-coding itDenys Vlasenko2011-01-101-16/+4
| | | | | | | function old new delta bb_progress_update 729 641 -88 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* tftp: fix bad interaction betweel poll() and alarm(). Closes bug 3061Denys Vlasenko2011-01-102-28/+13
| | | | | | | | | | | | | | | This was breaking timeout handling. function old new delta tftp_progress_update - 45 +45 tftp_progress_done - 32 +32 tftp_protocol 1839 1858 +19 tftp_progress_init 9 15 +6 tftp_main 298 286 -12 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 2/1 up/down: 102/-12) Total: 90 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* stop giving root rights to dnsd, ipcrm, ipcsDenys Vlasenko2011-01-091-6/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: fix -i (was ignored)Denys Vlasenko2011-01-092-85/+67
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modprobe-small: support compressed modules in insmodDenys Vlasenko2011-01-091-2/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix wrong prompt problem on empty interactive commantsDenys Vlasenko2011-01-071-1/+10
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* suppress "'fast_strtol_10' defined but not used" warningDenys Vlasenko2011-01-071-1/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* mkswap: selinux build fixDenys Vlasenko2011-01-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* tar: add a note about -C and symlink-in-tarball attackDenys Vlasenko2011-01-041-0/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* explain every non-SUID_DROP applet. No code changesDenys Vlasenko2011-01-032-1/+19
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* kill[all[5]],pkill: make signal list show signal numbers, and show RTMIN/MAXDenys Vlasenko2011-01-031-1/+16
| | | | | | | | function old new delta print_signames 31 64 +33 signals 224 231 +7 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* kill[all[5]],pkill: more correct, and smaller, SIGRTMIN/MAX codeDenys Vlasenko2011-01-031-10/+19
| | | | | | | | | | | function old new delta __libc_current_sigrtmin 6 - -6 __libc_current_sigrtmax 6 - -6 get_signum 339 295 -44 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/1 up/down: 0/-56) Total: -56 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* date,touch: treat 2-digit years better (fit them into +-50 yrs around today)Denys Vlasenko2011-01-022-3/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: preserve isdst value if date is in time_t (unix time) formatAlexey Soloviev2010-12-312-1/+16
| | | | | Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>