fli4l
  1. fli4l

busybox

Public
AuthorCommitMessageCommit dateIssues
Peter KorsgaardPeter Korsgaard
80cb8796f86dpkg: fix CONFIG_FEATURE_CLEAN_UP handlingdpkg moved to away from dynamically allocating the hashtables in commit c87339d584 (dpkg: trivial code shrinkage, and redo G trick correctly) almost ten years ago, but the cleanup code was never adjusted to match. Glibc loudly complains about this: *** Error in `dpkg': free(): invalid pointer: 0x0000007fac3478c0 *** Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Denys Vl...
Patrick SteinhardtPatrick Steinhardt
ee67c9a60absetpriv: do not process remaining argsBy default, the 'getopt32' call will continue parsing the command line even after hitting a non-option string. But in setpriv, this should be avoided, as all parameters following the initial non-option argument are in fact arguments to the binary that is to be executed by setpriv. Otherwise, calling e.g. 'busybox setpriv ls -l' would result in an error due to the unknown parameter "-l". Fix th...
Denys VlasenkoDenys Vlasenko
8965e5089eftls: use capped SNI len everywhereSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
e916d48e5a3bzcat: compile bunzip2_main() if BZCAT.Currently, BZCAT (and BUNZIP2) selects FEATURE_BZIP2_DECOMPRESS, thus, "#if ENABLE_FEATURE_BZIP2_DECOMPRESS" around bunzip2_main() is sufficient. But let's robustify it. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
442d522f0bcfixes for bugs found by make_single_applets.shSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
ceaffde5116Bump version to 1.27.0Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
7fdb764e2e1scripts/randomtest: update things which can't be tested on uclibcSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
4ee824f6ba3randomconfig fixesSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
48c803a2064ash: fix $HOME/.profile reading if !ASH_EXPAND_PRMT, take 2Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
e9aba3e7ea4ash: fix 'trap - 65'Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
ba4fbca8a81udhcpc6: make -O OPT workPatch is based on work by tiggerswelt.net. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
ae2b9f286c9modutils: delete unused replace_underscores()Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
470bebe672fudhcpc6: add comments about option 39, no code changesSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
f56ddf2e4ceash: fix $HOME/.profile reading if !ASH_EXPAND_PRMTSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
9f4b4226a4dpgrep: implement -afunction old new delta pgrep_main 640 726 +86 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
234b82ca19audhcpc6: add support for timezonesBasedon patch by Bernd Holzmüller <bernd.holzmueller@tiggerswelt.net> function old new delta option_to_env 504 580 +76 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
4add757929apgrep: fix pgrep -flx "sleep 11" - saw "sleep 11" processes as "sleep 11 "function old new delta pgrep_main 584 597 +13 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
1c013fae284archival: add option -k "keep" to gzip/bzip2/lzop, add -U "nokeep" to lzopfunction old new delta bbunpack 745 779 +34 lzop_main 93 121 +28 do_lzo_compress 320 328 +8 packed_usage 31685 31653 -32 --------------------------------...
Denys VlasenkoDenys Vlasenko
5d72ae53c97fix "ifdef ENABLE_foo": should always be "#if ENABLE_foo"function old new delta pack_gzip 1729 1789 +60 fill_window 220 216 -4 static.gzip_level_config 24 - -24 gzip_main 275 192 -83 --------------------------------...
Denys VlasenkoDenys Vlasenko
45100b8d07aunshare: fix help text; select LONG_OPTS instead depending on themSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Assaf GordonAssaf Gordon
62d1e98fbd0setpriv: new appletAdd a minimal 'setpriv' implementation supporting the NO_NEW_PRIVS bit. Typical usage: $ busybox setpriv sudo uname Linux $ busybox setpriv --nnp sudo uname sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges? function old new delta packe...
André DraszikAndré Draszik
2f24d30d013iproute: support for filtering by and printing of scopeThis patch adds filtering by and printing of 'scope' to the ip route command, taken from the upstream ip command. x86_64: function old new delta iproute_list_or_flush 1548 1674 +126 print_route 2394 2469 +75 -------------------------------------------------------...
Ming LiuMing Liu
978307f8a19tar: add IF_FEATURE_* checksA following linking error was observed: | ========== | archival/lib.a(tar.o): In function `tar_main': | archival/tar.c:1168: undefined reference to `unpack_Z_stream' | archival/tar.c:1168: undefined reference to `unpack_Z_stream' | ld: busybox_unstripped: hidden symbol `unpack_Z_stream' isn't defined | ld: final link failed: Bad value this happened with clang compiler, with the following confi...
Stefan TomanekStefan Tomanek
192dce4b84fip rule: add suppress_{prefixlength,ifgroup} optionsfunction old new delta iprule_modify 816 887 +71 print_rule 610 680 +70 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 141/0) Total: 141 bytes Signed-off-by: Stef...
Youfu ZhangYoufu Zhang
6683d1cbb44ash: fix incorrect path in describe_command$ PATH=/extra/path:/usr/sbin:/usr/bin:/sbin:/bin \ > busybox sh -xc 'command -V ls; command -V ls; command -Vp ls; command -vp ls' + command -V ls ls is /bin/ls + command -V ls ls is a tracked alias for /bin/ls + command -Vp ls ls is a tracked alias for (null) + command -vp ls Segmentation fault describe_command should respect `path' argument. Looking up in the hash table may gives incorrect i...
Laurent BercotLaurent Bercot
2599937c4e5ls: fix support for long options when FEATURE_LS_COLOR is deselectedDeclaration of ls_longopts and initialization of applet_long_options were incorrectly guarded with ENABLE_FEATURE_LS_COLOR; that yielded a "ls: NO_OPT: \xff" error message when long options were selected and color support was not. This patch ensures long options are initialized separately from color support. Signed-off-by: Laurent Bercot <ska-dietlibc@skarnet.org> Signed-off-by: Denys Vlasenko...
Denys VlasenkoDenys Vlasenko
13d72c3fd97add/remove-shell: copy /etc/shells mode to new filefunction old new delta add_remove_shell_main 259 300 +41 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
f5470419404ash,hush: fix SIGCHLD interrupting read builtinfunction old new delta readcmd 169 217 +48 shell_builtin_read 1087 1097 +10 localcmd 366 364 -2 builtin_read 197 193 -4 --------------------------------...
James ByrneJames Byrne
0c63299b845sv: update to match version 2.1.2 of runitBackport from upstream versions: 2.1.2 Sun, 10 Aug 2014 18:01:54 +0000 * sv.c: properly format status command's output on failure cases. * sv.c: support optional LSB init script actions reload and try-restart. * sv.c: fix typo that may lead to wrong output from sv when reporting status of multiple service directories. 2.1.1 Sun, 04 Oct 2009 20:28:38 +0000 * sv.c: on 'down', sen...
Denys VlasenkoDenys Vlasenko
bcb5764822brunsv: update to match version 2.1.2 of runitBackport from upstream versions: 2.1.0 Thu, 24 Sep 2009 22:49:33 +0000 * runsv.c: exit with error if [log/]supervise/control exists, but is not a fifo. [Code abstracted into a separate function to make it more compact for BusyBox.] 1.9.0 Mon, 05 May 2008 22:00:13 +0000 * runsv.c: create temporary new status files for log/supervise/ actually in log/supervise/. 1.7.2 Tue, 21...
Denys VlasenkoDenys Vlasenko
79c0d7332absvlogd.c: support -ttt (dateTtime instead of date_time)Backport from upstream version: 1.7.0 Sat, 07 Oct 2006 18:24:17 +0000 * svlogd.c: new option -ttt: prefix log messages with sortable UTC timestamp YYYY-MM-DDTHH:MM:SS.xxxxx. function old new delta svlogd_main 1429 1454 +25 packed_usage 31575 31580 ...
Denys VlasenkoDenys Vlasenko
ed820ccda1audhcpc: do not accept --background on NOMMU (same as -b)Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
741bfa9a721udhcpc: fix "udhcpc -x hostname:<name> not working on nommu"Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
c5d16e92c16diff: fix -N and nonexistent files. Closes 7454function old new delta diffreg 1253 1310 +57 diff_main 1329 1355 +26 create_J 1819 1821 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shri...
Denys VlasenkoDenys Vlasenko
0cc9b1843dfvi: survive if stdin is nonblocking. closes 9851function old new delta readit 55 69 +14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
a1a3b595e1ctime: inplement -f FMTfunction old new delta time_main 1076 1134 +58 packed_usage 31577 31572 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Tommi RantalaTommi Rantala
5fe5be210c7time: implement -a, -o FILEfunction old new delta time_main 1052 1076 +24 packed_usage 31571 31577 +6 Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Tommi RantalaTommi Rantala
854174f7ddctime: document -p in usageSigned-off-by: Tommi Rantala <tommi.t.rantala@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Markus GotheMarkus Gothe
9c7ee1439adlsscsi: new appletfunction old new delta lsscsi_main - 326 +326 applet_names 2613 2620 +7 applet_main 1512 1516 +4 applet_install_loc 189 190 +1 packed_usage ...
Denys VlasenkoDenys Vlasenko
10ad622dc2aSpelling fixes in comments, documentation, tests and examplesBy klemens <ka7@github.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
d85352b4ff5factor: fix stray semicolonSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
8352b717ce6factor: support "no-argvs" usagefunction old new delta factorize_numstr - 72 +72 packed_usage 31562 31566 +4 factor_main 109 101 -8 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shri...
Denys VlasenkoDenys Vlasenko
44c0ab41027libbb: fix "error: redefinition of 'is_tty_secure'"Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
107159ef1cffactor: improve comments for sieving logic... also fix a typoSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
933dcf1c8a8fix "loginutils/Config.in:319 error: Overlong line"Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
021d50405b5factor: improve comments for sieving logicSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
a3de0b3b86dlibbb: make check_password() also return CHECKPASS_PW_HAS_EMPTY_PASSWORDSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
335681ca8e3su: FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTYWhen this feature is enabled, blank passwords are not accepted by su unless the user is on a secure TTY defined in /etc/securetty. This resembles the default PAM configuration of some Linux distros which specify the nullok_secure option for pam_unix.so. Based on patch by Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Kaarle RitvanenKaarle Ritvanen
517a82c5b6blogin: move check_securetty to libbbSigned-off-by: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys VlasenkoDenys Vlasenko
c054822027afactor: tweak commentsSigned-off-by: Denys Vlasenko <vda.linux@googlemail.com>