Dan Fandrich
|
71d7313625
|
platform.h: support for build under Android
Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-06-03 20:51:58 +02:00 |
|
Denys Vlasenko
|
e6df7e261e
|
libbb.h: small reordering
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-05-23 03:39:08 +02:00 |
|
Denys Vlasenko
|
9be4702a30
|
main: free suid_config list after use
function old new delta
run_applet_no_and_exit 438 450 +12
ifupdown_main 2147 2149 +2
writeFileToTarball 1325 1326 +1
pidof_main 244 245 +1
last_main 896 897 +1
grep_main 779 780 +1
find_list_entry2 121 122 +1
tar_main 835 833 -2
llist_unlink 28 26 -2
llist_rev 23 21 -2
main 791 782 -9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 7/4 up/down: 19/-15) Total: 4 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-05-16 12:21:31 +02:00 |
|
Denys Vlasenko
|
12a432715f
|
adduser: safe username passing to passwd/addgroup
passwd: support creating SHA passwords
random code shrink
function old new delta
crypt_make_pw_salt - 87 +87
adduser_main 883 904 +21
...
crypt_make_salt 99 89 -10
chpasswd_main 329 312 -17
packed_usage 28731 28691 -40
passwd_main 1070 1000 -70
cryptpw_main 310 224 -86
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/12 up/down: 154/-288) Total: -134 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-05-13 03:19:01 +02:00 |
|
Denys Vlasenko
|
89f5bfd6c3
|
libbb.h: use inlined sigfillset, sigemptyset, sigisemptyset on uclibc
text data bss dec hex filename
875879 493 7584 883956 d7cf4 busybox_old
875879 493 7584 883956 d7cf4 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-05-12 23:03:18 +02:00 |
|
Denys Vlasenko
|
80542bad2f
|
hush: make read builtin interruptible.
function old new delta
builtin_read 185 471 +286
check_and_run_traps 200 262 +62
nonblock_immune_read 73 119 +46
sigismember - 44 +44
record_signal - 21 +21
sigisemptyset - 16 +16
...
------------------------------------------------------------------------------
(add/remove: 5/0 grow/shrink: 7/5 up/down: 483/-46) Total: 437 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-05-08 21:23:43 +02:00 |
|
Denys Vlasenko
|
80c5b6893d
|
libbb: nonblock_safe_read->nonblock_immune_read, remove unused param of xmalloc_reads
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-05-08 21:21:10 +02:00 |
|
Denys Vlasenko
|
9180c6045e
|
tar: store negative mtime as 0; pack very large files using base-256 encoding
function old new delta
writeTarHeader 841 979 +138
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-05-04 21:14:12 +02:00 |
|
Denys Vlasenko
|
47061b4e9b
|
straighten out dprintf/fdprintf mess; remove old "define lchown chown"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-04-17 23:14:19 +02:00 |
|
Pere Orga
|
5bc8c005a8
|
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-04-11 03:29:49 +02:00 |
|
Denys Vlasenko
|
ca18311d0a
|
libbb: make set_nport accept pointer to sockaddr, not to len_and_sockaddr.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-04-07 17:52:20 +02:00 |
|
Pere Orga
|
6a3e01d5a9
|
move help text from include/usage.src.h to debianutils/*.c e2fsprogs/*.c editors/*.c loginutils/*.c mailutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-04-03 01:33:55 +02:00 |
|
Pere Orga
|
34425389e0
|
move help text from include/usage.src.h to coreutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-31 14:43:25 +02:00 |
|
Denys Vlasenko
|
2c4de5b045
|
ash,hush: optional support for $HISTFILESIZE.
Based on patch from Alexey Fomenko (ext-alexey.fomenko AT nokia.com)
function old new delta
size_from_HISTFILESIZE - 44 +44
hush_main 998 1025 +27
ash_main 1348 1374 +26
read_line_input 3361 3372 +11
new_line_input_t 17 24 +7
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-31 13:16:52 +02:00 |
|
Pere Orga
|
55068c478e
|
move help text from include/usage.src.h to console-tools/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-28 02:51:01 +02:00 |
|
Denys Vlasenko
|
6ec1510f71
|
applet_tables: do not include libbb.h, that header ir for target builds
...and applets/applet_tables.c is built on *host*.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-28 01:23:38 +02:00 |
|
Pere Orga
|
1f4447b2d4
|
move help text from include/usage.src.h to archival/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-27 22:40:30 +02:00 |
|
Roman Borisov
|
19311bfa7b
|
mount: add --rbind option support
Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-26 23:12:12 +01:00 |
|
Denys Vlasenko
|
20704f0662
|
ash,hush: recheck LANG before every line input
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-23 17:59:27 +01:00 |
|
Denys Vlasenko
|
e2e55b0eb5
|
wget: move help text to .c file
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-21 00:37:05 +01:00 |
|
Denys Vlasenko
|
681efe20d3
|
use user's shell instead of hardwired "/bin/sh" (android needs this)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-08 21:00:36 +01:00 |
|
Denys Vlasenko
|
115c35d68e
|
ftpd: better usage text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-08 03:01:10 +01:00 |
|
Bjørn Forsman
|
102b8bde3b
|
.gitignore: add missing ignores
Ignore output files created by "make defconfig; make".
Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-06 19:54:15 +01:00 |
|
Phil Sutter
|
293a8f250d
|
nameif: add matching by phy_address=NUM; extend help text
function old new delta
nameif_main 618 686 +68
packed_usage 28095 28149 +54
prepend_new_eth_table 295 338 +43
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 165/0) Total: 165 bytes
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-06 19:42:51 +01:00 |
|
Denys Vlasenko
|
b80acf58f1
|
tar: skip leading / and handle names like abc/..////def -> def (not ///def)
function old new delta
strip_unsafe_prefix - 105 +105
writeFileToTarball 557 520 -37
get_header_tar 1545 1462 -83
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-02 01:21:02 +01:00 |
|
Denys Vlasenko
|
5e29e26388
|
tar: on extract, everything up to and including last ".." is stripped
function old new delta
get_header_tar 1493 1545 +52
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-01 17:21:07 +01:00 |
|
Denys Vlasenko
|
7d65abea09
|
libbb: make user/group name cache strings longer (~27 chars)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-03-01 16:27:13 +01:00 |
|
Dan Fandrich
|
dc50676cce
|
Move stpcpy replacement function into libbb
Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-13 18:37:12 +01:00 |
|
Denys Vlasenko
|
4ed3c52ce9
|
mktemp: make it more compatible with GNU coreutils 8.4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-13 17:38:34 +01:00 |
|
Denys Vlasenko
|
ab8d00d64f
|
progress meter: fix bugs found in stall detection and unknown size logic
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-11 19:09:30 +01:00 |
|
Denys Vlasenko
|
d55e139649
|
progress meter: move file name to bb_progress_t. +20 bytes
We were doing expensive unicode conversion on every update
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-11 18:56:13 +01:00 |
|
Denys Vlasenko
|
805aa9fec9
|
progress bar: better overflow protection; more precise bar
function old new delta
bb_progress_update 639 749 +110
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-10 14:25:51 +01:00 |
|
Denys Vlasenko
|
698e8095fa
|
use unistd.h before _POSIX_VERSION
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-08 05:35:04 +01:00 |
|
Denys Vlasenko
|
66c5b12dbf
|
ash: fix TMOUT not restoring tty attributes
function old new delta
pgetc 420 500 +80
readtoken1 3202 3239 +37
read_line_input 3316 3337 +21
udhcpc_main 2610 2630 +20
file_get 266 272 +6
expandarg 958 963 +5
localcmd 257 259 +2
addLines 85 87 +2
read_line 94 95 +1
ed_main 2540 2541 +1
timed_out 1 - -1
lineedit_read_key 256 255 -1
alrm_sighandler 44 - -44
cmdloop 539 434 -105
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 10/2 up/down: 175/-151) Total: 24 bytes
text data bss dec hex filename
887379 936 17200 905515 dd12b busybox_old
887411 936 17192 905539 dd143 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-08 05:07:02 +01:00 |
|
Denys Vlasenko
|
dd807c16f9
|
incorporate header fixes proposed in bug 3097
Not sure these are *really* needed, but I suppose they don't hurt
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-07 14:58:57 +01:00 |
|
Denys Vlasenko
|
aef441cb4d
|
tar: fix a bug where autodetection messes up -z on extract
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-06 20:01:11 +01:00 |
|
Denys Vlasenko
|
046341e8bd
|
ash: optional support for $TMOUT variable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-04 17:53:59 +01:00 |
|
Denys Vlasenko
|
6307357eff
|
move nofork_save_area from libbb.h to vfork_daemon_rexec.c
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-02 19:05:25 +01:00 |
|
Denys Vlasenko
|
b72baeb003
|
hush: use FEATURE_SH_NOFORK to enable NOFORK trick
Also expands docs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-02 18:38:57 +01:00 |
|
Denys Vlasenko
|
c71b469f5d
|
libbb: make BB_EXECVP/LP try to exec real binary if there's no /proc/self/exe
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-02-02 03:28:56 +01:00 |
|
Denys Vlasenko
|
ea023eacad
|
disable length applet. ${#var} and echo -n "$var" | wc -c are portable equivalents
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-01-26 01:21:20 +01:00 |
|
Denys Vlasenko
|
8d0e0cdadf
|
move utmp.h include to libbb.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-01-25 23:21:46 +01:00 |
|
Davide Cavalca
|
9b3b9790b3
|
add ENABLE_FEATURE_SYSTEMD and use it in syslogd
Signed-off-by: Davide Cavalca <davide@geexbox.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-01-25 02:26:03 +01:00 |
|
Denys Vlasenko
|
975c714183
|
nicer looking ifdef in libbb/makedev.c
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-01-24 23:53:12 +01:00 |
|
Chris Rees
|
330718ef55
|
FreeBSD compat
Signed-off-by: Chris Rees <utisoft@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-01-24 17:07:06 +01:00 |
|
Chris Rees
|
e3c127d846
|
FreeBSD compat
Signed-off-by: Chris Rees <utisoft@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-01-24 17:04:59 +01:00 |
|
Denys Vlasenko
|
e9a40e3b91
|
libbb: make ndelay_no/off a bit more clever. +14 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-01-24 00:29:55 +01:00 |
|
Davide Cavalca
|
658a437d4b
|
hwclock: implement --systz
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>
|
2011-01-22 18:55:32 +01:00 |
|
Denys Vlasenko
|
1f4a987d47
|
pltaform.h: move include of stdint.h before uint16_t is used
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-01-22 17:31:35 +01:00 |
|
Denys Vlasenko
|
3a0f690dcd
|
svlogd: extend usage text. +70 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-01-22 00:38:24 +01:00 |
|