aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-20ifplugd: eliminate aliasing warningsDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-20sighandler_t definition for BSDChris Rees
Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-18hush: improve prompt in nested {}s, remove unused in_str->promptme memberDenys Vlasenko
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>
2011-01-18hush: fix "cmd & <newline>" problemDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-18mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-18disable automatic selection of FEATURE_SUID; improve its help textDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-17insmod: check for module read errorsDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-17libbb: better comment in parse_dateDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-16move passwd, shadow, group and gshadow path definitions to libbb.hTito Ragusa
...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>
2011-01-16remove a few aliasing warningsDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-16remove a few aliasing warningsDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-13top: add keyboard commands to --helpDenys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-11httpd: send correct mtime for .gz filesDenys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-11libbb unicode: comment out usused function and unused parameterDenys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-11lsmod: fox unsafe usage of strlen() - 1Denys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-10libbb: progress indicator: use unicode support funcs instead of open-coding itDenys Vlasenko
function old new delta bb_progress_update 729 641 -88 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-10tftp: fix bad interaction betweel poll() and alarm(). Closes bug 3061Denys Vlasenko
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>
2011-01-09stop giving root rights to dnsd, ipcrm, ipcsDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-09getty: fix -i (was ignored)Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-09modprobe-small: support compressed modules in insmodDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-07hush: fix wrong prompt problem on empty interactive commantsDenys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-07suppress "'fast_strtol_10' defined but not used" warningDenys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-05mkswap: selinux build fixDenys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-04tar: add a note about -C and symlink-in-tarball attackDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-01-03explain every non-SUID_DROP applet. No code changesDenys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-03kill[all[5]],pkill: make signal list show signal numbers, and show RTMIN/MAXDenys Vlasenko
function old new delta print_signames 31 64 +33 signals 224 231 +7 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2011-01-03kill[all[5]],pkill: more correct, and smaller, SIGRTMIN/MAX codeDenys Vlasenko
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>
2011-01-02date,touch: treat 2-digit years better (fit them into +-50 yrs around today)Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-31date: preserve isdst value if date is in time_t (unix time) formatAlexey Soloviev
Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-31su: document -l in --help text. Closes bug 2761Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-31add missed underscoreDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-30date: add a comment about _SVID_SOURCEDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-30bzip2: plug memory leak on every processed fileDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-30libbb: optionally support RTMIN[+n] and RTMAX[-n] signal namesDenys Vlasenko
function old new delta get_signum 140 336 +196 __libc_allocate_rtsig - 56 +56 __libc_current_sigrtmin - 6 +6 __libc_current_sigrtmax - 6 +6 current_rtmin - 4 +4 current_rtmax - 4 +4 bbconfig_config_bz2 4961 4962 +1 ------------------------------------------------------------------------------ (add/remove: 6/0 grow/shrink: 2/0 up/down: 273/0) Total: 273 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-30blkid: optional support for TYPE="fstype"Denys Vlasenko
Adapted from patch created by T4ndeta <t4ndeta@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-28plug a DIR* leak on error pathDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-28modprobe: add -D option (synonym of --show-depends)Serj Kalichev
The modern module-init-tools 3.12 has "-D" option and it works. The --show-depends and -a options can be used together due to upstream modprobe behaviour. function old new delta do_modprobe 536 579 +43 packed_usage 28035 28042 +7 modprobe_main 653 657 +4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 54/0) Total: 54 bytes Signed-off-by: Serj Kalichev <serj.kalichev@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-27login: apply PAM environmentIan Wienand
login should apply the PAM environment modified by plugins such as pam_env. Other 'login's do a similar thing. I tested this by setting some env variables with pam_env which were correctly applied. Signed-off-by: Ian Wienand <ianw@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-26cpio: allow cpio -i to take params - names of files to extractDenys Vlasenko
Also, improve help text function old new delta packed_usage 28028 28035 +7 cpio_main 542 532 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 7/-10) Total: -3 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-26modprobe: add support for --show-dependsSerj Kalichev
function old new delta modprobe_longopts - 16 +16 packed_usage 28018 28028 +10 modprobe_main 648 653 +5 do_modprobe 580 536 -44 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/1 up/down: 31/-44) Total: -13 bytes Signed-off-by: Serj Kalichev <serj.kalichev@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-25init: simpler handling of leading dash in commandsDenys Vlasenko
function old new delta init_exec 233 219 -14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-25udhcpc: document SIGUSRn effect in help textDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-21hush: fix FEATURE_CLEAN_UP code (was freeing unallocated memory)Denys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-12-20sendmail: remove forgotten commenting-out on a "if (verbose)"Denys Vlasenko
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-12-20mailutils/*: add verbose option to sendmail; remove -m and -j from makemimeDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-20test: add examples when "%s: unknown operand" happensDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-20ls: remove redundant constants LIST_FILENAME and LIST_SHORTJames Youngman
LIST_FILENAME is always true and LIST_SHORT affects nothing. Signed-off-by: James Youngman <jay@gnu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-19ls: add support for -HDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-19volume_id: recognize compressed hibernate swap signatureJames Hunt
util-linux/volume_id/linux_swap.c: Added the new magic LINHIB0001 signature. See: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/683605 Signed-off-by: James Hunt <james.hunt@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-12-19ls: tweak -e handling; better commentsDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>