Denys Vlasenko
16efe19128
dhcpd: string reuse
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 18:44:52 +02:00
Denys Vlasenko
8f2e99c813
udhcp: get rid of bb_info_msg()
...
function old new delta
udhcpd_main 1501 1531 +30
d6_recv_raw_packet 251 264 +13
perform_d6_release 188 198 +10
udhcpc6_main 2443 2449 +6
udhcp_recv_raw_packet 582 588 +6
udhcp_recv_kernel_packet 132 138 +6
send_d6_renew 140 146 +6
d6_recv_kernel_packet 118 124 +6
send_renew 77 82 +5
send_discover 85 90 +5
send_decline 84 89 +5
send_d6_select 97 102 +5
send_d6_discover 174 179 +5
perform_release 167 172 +5
count_lines 72 74 +2
udhcpc_main 2836 2837 +1
bb_info_msg 125 - -125
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 17/4 up/down: 117/-180) Total: -63 bytes
text data bss dec hex filename
924935 906 17160 943001 e6399 busybox_old
924736 906 17160 942802 e62d2 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 18:41:23 +02:00
Denys Vlasenko
80f0f1d712
setfiles: switch bb_info_msg to printf
...
Presumably, bb_info_msg was used here for syslog logging (-l),
but there is no actual code to activate syslog logging.
Added a TODO note on that, so that selinux users would notice
and fix if needed.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 18:17:35 +02:00
Denys Vlasenko
2a17fbe88a
sulogin: use bb_error_msg instead of bb_info_msg; better message
...
Historic "System Maintenance Mode" message is a tiny bit cryptic.
Let's say explicitly what we are doing: we are giving user a shell
(presumably to do some maintenance in single-user mode).
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 17:36:20 +02:00
Denys Vlasenko
32c08acba3
sulogin: remove suid paranoia code, explain why it's not necessary
...
function old new delta
sulogin_main 325 270 -55
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 17:27:32 +02:00
Denys Vlasenko
8ac6effb02
sulogin: Dorp incorrect comment about suid-ness
...
Sulogin is not a suid app, should fail if run by non-root.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 16:50:19 +02:00
Denys Vlasenko
c418f48d8d
fsck: use printf for message, not bb_info_msg
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 16:30:24 +02:00
Denys Vlasenko
3b757f0798
mkfs_vfat: use bb_error_msg for logging, not bb_info_msg
...
This affects only a commented-out code section which searches for bad blocks
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 16:23:10 +02:00
Denys Vlasenko
cde1199e01
zcip: use bb_error_msg for logging, not bb_info_msg
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 16:22:13 +02:00
Denys Vlasenko
066e76befe
Replace a few more bb_info_msg's by bb_error_msg or printf
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 16:20:28 +02:00
Denys Vlasenko
76b680c7a8
Use bb_error_msg instead of bb_info_msg in all commented-out debug printouts
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-30 16:04:37 +02:00
Denys Vlasenko
9844d7e830
Revert "networking: properly initialize ipv6 scope id for printing it"
...
This reverts commit 2fb63292f7 .
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-29 19:27:00 +02:00
Denys Vlasenko
20dd499341
modprobe: skip non-.conf files only in subdirectories
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-29 19:23:55 +02:00
Denys Vlasenko
31c984dd69
umount: build fix for older glibc
...
Based on a patch by Veli-Pekka Peltola <veli-pekka.peltola@ray.fi >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-28 22:23:33 +02:00
Denys Vlasenko
73dfdda92e
grep: make errors other than "not found" result in exit code 2. Closes 8796
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-28 22:12:09 +02:00
Denys Vlasenko
6701e91d84
wget: make -T timeout work on header reads too. Closes 8636
...
function old new delta
set_alarm - 27 +27
fgets_and_trim 76 92 +16
wget_main 2610 2616 +6
open_socket 64 54 -10
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-17 21:52:42 +01:00
Denys Vlasenko
0d1b71e8e6
nmeter: reinstate and document -d-1
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-15 17:54:17 +01:00
Denys Vlasenko
41b1e2c392
nmeter: remove undocumented %NNNd specifier
...
function old new delta
nmeter_main 707 745 +38
init_functions 48 44 -4
init_delay 63 - -63
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/1 up/down: 38/-67) Total: -29 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-15 16:13:23 +01:00
Denys Vlasenko
a63e2a8cb2
nmeter: simple code shrink here and there
...
function old new delta
nmeter_main 709 707 -2
init_cr 15 12 -3
collect_time 141 131 -10
collect_cpu 610 593 -17
init_cpu 82 63 -19
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-51) Total: -51 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-15 16:06:29 +01:00
Denys Vlasenko
8a26fda98c
nmeter: convert field list to bit list
...
function old new delta
rdval 34 157 +123
collect_int 123 122 -1
collect_thread_nr 65 62 -3
collect_blk 559 552 -7
collect_if 207 199 -8
collect_fork 119 111 -8
collect_ctx 119 111 -8
collect_fd 81 71 -10
collect_swp 120 107 -13
collect_cpu 623 610 -13
collect_mem 371 339 -32
rdval_loadavg 38 - -38
vrdval 170 - -170
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 1/10 up/down: 123/-311) Total: -188 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-15 15:52:40 +01:00
Denys Vlasenko
99c71c9e80
nmeter: code shrink
...
function old new delta
put 52 43 -9
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-15 15:28:49 +01:00
Denys Vlasenko
e4de8c6316
nmeter: fix a bug with unterminated varargs
...
function old new delta
collect_mem 361 371 +10
collect_swp 116 120 +4
vrdval 168 170 +2
collect_thread_nr 63 65 +2
collect_int 121 123 +2
collect_if 205 207 +2
collect_fork 117 119 +2
collect_fd 79 81 +2
collect_ctx 117 119 +2
collect_cpu 621 623 +2
collect_blk 557 559 +2
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 11/0 up/down: 32/0) Total: 32 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-15 15:22:42 +01:00
Denys Vlasenko
fd5a2b7b04
New example config: android_502_defconfig
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-14 22:28:53 +01:00
Denys Vlasenko
23961b2fd3
more bionic fixes
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-14 19:34:15 +01:00
Denys Vlasenko
dbb58a3879
fixes for problems found by bionic build
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-14 18:23:33 +01:00
Denys Vlasenko
1b7c17391d
udhcpc: fix a warning in debug code
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-11 00:26:58 +01:00
Denys Vlasenko
d474ffc682
udhcp: fix a SEGV on malformed RFC1035-encoded domain name
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-10 11:47:58 +01:00
Denys Vlasenko
d2b820b540
renice: tweak help text
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-07 15:21:54 +01:00
Denys Vlasenko
ea351b9742
ls: fix columnar output. Closes 8731
...
In coreutils/ls.c, 1.19 introduced commit
2f7d9e8903 , removing the variable tabstops and
hard coding the column separation to 2 characters, but was not done correctly.
The column_width assumes a gap of 1 character, so the computed number of
columns exceeds the terminal width when many small files are encountered.
A minor problem but surprisingly annoying.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-06 17:53:11 +01:00
Denys Vlasenko
7849ccb61c
inotifyd: swap meaning of 'y' and 'm' events in help text. Closes 8726
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-06 17:35:16 +01:00
Denys Vlasenko
86d9f60f3a
udhcpc: do not use -t NUM for counting "select" packets, use 3
...
Otherwise, "-t 0" usage may end up sending them forever
if server does not respond.
function old new delta
udhcpc_main 2846 2836 -10
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-04 17:00:56 +01:00
Denys Vlasenko
aee7cd82be
ntpd: add experimental patch
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-04 07:36:04 +01:00
Denys Vlasenko
c8641962e4
ntpd: if peer does not reply anymore, try re-resolving its hostname
...
function old new delta
ntpd_main 1053 1130 +77
add_peers 166 195 +29
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-04 07:26:08 +01:00
Denys Vlasenko
f37f28199f
ntpd: do not use a peer more than once (say, if two peers resolve to the same IP)
...
function old new delta
add_peers 98 166 +68
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-04 07:06:53 +01:00
Denys Vlasenko
4c48a64747
ntpd: more informative poll lowering message
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-03 22:02:30 +01:00
Denys Vlasenko
35e063e1b9
ifupdowm: fix "warning: unused variable 'iface_list'"
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-03-03 02:19:16 +01:00
Denys Vlasenko
352f79acbd
udhcpc: fix OPTION_6RD parsing (could overflow its malloced buffer)
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-02-26 15:54:56 +01:00
Denys Vlasenko
5bec08cebd
udhcp: trivial shrink
...
function old new delta
dname_dec 337 332 -5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-02-26 14:56:18 +01:00
Denys Vlasenko
03718bb274
ntpd: print packet delay in clock update message
...
function old new delta
update_local_clock 820 826 +6
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-02-24 01:22:45 +01:00
Denys Vlasenko
8efcc9589b
networking: allow dot at the end of the domain name in dhcp response
...
Patch based on Balaji Punnuru <balaji.punnuru@gmail.com > work.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-02-11 17:44:44 +01:00
Denys Vlasenko
383201e725
ntpd: shorter message
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-02-10 07:06:31 +01:00
Denys Vlasenko
fc47fcefb6
ntpd: step when |offset| > 1 sec, not 0.125 sec
...
update_local_clock 769 820 +51
recv_and_process_peer_pkt 838 862 +24
reset_peer_stats 137 133 -4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 75/-4) Total: 71 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-02-10 06:55:07 +01:00
Denys Vlasenko
2a4bba3ce2
sed: make 's///w FILE' actually write to FILE. Closes 8251
...
function old new delta
add_cmd 1167 1210 +43
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-01-24 15:52:16 +01:00
Denys Vlasenko
eb5091070f
patch: correctly handle "patch FILE_TO_PATCH" form. Closes 7736
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-01-23 05:13:15 +01:00
Denys Vlasenko
c7e47cf627
dos2unix: try to preserve ownership. closes 8311
...
function old new delta
dos2unix_main 426 441 +15
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-01-17 03:50:36 +01:00
Denys Vlasenko
ccf7f0e4d3
setsid: implement -c
...
function old new delta
setsid_main 53 96 +43
packed_usage 30846 30833 -13
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-01-17 01:10:53 +01:00
Denys Vlasenko
bae8f98633
login: add commented-out PAM double password avoidance from BZ 4003
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2016-01-03 22:43:40 +01:00
Denys Vlasenko
911d265faf
mount: support "nofail" option. Closes 8551
...
function old new delta
singlemount 1045 1060 +15
mount_option_str 338 345 +7
mount_it_now 355 361 +6
mount_options 172 176 +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 32/0) Total: 32 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-12-30 20:11:34 +01:00
Denys Vlasenko
ce4bc1ed04
iproute: support "scope". Closes 8561
...
function old new delta
iproute_modify 1051 1120 +69
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-12-30 17:32:51 +01:00
Denys Vlasenko
6c634f7968
swaponoff: fix compile-time warning
...
CC util-linux/swaponoff.o
cc1: warnings being treated as errors
util-linux/swaponoff.c: In function 'swap_enable_disable':
util-linux/swaponoff.c💯 warning: passing argument 1 of 'resolve_mount_spec' from incompatible pointer type
make[1]: *** [util-linux/swaponoff.o] Error 1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-12-18 19:02:31 +01:00
Denys Vlasenko
196e400441
modutils: fix build error with !DEPMOD
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-11-06 15:50:28 +01:00
Denys Vlasenko
34adecc2b0
TODO file: remove mpstat, iostat, powertop - we have them now
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-11-04 19:39:54 +01:00
Denys Vlasenko
bc9bee01f3
hush-misc/func_args1.tests: remove "UNFIXED BUG", it does not fail
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-11-04 14:50:19 +01:00
Denys Vlasenko
2cf4591413
i2c_tools: suppress "'blen' may be used uninitialized in this function"
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-11-01 20:58:03 +01:00
Denys Vlasenko
6bd3fff51a
[g]unzip: fix recent breakage.
...
Also, do emit error message we so painstakingly pass from gzip internals
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-30 23:41:53 +01:00
Denys Vlasenko
ace833028f
stat: make -f optional. This allows to build stat for non-linux systems
...
function old new delta
packed_usage 30761 30706 -55
Based on the patch by Ron Yorston.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-30 22:10:44 +01:00
Denys Vlasenko
fe0dc34746
lineedit: FEATURE_REVERSE_SEARCH should not depend on SAVEHISTORY
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-30 21:39:19 +01:00
Denys Vlasenko
112889d706
hush: copy for.tests from ash testsuite
...
This test passes for hush
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-29 22:37:25 +01:00
Denys Vlasenko
7b14ede049
ash tests: make test print test name before it is run
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-29 20:34:20 +01:00
Denys Vlasenko
e2f32c02b1
ash: fix command -- crash
...
busybox sh -c 'command --' segfaults because parse_command_args
returns a pointer to a null pointer.
Based on commit 18071c7 from git://git.kernel.org/pub/scm/utils/dash/dash.git
by Gerrit Pape.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-29 19:46:40 +01:00
Denys Vlasenko
4c8576fea1
modinfo: fix "-F firmware", add "intree" field display
...
function old new delta
shortcuts - 52 +52
modinfo 317 330 +13
display 77 87 +10
packed_usage 30752 30761 +9
modinfo_main 351 345 -6
static.shortcuts 48 - -48
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 3/1 up/down: 84/-54) Total: 30 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-28 18:07:46 +01:00
Denys Vlasenko
4840325351
lzop: eliminate variable, use "int" as return type
...
Based on patch by Maxin B. John <maxin.john@intel.com >
function old new delta
pack_lzop 870 859 -11
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-28 15:33:19 +01:00
Denys Vlasenko
1de25a6e87
unzip: test for bad archive SEGVing
...
function old new delta
huft_build 1296 1300 +4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-26 19:33:05 +01:00
Denys Vlasenko
db700330d8
tweak defconfig
...
MONOTONIC_SYSCALL=y by default
FEATURE_LAST_SMALL is gone: now FEATURE_LAST_FANCY is a "bool", not a "choice".
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-25 20:36:03 +01:00
Denys Vlasenko
0269789537
inetd: make FEATURE_INETD_RPC off by default
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-25 20:10:46 +01:00
Denys Vlasenko
f98705a00c
dumpleases: string reuse
...
text data bss dec hex filename
926254 906 17160 944320 e68c0 busybox_old
926242 906 17160 944308 e68b4 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 20:45:10 +02:00
Denys Vlasenko
334e12ac6a
zcip: ...ad suppress the warning
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 19:15:44 +02:00
Denys Vlasenko
49d51598ac
zcip: do not query current time if we won't use the result
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 19:14:04 +02:00
Denys Vlasenko
bf1866c183
tweak zcip service example
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 18:57:32 +02:00
Denys Vlasenko
1a1cfedbef
Tweak README
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 14:58:58 +02:00
Denys Vlasenko
4f8ecf273c
update network service examples
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 14:55:33 +02:00
Denys Vlasenko
d32a1a4054
New example of a service: examples/var_service/zcip_if
...
Zeroconf for IPv4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 05:30:58 +02:00
Denys Vlasenko
9a51217668
dumpleases: make host names sanitized to shell-friendly condition
...
function old new delta
add_lease 271 298 +27
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 04:45:22 +02:00
Denys Vlasenko
941e7a4919
reuse a string
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 04:19:56 +02:00
Denys Vlasenko
cd13974b20
rmmod: fix bad error message
...
Before:
># busybox_old rmmod gtrhfhdfghdf
rmmod: can't unload 'gtrhfhdfghdf': unknown symbol in module, or unknown parameter
After:
># busybox rmmod gtrhfhdfghdf
rmmod: can't unload module 'gtrhfhdfghdf': No such file or directory
function old new delta
modprobe_main 726 721 -5
do_modprobe 599 590 -9
rmmod_main 187 169 -18
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-32) Total: -32 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 04:17:04 +02:00
Denys Vlasenko
2e9a0662bc
MODPROBE_SMALL is not experimental anymore
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 04:13:16 +02:00
Denys Vlasenko
049b007865
pmap: fix bogus {no such process} comm field text
...
function old new delta
read_cmdline 246 266 +20
procps_get_maps 196 193 -3
packed_usage 30413 30404 -9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 20/-12) Total: 8 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-24 03:45:57 +02:00
Denys Vlasenko
00da72bee0
tidy up strtok use
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-23 18:43:16 +02:00
Denys Vlasenko
59f8475924
httpd: fix heap buffer overflow. Closes 8426
...
function old new delta
send_headers 654 677 +23
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-23 11:49:04 +02:00
Denys Vlasenko
d3d6534b2a
wget: if stderr is not a tty, progress bar shouldn't use tty-tricks
...
function old new delta
bb_progress_update 706 768 +62
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-23 02:01:38 +02:00
Denys Vlasenko
641caaec3d
libbb: factor out code which queries screen width
...
function old new delta
get_terminal_width - 17 +17
stty_main 1196 1197 +1
pstree_main 321 319 -2
ls_main 735 731 -4
watch_main 232 225 -7
bb_progress_update 714 706 -8
ps_main 555 543 -12
run_applet_and_exit 708 695 -13
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/6 up/down: 18/-46) Total: -28 byte
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-23 01:44:22 +02:00
Denys Vlasenko
a960748748
tar: add a test that we don't write into symlinks
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-22 16:37:01 +02:00
Denys Vlasenko
accd9eeb71
remove systemd support
...
systemd people are not willing to play nice with the rest of the world.
Therefore there is no reason for the rest of the world to cooperate with them.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-22 16:01:57 +02:00
Denys Vlasenko
537389cedd
tar: fix files skipped with --strip_components not resetting selinux context
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-22 13:38:09 +02:00
Denys Vlasenko
f167e4503d
tar: shrink hardlink name handling code
...
function old new delta
data_extract_all 1069 1040 -29
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-22 13:30:34 +02:00
Denys Vlasenko
62ae323df0
tar: implement --version for buildroot
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-22 13:22:26 +02:00
Denys Vlasenko
6c563e370d
tar: add support for --strip-components=N
...
function old new delta
data_extract_all 882 995 +113
tar_longopts 290 309 +19
tar_main 938 942 +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 136/0) Total: 136 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-22 01:07:13 +02:00
Denys Vlasenko
c47917865d
login: explain -h HOST option better
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-21 16:06:40 +02:00
Denys Vlasenko
92e1b0826d
wget: make Bartosz's "wget --passive-ftp -nd -t 3" work
...
function old new delta
static.wget_longopts 166 234 +68
wget_main 2608 2610 +2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-20 21:51:52 +02:00
Denys Vlasenko
edcd5dcc9b
typo fix
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-20 18:15:01 +02:00
Denys Vlasenko
58d0e20ad0
scripts/trylink: remove $CPPFLAGS
...
We don't use it in final link, should not use it in check_FOO then.
This uncovered a logic bug in glibc check...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-20 16:40:43 +02:00
Denys Vlasenko
5134010d88
scripts/trylink: fix bit-rotted linker option verification
...
To that end, *make it complain* when check_cc fails on options
we usually want to succeed.
text data bss dec hex filename
929697 932 17692 948321 e7861 busybox-1.23.2/busybox
915361 911 17484 933756 e3f7c busybox-1.23.2.fixed/busybox
927725 932 17448 946105 e6fb9 busybox-1.24.0/busybox
913630 911 17240 931781 e37c5 busybox-1.24.0.fixed/busybox
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-20 16:16:16 +02:00
Denys Vlasenko
76efb3ed33
qemu_multiarch_testing/README: add a list of qemu's needed
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-20 12:58:37 +02:00
Denys Vlasenko
f2ccefb946
setarch: add support for '-R' (disable randomization)
...
This commit adds support for the -R flag of setarch, which disables
randomization of the virtual address space.
function old new delta
setarch_main 115 150 +35
packed_usage 30664 30651 -13
Signed-off-by: Jan Heylen <heyleke@gmail.com >
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-19 23:26:50 +02:00
Denys Vlasenko
0506e292b5
sort: fix ENDCHAR handling in "-kSTART,N.ENDCHAR"
...
function old new delta
get_key 505 503 -2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-19 19:27:26 +02:00
Denys Vlasenko
d1ed3e68b8
sort: code shrink
...
function old new delta
compare_keys 738 695 -43
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-19 19:13:06 +02:00
Denys Vlasenko
fd19faf705
remove extra debug printout
...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-19 14:48:24 +02:00
Denys Vlasenko
2e86a5c98d
sort: fix key with delimiters breakage
...
function old new delta
get_key 509 505 -4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-19 14:44:51 +02:00
Denys Vlasenko
3d0805e9e7
libbb: make parse_chown_usergroup_or_die() set unspecified uid/gid to -1
...
function old new delta
parse_chown_usergroup_or_die 102 115 +13
chown_main 190 175 -15
start_stop_daemon_main 1043 1027 -16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 13/-31) Total: -18 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-19 04:37:19 +02:00
Denys Vlasenko
526d85831e
libbb: get_uidgid() always called with allow_numeric=1
...
function old new delta
xget_uidgid 30 25 -5
make_device 2188 2183 -5
main 797 792 -5
get_uidgid 240 225 -15
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2015-10-19 04:27:17 +02:00