fli4l
  1. fli4l

busybox

Public
AuthorCommitMessageCommit dateIssues
Denys VlasenkoDenys Vlasenko
9ec836c033fwhois: limit total length of response to 32+2 kbfunction old new delta query 517 554 +37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
356f23de20binit: improve handling of signals racing with each otherBefore this change, a request to reboot could be "overwritten" by e.g. SIGHUP. function old new delta init_main 709 793 +84 packed_usage 33273 33337 +64 run_actions 109 117 +8 stop_handler ...
Denys VlasenkoDenys Vlasenko
113c776f4d2init: if tcgetattr() fails, don't even try to tcsetattr()function old new delta set_sane_term 111 114 +3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
259747caa7dhush: fix preprocessor directives indentationSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Tomi LeppanenTomi Leppanen
1b76ffaae40grep: add -RThis adds -R option to grep similar to GNU grep. It is the same as -r but also dereferences symbolic links to directories. function old new delta grep_main 834 850 +16 packed_usage 33362 33368 +6 grep_file 14...
Denys VlasenkoDenys Vlasenko
008413754babc: fix comparison bug, closes 12336function old new delta bc_num_cmp 249 259 +10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Alistair FrancisAlistair Francis
d3539be8f27Remove stime() function callsstime() has been deprecated in glibc 2.31 and replaced with clock_settime(). Let's replace the stime() function calls with clock_settime() in preperation. function old new delta rdate_main 197 224 +27 clock_settime - 27 +27 date_main ...
Denys VlasenkoDenys Vlasenko
419d0294e9eUpdated inittab example documentationSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Liu, Shuang (ADITG/ESM)Liu, Shuang (ADITG/ESM)
af6bc54fdefchgrp: correct the usage for non-desktop chgrp callsWhen IF_DESKTOP is not defined, chown and chgrp only takes option -R -h, However the usage output of chgrp is wrong: $ ./busybox.nosuid chown Usage: chown [-Rh]... USER[:[GRP]] FILE... $ ./busybox.nosuid chgrp Usage: chgrp [-RhLHP]... GROUP FILE... $ ./busybox.nosuid chgrp -H group dummy chgrp: invalid option -- 'H' Usage: chgrp [-RhLHP]... GROUP FILE... The chgrp is now a wrapper of...
Denys VlasenkoDenys Vlasenko
b230fdfa9dataskset: tighten the check for stride valuesfunction old new delta taskset_main 986 987 +1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
a82fb1b9d8ataskset: implement stride argumentfunction old new delta taskset_main 925 986 +61 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
2f57b5139e7unxz: show -t in --helpfunction old new delta packed_usage 33236 33247 +11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
e5586605ca3taskset: update commentSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
162ac7f45edtaskset: add support for taking/printing CPU list (-c option)function old new delta taskset_main 511 855 +344 Based on patch by Fryderyk Wrobel <frd1996@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
21806562ca6hush: restore redirected stdinfunction old new delta restore_redirects 52 95 +43 save_fd_on_redirect 243 253 +10 hfopen 90 99 +9 fgetc_interactive 259 261 +2 builtin_type ...
Denys VlasenkoDenys Vlasenko
ea096d6c138ntpd: decrease MIN_FREQHOLD by 2, increase "penalty" for largish offset x2> 2018-07-25: > ntpd: increase MIN_FREQHOLD by 3 > This means we'll start correcting frequency ~5 minutes after start, > not ~3.5 ones. > With previous settings I still often see largish ~0.7s initial offsets > only about 1/2 corrected before frequency correction kicks in, > resulting in ~200ppm "correction" which is then slowly undone. Review of real-world results of the above shows that with...
Jo-Philipp WichJo-Philipp Wich
6b4960155e9nslookup: implement support for SRV recordsAdd support for querying and parsing SRV DNS records. function old new delta send_queries 1711 1865 +154 qtypes 72 80 +8 Signed-off-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Jo-Philipp WichJo-Philipp Wich
8c3b520d4f9nslookup: handle replies without RRsUnder some circumstances, a DNS reply might contain no resource records, e.g. when a valid domain is queried that does not have records of the requested type. Example with nslookup from BIND dnsutils: $ nslookup -q=SRV example.org Server: 10.11.12.13 Address: 10.11.12.13#53 Non-authoritative answer: *** Can't find example.org: No answer Currently the busybox nslookup app...
Denys VlasenkoDenys Vlasenko
caf5ee0dd92gunzip: fix incorrect decoding of "fixed" inflate blocksfunction old new delta huft_build 1008 1022 +14 inflate_block 1253 1256 +3 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 17/0) Total: 17 bytes Signed-off-by: Deny...
Denys VlasenkoDenys Vlasenko
122a8cbd4a3hdparm: placate "warning: taking the absolute value of unsigned type"Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
9a0c404d5f7vi: placate "warning: shifting a negative signed value is undefined"Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
f39a71817earead_key(): placate "warning: shifting a negative signed value is undefined"Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
d6ff27de153ntpd: abs(tmx.offset) was truncating a "long" typed valueSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
b4ad1d86b62tc: array address is never NULLSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
e0761628976traceroute: fix gcc-ismSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
e5897d041d7suppress a few "unused function" warningsSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
1f1492bb96enetstat: suppress a warning (conversion from 'int' to 'smallint' changes value)Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
b4ef2e3467dMakefile.flags: suppress some clang-9 warningsSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
af7169b4a70clang/llvm 9 fix - do not eliminate a store to a fake "const"This is *much* better (9 kbytes better) than dropping "*const" optimization trick. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
e1a7c97ac64tar: fix fallout of: change -a from meaning "lzma" to mean "autodetect by extension"Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
be5a505d771Remove syscall wrappers around clock_gettime, closes 1209112091 "Direct use of __NR_clock_gettime is not time64-safe". function old new delta runsv_main 1698 1712 +14 startservice 378 383 +5 get_mono 31 25 -6 date_main ...
Denys VlasenkoDenys Vlasenko
7427406580eshell: better comments in BASE#nn codefunction old new delta evaluate_string 932 930 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
3ef513e7877shell/ulimit: code shrink text data bss dec hex filename 1001949 551 5612 1008112 f61f0 busybox_old 1001906 551 5612 1008069 f61c5 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
fb1103595f0gunzip: code shrink by using int-, not short-sized struct memberfunction old new delta inflate_block 1254 1253 -1 inflate_codes 629 621 -8 huft_build 1054 1008 -46 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shri...
Denys VlasenkoDenys Vlasenko
6572ef6e1e4gzip: code shrinkhuft_build() still has way too many params function old new delta lit - 94 +94 dist - 94 +94 huft_build 1058 1054 -4 inflate_block 1281 1...
Denys VlasenkoDenys Vlasenko
c7633924583gzip: code shrinkhuft_build() has way too many params function old new delta inflate_block 1293 1281 -12 huft_build 1085 1058 -27 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-39) ...
Denys VlasenkoDenys Vlasenko
95867147f5ctelnet: add disabled code to emit EC and IP> I'm trying to connect to a Korenix 3005 switch through telnet > for management purposes, and all is well except for the backspace character > - seems like my switch doesn't handle it too well and instead of erasing > the last character all it does is print some garbage to the screen. > I've had the same issue before while using putty, but saw a solution that > suggests to enable "Telnet speci...
Denys VlasenkoDenys Vlasenko
37a9008f8e8brctl: code shrinkfunction old new delta show_bridge 323 317 -6 brctl_main 2171 2164 -7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-13) Total: -13 bytes text data ...
James ByrneJames Byrne
ed79af77a47config: PID_FILE_PATH required for FEATURE_CROND_SPECIAL_TIMESWhen crond is built with FEATURE_CROND_SPECIAL_TIMES enabled, it creates a file called 'crond.reboot' at CONFIG_PID_FILE_PATH, but if FEATURE_PIDFILE is disabled, this will be an empty string and the file will be created in the root directory, which is undesirable. This commit makes PID_FILE_PATH depend on FEATURE_CROND_SPECIAL_TIMES as well as FEATURE_PIDFILE so that you get sensible behaviou...
Denys VlasenkoDenys Vlasenko
eb1395147aebrctl: tweak help text, fix commentsfunction old new delta packed_usage 33255 33236 -19 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
b4fa16d5ed5brctl: fold show_bridge_ports_ into its callerfunction old new delta brctl_main 2235 2171 -64 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
33987538180brctl: code shrinkpacked_usage 33253 33255 +2 write_uint 96 90 -6 show_bridge_timer 93 69 -24 brctl_main 2338 2235 -103 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shri...
Martin LewisMartin Lewis
6dcf563633dbrctl: add support for showstp commandfunction old new delta brctl_main 974 2339 +1365 show_bridge_timer - 93 +93 static.state_names - 48 +48 printf_xstrtou - 26 +26 packed_usage ...
Denys VlasenkoDenys Vlasenko
42f454b13b8dpkg-deb: work around bogus error message when working with XZ compressed packagesfunction old new delta unpack_xz_stream 2309 2317 +8 bb_full_fd_action 464 472 +8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Martin LewisMartin Lewis
7011eca83afreplace: count_strstr - Handle an edge case where sub is emptyIf sub is empty, avoids an infinite loop. function old new delta count_strstr 45 63 +18 Signed-off-by: Martin Lewis <martin.lewis.x84@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Martin LewisMartin Lewis
dd468612829libbb: Converted safe_read to safe_write formatChanged safe_read to be symmetrical to safe_write, it shall never return EINTR because it calls read multiple times, the error is considered transient. function old new delta safe_read 44 57 +13 Signed-off-by: Martin Lewis <martin.lewis.x84@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux...
Alistair FrancisAlistair Francis
ad27d44ebe9runsv: Use 64 prefix syscall if we have toSome 32-bit architectures no longer have the 32-bit time_t syscalls. Instead they have suffixed syscalls that returns a 64-bit time_t. If the architecture doesn't have the non-suffixed syscall and is using a 64-bit time_t let's use the suffixed syscall instead. This fixes build issues when building for RISC-V 32-bit with 5.1+ kernel headers. If an architecture only supports the suffixed sysca...
Alistair FrancisAlistair Francis
902d3992922time: Use 64 prefix syscall if we have toSome 32-bit architectures no longer have the 32-bit time_t syscalls. Instead they have suffixed syscalls that returns a 64-bit time_t. If the architecture doesn't have the non-suffixed syscall and is using a 64-bit time_t let's use the suffixed syscall instead. This fixes build issues when building for RISC-V 32-bit with 5.1+ kernel headers. If an architecture only supports the suffixed sysca...
Alistair FrancisAlistair Francis
b7b7452f292date: Use 64 prefix syscall if we have toSome 32-bit architectures no longer have the 32-bit time_t syscalls. Instead they have suffixed syscalls that returns a 64-bit time_t. If the architecture doesn't have the non-suffixed syscall and is using a 64-bit time_t let's use the suffixed syscall instead. This fixes build issues when building for RISC-V 32-bit with 5.1+ kernel headers. If an architecture only supports the suffixed sysca...
Michal KaziorMichal Kazior
1f1988d5256udhcpc: fix segmentation fault on empty bin optThe following caused udhcpc to segfault: busybox udhcpc -i lo -s /dev/null -x 0x3d: function old new delta udhcp_str2optset 629 641 +12 Signed-off-by: Michal Kazior <michal@plume.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>