Denys Vlasenko | 035486c7500 | ash: significant overhaul of redirect saving logic
New code is similar to what hush is doing.
Make CLOSED to -1: sam... | | |
Denys Vlasenko | 657e9005a9e | hush: massage redirect code to be slightly more like ash
function old ... | | |
Denys Vlasenko | d07a15bd1ba | ash: remove REDIR_SAVEFD2
function old new delta
evalcommand ... | | |
Denys Vlasenko | 5f0a75f24b5 | ash: if !ENABLE_ASH_EXPAND_PRMT, disable PSSYNTAX code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 1c79aeb6a8c | ash: [REDIR] Fix popredir on abnormal exit from built-in
Upstream commit:
Date: Thu, 27 May 2010 15:03:46 +0800... | | |
Denys Vlasenko | 469998015f5 | ash: [PARSER] Add FAKEEOFMARK for expandstr
Upstream commit:
Date: Thu, 27 Dec 2007 13:54:16 +1100
[PARSER]... | | |
Denys Vlasenko | 0f018b30700 | hush: fix handling of empty heredoc EOF marker
function old new de... | | |
Denys Vlasenko | a732898fdd9 | ash: [PARSER] Removed noexpand/length check on eofmark
Upstream comment:
Date: Sun, 11 Nov 2007 14:21:23 +0800
[P... | | |
Denys Vlasenko | 170f93ef1bc | ash: "Undo all redirections" comment is wrong, delete it
No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@... | | |
Ron Yorston | 008fc9499ae | libbb: remove vdprintf
Two reasons:
* it's only built for GNU C Library versions < 2 (released 1997)
* it isn't us... | | |
Denys Vlasenko | 69be994de69 | ps: tweak outdated comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 5d725fd627e | ps: implement -o sid
function old new delta
func_sid ... | | |
Denys Vlasenko | 147d2ce3dd9 | standalone shell / prefer_applets: fix "exe" in comm fields
function old... | | |
Denys Vlasenko | 00a1dbd230a | ash: make tryexec(cmd) parameter const char
Fewer casts this way.
Signed-off-by: Denys Vlasenko <vda.linux@googlema... | | |
Denys Vlasenko | f128bdbbd7a | shell: make standalone shell tab-complete "busybox"
function old new... | | |
Ron Yorston | be366e5afac | ash: support platforms that don't have '%m' printf specifier
The '%m' conversion specifier prints an error message b... | | |
Denys Vlasenko | 619d9b5e684 | ash: less hackish implementation of evaltreenr()
Defining a function alias with __attribute__ ((alias("evaltree"),__... | | |
Natanael Copa | 46f3f16b587 | unzip: fix regression on big-endian machines
This fixes a regression which was introduced with commit 2a0867a5
("unz... | | |
Denys Vlasenko | 5b3cbe3a535 | config: more tweaking of help texts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | e9a5a6985ca | rdate: tweak comments, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 1d8df52d451 | inetd: improve --helpt text and config help text.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2e01eec4d3b | tweak examples/var_service/*
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 6bdcee83571 | ed: fix "\n" removal in command line; make "w" set "dirty = 0"
function ... | | |
Denys Vlasenko | 7d2f33dc1f6 | ed: code shrink
function old new delta
findString ... | | |
Denys Vlasenko | 5ea50697fd1 | ed: fix --help and reorder functions, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 8cae43c5d73 | swapon: do not use FEATURE_MOUNT_LABEL, have your own FEATURE_SWAPONOFF_LABEL
Signed-off-by: Denys Vlasenko <vda.lin... | | |
Denys Vlasenko | 68b653b66b0 | config: trim/improve item names and help texts, take 2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 86d5bf4246a | config: trim/improve item names and help texts.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 488e609203c | ash: force inlining of a trivial function
function old new delta
b... | | |
Denys Vlasenko | b8c0bc18f0c | ash: revert previous implementation of "A=1 A=2 B=$A cmd" code
Reverts this:
commit 0e6f661e23d358cca104c24f843... | | |
Denys Vlasenko | d04fc712e30 | ash: [VAR] Fix loss of variables when hash collides
Upstream commit:
Date: Tue, 6 Jul 2010 17:40:53 +0800
[... | | |
Denys Vlasenko | 85241c7b0b4 | ash: [VAR] Do not poplocalvars prematurely on regular utilities
Upstream commit:
Date: Thu, 27 May 2010 11:50:1... | | |
Denys Vlasenko | 484fc2056df | ash: [VAR] Fix poplocalvar on abnormal exit from function
Upstream commit:
Date: Thu, 27 May 2010 11:32:55 +080... | | |
Denys Vlasenko | 981a0568b3f | ash: [VAR] Replace cmdenviron with localvars
Upstream commit:
Date: Wed, 26 May 2010 18:54:19 +0800
[VAR] R... | | |
Denys Vlasenko | d5b500c81c1 | ash: [VAR] Fix poplocalvar leak
Upstream commit:
Date: Tue, 25 May 2010 18:14:32 +0800
[VAR] Fix poplocalva... | | |
Denys Vlasenko | b8ab27bf537 | ash: [VAR] Add localvars nesting
Upstream commit:
Date: Mon, 24 May 2010 15:31:27 +0800
[VAR] Add localvars... | | |
Denys Vlasenko | cf3a796dd1d | ash: alloc slightly smaller buffer in cvtnum(); faster unsetvar()
Signed-off-by: Denys Vlasenko <vda.linux@googlemai... | | |
Denys Vlasenko | b31b61bb9bf | ash: fix redir_leak.tests if STANDALONE=y
If STANDALONE and we run a NOEXEC applet, saved copies of redirected fds
w... | | |
Denys Vlasenko | b0648b0e787 | shell: remove ${#+} tests, it is not a valid construct
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2093ad296f8 | hush: fix ${##}, ${#?}, ${#!} handling
function old new delta
pars... | | |
Denys Vlasenko | 1e3e2ccd5dd | ash: [SHELL] Optimize dash -c "command" to avoid a fork
Upstream commit:
Date: Thu, 7 Jul 2011 13:58:48 +0800
... | | |
Denys Vlasenko | 86981e3ad2d | ash: allow "trap NUM [SIG]..." syntax
While at it, make get_signum() return -1 for numeric strings >= NSIG.
functio... | | |
Denys Vlasenko | f1a5cb0548f | ash: [REDIR] Replace GPL noclobberopen code with the FreeBSD version
Upstream commit:
Date: Thu, 10 Mar 2011 16... | | |
Denys Vlasenko | 2990aa45d18 | ash: sync up with dash with respect to redirection escaping
We fixed the problem differently than they. Let's not de... | | |
Denys Vlasenko | b28d4c3462e | ash: [VAR] Move unsetvar functionality into setvareq
Upstream commit:
Date: Tue, 25 May 2010 20:55:05 +0800
... | | |
Denys Vlasenko | be669fa1fdf | ash: import param_expand_default.tests from hush
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 645c697372b | hush: treat ${#?} as "length of $?"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 64925384c9c | ash: add a few tests from hush-vars/*
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 73c47f6c41c | volume_id: enable minix detection
function old new delta
volume_id... | | |
Denys Vlasenko | 5c123ac2082 | ash: fix comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 8d2191c6aed | ash: copy three tests from hush_test/hush-signals/*
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ca50caacad8 | shell: some additions to *sh-misc/* tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | b920a38dc0a | tar: postpone creation of symlinks with "suspicious" targets. Closes 8411
function ... | | |
Denys Vlasenko | c810978552b | udhcpc: downgrade "MAC X:X:X:X:X:X" message to log2 level
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 4a1d8f6d6e4 | ash: add most of hush process subst tests
ash passes these.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 621fc50e83f | hush: fix a case when redirect to a closed fd #1 is not restoring (closing) it
function ... | | |
Denys Vlasenko | b72f1ef17b9 | udhcpc[6]: downgrade "adapter index N" messages to log2 level
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | de6cb417346 | udhcpc[6]: fix messages referring to select() while we use poll()
Signed-off-by: Denys Vlasenko <vda.linux@googlemai... | | |
Denys Vlasenko | e34dbc4fdca | ash: add all hush parsing tests to ast tests
All pass.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 0675b03de44 | hush: use mempcpy where useful
function old new delta
o_addblock ... | | |
Denys Vlasenko | 94af83eb8d9 | ash: fix for last commit
"mempcpy(q, s, len) + len" is obviously no good :(
Signed-off-by: Denys Vlasenko <vda.linu... | | |
Denys Vlasenko | 5ace96a7130 | ash: use mempcpy() in more places
Most changes are taken from dash.
function ... | | |
Denys Vlasenko | e4f6bfd6fec | zcip: fix slow environment leak
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | bbf17bbf326 | crond: do not assume setenv() does not leak
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ef0366eb4f0 | libbb: avoid malloc/free in bb_unsetenv()
function old new delta
b... | | |
Denys Vlasenko | c9e7843dde3 | crond: allow $SHELL and starting user's shell override DEFAULT_SHELL. Closes 6458
function ... | | |
Denys Vlasenko | da2244fe48b | ash: use mempcpy() where appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | fd5e66eb8eb | basename: do not use argc
function old new delta
basename_main ... | | |
Denys Vlasenko | 578008a9897 | pgrep: fix "pgrep -v -P1"; also allow matching of comm - closes 10086
function ... | | |
Denys Vlasenko | 67d42dfdea3 | ping: fix help text to show what parameter -p takes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 0eed355eac5 | ash: suppress readonly1.tests false positive; add readonly0.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemai... | | |
Denys Vlasenko | 42ba757d5e8 | ash: improve set -x to quote strings as necessary
Basen on the patch from Martijn Dekker <martijn@inlv.org>
functio... | | |
Denys Vlasenko | 168f0ef8ddb | udhcpc[6]: on log level 1, three messages about raw socket is overkill
Move first two messages to log2 level:
08:46... | | |
Denys Vlasenko | a680f40bfef | ping: better config help text for FEATURE_FANCY_PING
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 72089cf6b4a | config: deindent all help texts
Those two spaces after tab have no effect, and always a nuisance when editing.
Sign... | | |
Denys Vlasenko | 75d151e31d1 | libarchive: FEATURE_LZMA_FAST should be visible if FEATURE_SEAMLESS_LZMA
While at it, tweak some config help texts.
... | | |
Denys Vlasenko | ad37abf4231 | unzip: sanitize filename length: malloc(1234mb) is not funny
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 997ad2c64ab | unzip: implement -j, closes 9126
function old new delta
unzip_main... | | |
Denys Vlasenko | bff9bbc73fc | unzip: robustify overwrite checks
function old new delta
get_lstat... | | |
Denys Vlasenko | 13ae85edd1e | unzip: support symlinks. Closes 10031
function old new delta
unzip... | | |
Denys Vlasenko | ebe3c35d004 | bzcat,zcat: simplify code if gunzip/bunzip2 is not selected
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | eae12688c9b | shell: optional support for read -t N.NNN, closes 10101
function old ... | | |
Denys Vlasenko | 82dcc3bff97 | bootchartd: fix typo in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Uwe Geuder | 9e2e0ff4ba7 | bootchartd: prevent premature stop by device mapper
Kernel thread kdmflush was recognized as display manager kdm,
ch... | | |
Denys Vlasenko | 1ef3ce91c70 | sparc: needs -fPIC
Pinted out by Thomas Petazzoni.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 61f9d76ec59 | swapon/swapoff: trim config help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ae178cee3d4 | Update remaining menuconfig items with approximate applet sizes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.... | | |
Ron Yorston | a165603d24d | od_bloaty: fix floating point output
Currently od_bloaty does this:
$ /bin/echo -en '\x00\x00\x00\x00\x00\x00\x0... | | |
Denys Vlasenko | 9880f86d6e6 | hdparm: remove contradicting size info in config help
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 8ecd8614063 | ash: remove contradicting size info in config help
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | f9d656f7876 | hush: remove contradicting size info in config help
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 4eed2c6c509 | Update menuconfig items with approximate applet sizes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 483405a9b0d | Tweaks from mass recompile for 1.27.1 release
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 8fd69c7bdb2 | Bump version to 1.27.1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 56a361bec15 | fix more instances of ": $((a++))" in shell scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Kang-Che Sung | 6f13dd1d657 | make_single_applets: fix ": $((fail++))" expansion error
$((fail++)) is not a required expression in POSIX, and in "... | | |
Johannes Schindelin | 3df48bdde96 | copyfd: guard use of munmap() with #if (windows builds need this)
Signed-off-by: Johannes Schindelin <johannes.schin... | | |
Johannes Schindelin | 1f684bcde45 | ash: protect WIFSTOPPED use with #if JOBS
This change fixes the build in setups where there are
no headers defining ... | | |
Denys Vlasenko | 2cb72bb8de5 | libbb: hide getnetbyaddr() inside "#if ENABLE_FEATURE_ETC_NETWORKS" block
Signed-off-by: Denys Vlasenko <vda.linux@g... | | |
Denys Vlasenko | 87d8ae94a25 | uuencode: allow space instead of "`" as padding char. Closes 10046
Signed-off-by: Denys Vlasenko <vda.linux@googlema... | | |
Denys Vlasenko | a3de7190a59 | dd: fix status=none. Closes 10066
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | f807b8e96e3 | inetd,mount: do not die if uclibc without RPC is detected
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2f6dc07d8fe | beep: disallow FEATURE_BEEP_FREQ = 0 in configuration
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 54916641be9 | main: fix the case where user has "halt" as login shell. Closes 9986
halt::0:0::/:/sbin/halt
function ... | | |
Peter Korsgaard | 80cb8796f86 | dpkg: fix CONFIG_FEATURE_CLEAN_UP handling
dpkg moved to away from dynamically allocating the hashtables in commit
c... | | |
Patrick Steinhardt | ee67c9a60ab | setpriv: do not process remaining args
By default, the 'getopt32' call will continue parsing the command line
even a... | | |
Denys Vlasenko | 8965e5089ef | tls: use capped SNI len everywhere
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | e916d48e5a3 | bzcat: compile bunzip2_main() if BZCAT.
Currently, BZCAT (and BUNZIP2) selects FEATURE_BZIP2_DECOMPRESS,
thus, "#if ... | | |
Denys Vlasenko | 442d522f0bc | fixes for bugs found by make_single_applets.sh
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | d2c15bc7633 | hush: tweak "help" output
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Ron Yorston | 513a2457b65 | printf: fix format string sanity check
One of the tests for printf checks for an invalid bare '%' in the
format stri... | | |
Denys Vlasenko | cf5110978ba | hush: fix readonly2.tests failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | f645e1573c5 | hush: another testcase for "READONLY_VAR=VAL BLTIN ..."
Currently fails.
Signed-off-by: Denys Vlasenko <vda.linux@g... | | |
Denys Vlasenko | 5b2cc0aaee6 | hush: do not assign to readonly VAR in "VAR=VAL CMD" syntax too
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.... | | |
Denys Vlasenko | 38ef39a1abd | hush: add readonly testcase, fix fallout
function old new delta
he... | | |
Denys Vlasenko | 3bab36b18ba | hush: convert exp/ro/local parameters to bitfields in one flag param
function ... | | |
Denys Vlasenko | 6b0695bb66d | hush: HUSH_READONLY depends on HUSH
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 6b48e1f1212 | hush: forgot to emit error on (failing) second "readonly VAR=VAL"
Signed-off-by: Denys Vlasenko <vda.linux@googlemai... | | |
Denys Vlasenko | b95ee96e752 | hush: smaller code in !READONLY configs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 1e660422b16 | hush: implement "readonly" builtin
function old new delta
builtin_... | | |
Denys Vlasenko | 826360ff238 | ash: more general format ${var:EXPR:EXPR}
function old new delta
s... | | |
Denys Vlasenko | 4f8079de877 | ash: "you disabled math" is wrong: user did not disable it, builder of ash did
Signed-off-by: Denys Vlasenko <vda.li... | | |
Denys Vlasenko | 0ba80e4fa25 | hush: small fix to last commit
die_if_script() indeed dies only in scripts! Must handle the case where it continues.... | | |
Denys Vlasenko | e32b6503e75 | hush: support ${VAR:N:-M}
function old new delta
expand_one_var ... | | |
Denys Vlasenko | 203fd7bc66b | shells: expand TODO comments, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 68e980545af | ttysize: if stdin is not tty, try stdout, then stderr
function old n... | | |
Denys Vlasenko | b24e55da840 | hush: fix "cmd1 && cmd2 &" handling on NOMMU
function old new delt... | | |
Denys Vlasenko | c49638b7d29 | arch: new applet (same as unmae -m). ~30 bytes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9f904a22ffc | shell: and_or_and_backgrounding.tests is no longer "UNFIXED BUG"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail... | | |
Denys Vlasenko | ee553b929c8 | hush: fix and_or_and_backgrounding.tests failure
function old new ... | | |
Denys Vlasenko | 2c8929c7af5 | config: reorder items in "Busybox Settings", improve help
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | a3df2fa5250 | config: merge "Busybox Settings" and "Busybox Library Tuning" into one menu
Tweak a few help texts while at it
Sign... | | |
Denys Vlasenko | 2c1258c620c | Move get_unaligned_le32() macros to platform.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 08dfafc4375 | fix more instances of ": $((a++))" in shell scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Kang-Che Sung | ed2b9225371 | make_single_applets: fix ": $((fail++))" expansion error
$((fail++)) is not a required expression in POSIX, and in "... | | |
Denys Vlasenko | c4ddf04b689 | config: fix tab-damaged help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 3d7ec48da0e | tls: remove last int16 local variables in pstm code
function old new... | | |
Denys Vlasenko | 79376ecdbd2 | tls: fix pstm asm constraint problem
function old new delta
pstm_s... | | |
Denys Vlasenko | 367a55c7d7e | build system: FEATURE_LIBBUSYBOX_STATIC - try to pull libc/libm into libbusybox
It variously fails with different to... | | |
Denys Vlasenko | 8ea061eac32 | blkdiscard: provide our own BLK[SEC]DISCARD if necessary
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9887f93eefb | tls: fix build problem on non-static i386
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Thomas Petazzoni | e9a25ac9249 | Makefile: include per-arch Makefile before Makefile.flags
Makefile.flags contains:
ARCH_FPIC ?= -fpic
ARCH_FPIE ?= ... | | |
Johannes Schindelin | e5b1f5af737 | copyfd: guard use of munmap() with #if (windows builds need this)
Signed-off-by: Johannes Schindelin <johannes.schin... | | |
Johannes Schindelin | 9d4dc84a769 | ash: protect WIFSTOPPED use with #if JOBS
This change fixes the build in setups where there are
no headers defining ... | | |
Denys Vlasenko | 7d7c7bb2205 | libbb: hide getnetbyaddr() inside "#if ENABLE_FEATURE_ETC_NETWORKS" block
Signed-off-by: Denys Vlasenko <vda.linux@g... | | |
Denys Vlasenko | 2ed74e25d35 | hush: make "wait %1" work even if the job is dead
Example script:
sleep 1 | (sleep 1;exit 3) &
sleep 2
echo Zero... | | |
Denys Vlasenko | 0c5657e9119 | hush: remove superfluous comparison
function old new delta
builtin... | | |
Denys Vlasenko | 7b6e8f3f1a8 | uuencode: allow space instead of "`" as padding char. Closes 10046
Signed-off-by: Denys Vlasenko <vda.linux@googlema... | | |
Denys Vlasenko | 90678f0cd72 | xxd: allow "-" as file name meaning stdin
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 63214a68f1b | libbb/dump: allow skipping over stdin too
function old new delta
n... | | |
Denys Vlasenko | 5f7904b6d11 | libbb/dump: fix a few broken commits and shrink code
function old ne... | | |
Denys Vlasenko | a03ac606776 | libbb: safe_write should not return EINTR
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | d5b98e2ef4b | dd: fix status=none. Closes 10066
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9fda609a605 | hush: add support for "set -e"
function old new delta
run_list ... | | |
Denys Vlasenko | 75e90b15482 | cat: fix "cat -An" ignoring -n; make numbering go througn all files
function ... | | |
Timo Teräs | cc86b2ad965 | add-remove-shell: fix crash when shell is already added
Avoid dereferencing 'don_add' in strcmp since it is invalid
... | | |
Kang-Che Sung | a2bdc5c5548 | cat: allow compiling out -n and -b
When these options were introduced in d88f94a5df3a2edb8ba56fab5c13674b452f87ab
it... | | |
Denys Vlasenko | 38d966943f5 | unzip: TODO for symlink support
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ce55284ed6f | inetd,mount: do not die if uclibc without RPC is detected
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | b057806a6ad | hush: add TODO for "set -e"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9e55a156f8a | hush: simplify insert_job_into_table() a bit
function old new delt... | | |
Denys Vlasenko | 1609629a918 | hush: rename a few functions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 12a4f9afe70 | libbb: do not die if setgid/setuid(real_id) on startup fails
Based on a patch from Steven McDonald <steven@steven-mc... | | |
Denys Vlasenko | 9de9c871bf4 | shuf: fix random line selection. Closes 9971
"""
For example, given input file:
foo
bar
baz
after shuf... | | |
Denys Vlasenko | d18b2000967 | crond: code shrink
function old new delta
load_crontab ... | | |
Denys Vlasenko | 0b3b65fa912 | crond: move misplaced comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 75fbea3879b | crond: support @daily etc
function old new delta
start_jobs ... | | |
Denys Vlasenko | 1572f520ccf | watchdog: do not use argc, other cleanups
function old new delta
w... | | |
Matt Spinler | 31c765081dc | watchdog: stop watchdog first on startup
Some watchdog implementations may do things other than issue
a reboot on a ... | | |
Denys Vlasenko | 1b84f4a22ad | beep: disallow FEATURE_BEEP_FREQ = 0 in configuration
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 13102634bb3 | hush: explain why wait5.tests is failing
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 840a4355d03 | hush: fix "(sleep 1; exit 3) & sleep 2; echo $?; wait $!; echo $?"
function ... | | |
Denys Vlasenko | 2db74610cdf | hush: fix two redirection testcase failures
function old new delta... | | |
Denys Vlasenko | 69a5ec9dccf | main: fix the case where user has "halt" as login shell. Closes 9986
halt::0:0::/:/sbin/halt
function ... | | |
Denys Vlasenko | b0c0b6d5ba4 | setpriv: remove dependency on libcap headers
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2bfe7838abd | setpriv: factor out capability name printing
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | cf5748cc892 | setpriv: code shrink, and grouping capability code together
function old... | | |
Patrick Steinhardt | 6842d00cebe | setpriv: allow modifying ambient capabilities
With Linux 4.3, a new set of capabilities has been introduced with the... | | |
Patrick Steinhardt | 0f49f6f9265 | setpriv: allow modifying inheritable caps
The main use case of setpriv is to modify the current state of
privileges ... | | |
Patrick Steinhardt | 5e0987405cb | setpriv: dump ambient capabilities
As with the previous commit, this commit introduces the ability to dump
the set o... | | |
Patrick Steinhardt | f34c701fa8a | setpriv: dump capability bounding set
As with the previous commit, this one implements the ability to dump the
capab... | | |
Patrick Steinhardt | ad63102943d | setpriv: dump inheritable capability set
The setpriv executable from util-linux also dumps out information on the
di... | | |
Patrick Steinhardt | 10c53b85c99 | setpriv: dump no-new-privs info
Introduce the ability to dump the state of the no-new-privs flag, which
states wheth... | | |
Denys Vlasenko | 111cdcf295b | shell: sync redir/* tests
Note: hush-redir/redir_to_bad_fd.tests currently fails
Signed-off-by: Denys Vlasenko <vda... | | |
Denys Vlasenko | 1ff1a75710d | ash: rename redir5.tests (hush has redir5.tests which is different)
Signed-off-by: Denys Vlasenko <vda.linux@googlem... | | |
Denys Vlasenko | 50b8b2914b7 | hush: add a TODO about redir3.tests failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | a107ef2a6ac | hush: rename hush-redir/redir3.tests (ash has redir3.tests which id different)
Signed-off-by: Denys Vlasenko <vda.li... | | |
Denys Vlasenko | e59591a364e | hush: Print error messages on shift -1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Next → |