Denys Vlasenko | ae4bd34e6bc | hush testsuite: add glob_dir.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 8e2c9cc2fcf | ash: fix globbing bugs when using glibc glob()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 37dc08b874d | ash: style fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 0cdb7ea3808 | ash: support "--" in "source" builtin
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 0aaaa50b455 | ash: expand: Fixed "$@" expansion when EXP_FULL is false
Upstream commit:
Date: Thu, 1 Jan 2015 07:53:10 +1100
... | | |
Denys Vlasenko | 42eeb255c1c | test: fix compile error in last commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | de89205bdf4 | test: memory leak: free group id list
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ff59b7b112e | ash,hush: add a test that "continue" does not cripple traps
Both shells pass this test.
Signed-off-by: Denys Vlasen... | | |
Denys Vlasenko | b98b4c103f3 | ash: fix return_in_trap1.tests failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 3ed7e2749a3 | ash testsuite: add return_in_trap1.tests
Currently it fails
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 04b46bced99 | hush: 'return' should have effect earlier
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 0dd8e45d42a | ash: [EXPAND] Optimise nulonly away and just use quoted as before
Upstream commit:
Date: Wed, 8 Oct 2014 20:09:... | | |
Denys Vlasenko | 88ac97d02df | ash: [EXPAND] Do not split quoted VSLENGTH and VSTRIM
Upstream patch:
Date: Wed, 8 Oct 2014 15:42:08 +0800
... | | |
Denys Vlasenko | c4d4380a070 | ash: [EXPAND] Split unquoted $@/$* correctly when IFS is set but empty
Upstream commit:
Date: Wed, 8 Oct 2014 1... | | |
Denys Vlasenko | a2633aa8197 | hush: add func6.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 35ec818fa23 | ash: fix "return N" not setting $? in loop conditionals
Upstream commit 1:
Date: Mon, 6 Oct 2014 20:45:04 +0800... | | |
Denys Vlasenko | 1b8e0e8adfc | ash testsuite: remove two more inadvertent bashisms
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | cc0056db5c8 | ash testsuite: remove two inadvertent bashisms
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 4d12e944eaf | ash: [ERROR] Set exitstatus in onint
Partially backported this commit:
Date: Thu, 2 Oct 2014 21:07:55 +0800
... | | |
Denys Vlasenko | 0840c91909d | ash: [EVAL] Revert SKIPEVAL into EXEXIT
Upstream commit:
Date: Tue Aug 11 20:56:53 2009 +1000
[EVAL] Reve... | | |
Denys Vlasenko | 7b3fa1e441b | ash: [EVAL] Pass EV_TESTED into evalcmd
Upstream commit:
Date: Tue Aug 11 20:48:15 2009 +1000
[EVAL] Pass... | | |
Denys Vlasenko | 08089c7c85a | ash: fix a thinko in the last commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 514b51ddf34 | ash: make internal globbing code selectable from config
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | cac4d002e78 | ash: explain how "command" is handled, and shrink it a bit
function old ... | | |
Denys Vlasenko | e627ac95bef | ash: [VAR] Initialise OPTIND after importing environment
Upstream commit 1:
Date: Fri, 23 Aug 2013 21:27:42 +10... | | |
Denys Vlasenko | 6a0710e954d | ash: [BUILTIN] Merge SKIPFUNC/SKIPFILE and only clear SKIPFUNC when leaving dotcmd
Upstream commit:
Date: Sat, ... | | |
Denys Vlasenko | ed6ff5edfc1 | hush: enable "msh is deprecated" message in msh stub
After giving a few more years for everyone to notice and migrat... | | |
Denys Vlasenko | 50e6d42c196 | ash: Avoid overflow for very long variable name
Upstream commit:
Date: Tue, 3 Jul 2012 17:32:33 +0800
Avoid... | | |
Denys Vlasenko | b6838b520af | ash: [VAR] Sanitise environment variable names on entry
Upstream commit:
Date: Sat, 25 Feb 2012 15:35:18 +0800
... | | |
Denys Vlasenko | a2d121cc1bb | ash: [EVAL] Avoid using undefined handler
Upstream commit:
Date: Fri, 8 Jul 2011 16:41:24 +0800
[EVAL] Avoi... | | |
Denys Vlasenko | 53d6e03a0ac | ash: remove dead stores and unused variables
Upstream commit 1:
Date: Fri, 8 Jul 2011 16:12:20 +0800
[MEMAL... | | |
Denys Vlasenko | 60ca8343589 | ash: [MEMALLOC] Add pushstackmark
Upstream commit:
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date: ... | | |
Denys Vlasenko | 08755f9bcb2 | hush: fix typo in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 4074d495577 | hush: fix interactive input handling of backslash+newline
function old ... | | |
Denys Vlasenko | 0448c55cc84 | hush: G.user_input_buf[] is needed only if line editing is enabled
Signed-off-by: Denys Vlasenko <vda.linux@googlema... | | |
Denys Vlasenko | 7a24e8ffebf | shell testsuite: add trailing newline to var_unbackslash1.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.... | | |
Denys Vlasenko | 46e6498b2af | hush: speed optimizations
Make o_addchr() faster: do not call o_grow_by() each time.
Create i_getch_and_eat_bkslash_... | | |
Denys Vlasenko | 657086a3dc5 | hush: fix handling of by backslash-newline in $((arith)) and $(cmd)
Signed-off-by: Denys Vlasenko <vda.linux@googlem... | | |
Denys Vlasenko | d17a91db6e0 | hush: rework input char buffering to allow more than one-deep peek
...this time with actual hush.c changes too :)
S... | | |
Denys Vlasenko | 459293b1c53 | ash: fix arithmetic closing )) split by backslash-newline
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 73c3e074df4 | ash: [PARSER] Handle backslash newlines properly after dollar sign
Fixes var_unbackslash1.tests failure.
Upstream c... | | |
Denys Vlasenko | 8286513838b | hush: rework input char buffering to allow more than one-deep peek
This fixes backslash+newline continuation in
$VA... | | |
Denys Vlasenko | 3b4d04b77eb | ash: input: Allow two consecutive calls to pungetc
Upstream commit:
input: Allow two consecutive calls to punge... | | |
Denys Vlasenko | 78c9c736ab1 | hush: fix 'eval ""' handling
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 992e0ff7e9a | hush: fix ". EMPTY_LINE" not setting $? to 0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 46a45ce02f2 | ash: jobs: Don't attempt to access job table for job %0
Upstream commit:
jobs: Don't attempt to access job tabl... | | |
Denys Vlasenko | 928e2a7ef43 | ash: [EVAL] Make eval with empty arguments return 0
This is a backport of upstream commit:
[EVAL] Make eval wit... | | |
Denys Vlasenko | 8e2bc47d62d | ash: [EVAL] Fix use-after-free in dotrap/evalstring
From upstream:
[EVAL] Fix use-after-free in dotrap/evalstri... | | |
Denys Vlasenko | 7ee7c6fc20d | ash: Remove unused EV_BACKCMD flag
The original ash defered forking commands in backquotes so builtins
could... | | |
Denys Vlasenko | eb17b6f6c99 | ash: eval: Return status in eval functions
Backported from dash:
eval: Return status in eval functions
The... | | |
Denys Vlasenko | 1c32e49bdf7 | traceroute: cleanup and fixes for packet size calculations
Remove FEATURE_TRACEROUTE_SOURCE_ROUTE: it's off by defau... | | |
Denys Vlasenko | 61fcc8c7817 | vi: fix '' command (goto to prev context)
The '' command in vi doesn't currently work because after the first
apostr... | | |
Denys Vlasenko | b09ab448b85 | mount: for cifs, dont insert "ip=ADDR" option if user gave it explicitly
This makes it possible to use scoped IPv6 a... | | |
Denys Vlasenko | dea3bdbefe6 | examples: wpa_supplicant.conf has a wrong field deleted in examples
Signed-off-by: Denys Vlasenko <vda.linux@googlem... | | |
Denys Vlasenko | 5093c8c4aaf | mount: tweak "IPv6 scoped addr" commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 3c18e3051df | libbb: make xmalloc_sockaddr2dotted use NI_NUMERICSCOPE
Gives "mount -t cifs //fe80::6a05:caff:fe3e:dbf5%eth0/test t... | | |
Denys Vlasenko | 525209ac946 | libbb/speed_table.c: expand comments
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 4537f83d522 | typo fix in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 557482c1cbe | ash: in heredoc code, fix access past the end of allocated memory. Closes 9276
Signed-off-by: Denys Vlasenko <vda.li... | | |
Denys Vlasenko | 13f20919b24 | ash: fix handling of NULs in $'abc\000def\x00asd'. Closes 9286
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | bcf47eaa1f1 | ifupdown: improve help text, add comment about run-parts error msg
Signed-off-by: Denys Vlasenko <vda.linux@googlema... | | |
Denys Vlasenko | 65ba7113e3d | libbb: handle \S in /etc/issue
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Linus Walleij | d526b118977 | AUTHORS: Add myself to AUTHORS
Instead of complaining that my authorship of the rewrite of
the mdev to use /sys/dev ... | | |
Denys Vlasenko | b3f29b452a6 | ash: use glob() from libc
Adapted from dash.
The "homegrown" glob code is retained (ifdef'ed out).
This changes was ... | | |
Denys Vlasenko | d8330ca4a42 | examples/var_service/supplicant_if: new service example
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 92d98f0612c | ifupdown: when flushing addresses with "ip", add label %label%
User report:
or our board we setup eth0:0 on a 10.10... | | |
Denys Vlasenko | 244fdd45c79 | ash: fix handling of bashism $'xxx' with high-bit chars. Closes 9236
Signed-off-by: Denys Vlasenko <vda.linux@google... | | |
Denys Vlasenko | d6a37d86ba6 | hush: document better where bad redirect syntax is detected
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Hauke Mehrtens | 4ff86df8610 | libnetlink: fix alignment of netlink messages
A padding to align a message should not only be added between
differen... | | |
Denys Vlasenko | 0ae05096790 | libbb: do not use fflush_unlocked, musl does not like fflush_unlocked(NULL)
Signed-off-by: Denys Vlasenko <vda.linux... | | |
Rostislav Skudnov | 204c7fb2293 | ash: exit after subshell error when errexit option is set
When "set -e" option is on, shell must exit when any comma... | | |
Denys Vlasenko | b157eb13cbc | fdisk: fix CONFIG_FEATURE_SUN_LABEL=y build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 7373759947a | fix "aloc" -> "alloc" typos
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 7bc3d396957 | ash: add a FIXME for bug 9246
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Francis Rounds | d2c5de0130d | svlogd: strip leading '!' from processor lines
When using svlogd's processor functionality to run arbitrary commands... | | |
Denys Vlasenko | de1996dac51 | vi: make "g<key>" error message less likely to show garbage
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 7cef4817d6d | libbb:/send_to_from: do not require that "to" should have the same AF. Closes 9146
Signed-off-by: Denys Vlasenko <vd... | | |
Mike Frysinger | 3a45b87ac36 | modutils: support finit_module syscall
On some systems like Chromium OS, loading modules from non-verified
filesyste... | | |
Denys Vlasenko | 7fa799a97d3 | less: switch off nonblock on kbd_fd before exit
This is only necessary if we use stdout fd.
function ... | | |
Denys Vlasenko | 3c0e579a06c | less: fall back to using fd #1 for keyboard reading. Closes 9231
function ... | | |
Denys Vlasenko | 20a3262cd75 | mdev: create devices from /sys/dev
Currently some new devices that have a bus but no class will
be missed by mdev co... | | |
Denys Vlasenko | b9f56e82da9 | sendmail: make it possible to pause after connection helper is started
If a non-starttls helper is in use, initial 2... | | |
Serj Kalichev | d42cdc2222d | volume_id: Add support for UBIFS
Signed-off-by: Serj Kalichev <serj.kalichev@gmail.com>
Signed-off-by: Denys Vlasenk... | | |
Denys Vlasenko | 9fd61be191c | libbb/xwrite: print errno on "short write" errors
Lauri Kasanen:
:: Over at TinyCore, we receive a huge number of qu... | | |
Denys Vlasenko | 76787a7e025 | libbb/speed_table.c: survive B115200 and B230400 not fitting into 16 bits
Seen on OSX.
While at it, expand baud tabl... | | |
Denys Vlasenko | ef15970d7ec | *: placate some compile warnings on OSX
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 76d72376e02 | sed: fix "sed n (flushes pattern space, terminates early)" testcase failure
Patch based on work by Dengke Du <dengke... | | |
Denys Vlasenko | 9ff910de6be | wget: treat 201,202,203 as success codes too. Closes 9211
This matches "standard" wget.
Signed-off-by: Denys Vlasen... | | |
Denys Vlasenko | d811aaa43c2 | sha3sum: fix config text (it's no longer only 512-bit)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 71a090f1871 | sha3: fix to conform to final SHA3 padding standard, add -a BITS option
function ... | | |
Denys Vlasenko | d3d7f085ebf | hexdump: fix numerous bugs in handling of backslashes
Was:
t=48\\ t=45\\ t=4c\\ t=4c\\ t=4f\\ t=0a\\
Now:
=48=\n =... | | |
Peter Korsgaard | b6355e2bb5c | udhcpc: Unconditionally call deconfig script, not only if lease is active
The udhcpc script may be used to setup fal... | | |
Denys Vlasenko | 0dddbc1a597 | build system: always rewrite NUM_APPLETS.h
Conditional rewrite can keep NUM_APPLETS.h mtime old,
this causes make to... | | |
Denys Vlasenko | 29483ffb075 | fdisk: tweak some messages
"Total allocated sectors 2021315 greater than the maximum 2020356"
maximum what?
Turns ... | | |
Denys Vlasenko | 607f2b404e9 | fdisk: print much less cryptic partition table
Before:
Device Boot Start End Blocks Id System... | | |
Denys Vlasenko | 6b76e234549 | man: fix parsing of "DEFINE pager xyz". Closes 8976
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | d035528261e | init: fix for FreeBSD console opening. Closes 9031
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2cf9fa6e597 | unshare: --network should be --net. Closes 9116
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Kang-Che Sung | b28897849fc | docs: Update filenames in keep_data_small.txt
The filenames in docs/keep_data_small.txt are a little bit outdated.
I... | | |
Denys Vlasenko | aa3576a29b9 | hush: fix "redirects can close script fd" bug
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | d8e61bbf13d | build system: different fix for include/applet_tables.h/include/NUM_APPLETS.h
Signed-off-by: Denys Vlasenko <vda.lin... | | |
Denys Vlasenko | de3da6bf87a | wget/ssl_helper: update to wolfssl-3.9.8
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 7b25b1c5b27 | hush: do not leak script fds into NOEXEC children
We set all opened script fds to CLOEXEC, thus making then go away
... | | |
Denys Vlasenko | 869994cf4f9 | hush: bit better comments in redirect code. No logic changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | e9abe75fda8 | hush: `cmd` and arithmetic also need the fix for FILE rewind
Discovered by running testsuite with a newest glibc
Si... | | |
Denys Vlasenko | 215b0ca6e4f | hush: fix a bug in FEATURE_SH_STANDALONE=y config. Closes 9186
Run this in a "sh SCRIPT":
sha256sum /dev/null
echo ... | | |
Denys Vlasenko | aedc3fe19fa | top: move free(prev_hist) out of signal path
It was seen being called recursively on repeated signals,
leading to do... | | |
Denys Vlasenko | b11be131b73 | ifplugd: if SIOCSIFFLAGS fails with ENODEV, don't die
Some user managed to hit a race where iface is gone between SI... | | |
Denys Vlasenko | 110c6bb413f | less: fix bracket search to match behavior of less 481
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 252559601f1 | less: fix SEGV
testcase: echo "" | less, then press ')' key
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Natanael Copa | 560cf8c7ebd | gzip: add test that checks that -9 compresses better than -1
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Si... | | |
Natanael Copa | 71cfbce655b | gzip: fix compression level bug. Closes 9131
fix broken logic to get the gzip_level_config value from options -1 to
... | | |
Natanael Copa | 7e6f9316a8b | lineedit: trivial codeshrink for vi-mode
Introduce and use BB_isalnum_or_underscore().
function ... | | |
Denys Vlasenko | 9e5820a8627 | build system: fix include/NUM_APPLETS.h generation
TBH, it's more like "work around my bad makefile-fu" than "fix"..... | | |
Denys Vlasenko | 45482937995 | libiproute: eliminate some redundant zero stores
function old new ... | | |
Denys Vlasenko | 34ecc3b7aef | ip: fix an improper optimization: req.r.rtm_scope may be nonzero here
Signed-off-by: Denys Vlasenko <vda.linux@googl... | | |
Denys Vlasenko | 98c50f93fe4 | cp: fix -i for POSIX mode. Closes 9106
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Miroslav Lichvar | 150dc7a2b48 | ntpd: respond only to client and symmetric active packets
The busybox NTP implementation doesn't check the NTP mode ... | | |
Denys Vlasenko | 6b5abc95969 | service/fw example: do not ruin $if[], use different name
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ed727618439 | wget: run s_client helper with -servername HOST
This is necessary for multi-hosted TLSed web sites.
function ... | | |
Denys Vlasenko | 9d20297ba80 | ssl_helper.sh: strip was invoked incorrectly
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 3191ec7cced | var_service/fw: optionally flush all netdevs; optionally prefer one 0/0 routing
Signed-off-by: Denys Vlasenko <vda.l... | | |
Denys Vlasenko | f8ddbe1ccce | ash: fix handling of ${VAR: -2}
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 0fb0045aa92 | config: disentangle PREFER_APPLETS from SH_STANDALONE and SH_NOFORK
On user request.
I thought enabling/disabling th... | | |
Denys Vlasenko | 49117b48008 | hush: fix a possible bug
Not sure this was actually a triggerable bug, but the code looked flaky.
Signed-off-by: De... | | |
Denys Vlasenko | e695ac97fdd | typo fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | e5814a5a42f | ash: do not leave SIGQUIT ignored on "exec CMD"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ca003385f1e | cp: make verbose cp show symlink copies too
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2a4d7f44a41 | sendmail: include -H and -S in short help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9de7509aa01 | sendmail: improve help text
* explain which server we contact by default
* explain when auth is done
* -t is not imp... | | |
Denys Vlasenko | 2ae86ad1c64 | trylink: use "mktemp tmp.XXXXXXXXXX" to placate OS X
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | b0056ea86d4 | {md5,shaN}sum: make -c EMPTY fail
function old new delta
md5_sha1_... | | |
Denys Vlasenko | f6348e50ef2 | examples: add a useful "see abridged log" script for ntpd service example
Signed-off-by: Denys Vlasenko <vda.linux@g... | | |
Denys Vlasenko | d2f4241d2ea | cpio: tweak help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 237bedd499c | getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST
In many cases, this aqllows to drop use of opt_co... | | |
Denys Vlasenko | 0844b5afe2c | whois: implement -i
function old new delta
whois_main ... | | |
Denys Vlasenko | 1035c92e2d1 | whois: make it actually work
It was doing way too simplistic work of just querying the server,
no redirects, no quer... | | |
Denys Vlasenko | f4f8fe841cf | build system: fix a few warnings for allnoconfig build
Not that allnoconfig build is useful in any way...
Signed-of... | | |
Ron Yorston | 1b0dcc02dd5 | libbb: suppress warning about run_applet_and_exit
When busybox is configured to contain a single applet an unnecessa... | | |
Denys Vlasenko | ee772a0d90e | arp: fix buffer overflow. Closes 9071
function old new delta
arp_m... | | |
Denys Vlasenko | 44399e00ffa | udhcpc: run "deconfig" script in manual renew state too. closes 9061
The bug was seen when the following is done:
... | | |
Denys Vlasenko | aabb0a93e94 | ntpd: daemonize before DNS resolution
This resolves the following use case problem:
"I start ntpd by default from /... | | |
Denys Vlasenko | 5b8c89d1f27 | build system: make CONFIG_FEATURE_USE_BSS_TAIL less funky
CONFIG_FEATURE_USE_BSS_TAIL code was aliasing bb_common_bu... | | |
Natanael Copa | 8f4faa1e3db | df: use f_frsize instead of f_bsize for correct sizes
Use the correct field f_frsize instead of f_bsize.
The statfs... | | |
Bartosz Golaszewski | 59f81976249 | i2cdump: don't use common_bufsiz1
Commit e6a2f4cc changed the way common_bufsiz1 works. Now it needs to
be initializ... | | |
Jonas Danielsson | 4d5acd2d426 | ping: populate icmp_id field for "simple" ping too
The ICMP RFC says that identifier and sequence number may be zero... | | |
Denys Vlasenko | 9ca56f9621d | Start 1.26.0 development cycle
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | c3b34d8b39c | Bump version to 1.25.0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 10c0e917860 | libarchive: fix xmalloc_open_zipped_read_close()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 7cf45ae10e7 | setsid: fix broken -c
This did not work: setsid sh -c 'anything'
Signed-off-by: Denys Vlasenko <vda.linux@googlemai... | | |
Denys Vlasenko | e24e88697af | typo fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ea9ebc011b3 | scripts/trylink: libbusybox fix
gcc 6.1.1 can emit empty line with spaces
Signed-off-by: Denys Vlasenko <vda.linux@... | | |
Denys Vlasenko | df3ec0e2f70 | libarchive: fix open_zipped()
Last commit broke it (on both MMU and NOMMU)
Signed-off-by: Denys Vlasenko <vda.linux... | | |
Denys Vlasenko | 984b0a613aa | libarchive: fix xmalloc_open_zipped_read_close() on NOMMU
The somewhat new "unpack in memory" code was broken
for xm... | | |
Denys Vlasenko | ecf25cb5bce | randomconfig fixes 5: false positive for tar; mount emits corrupted message
Signed-off-by: Denys Vlasenko <vda.linux... | | |
Denys Vlasenko | 5c3e0606044 | modprobe-small: fix bogus handling of unpack errors
"modprobe minix; echo $?"
Was:
modprobe: corrupted data
modprob... | | |
Denys Vlasenko | 0ad872baf30 | randomconfig fixes 4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 94046d04951 | randomconfig fixes 3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | bb0bf287d8f | randomconfig fixes 2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 015db5800ca | randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Ron Yorston | ce824aecf21 | libbb: move common code into run_applet_and_exit
Both calls to run_applet_and_exit are followed by the same code
to ... | | |
Ron Yorston | ba12081a9e9 | Allow "busybox <applet>" to work when busybox is disabled
A recent commit made it possible to disable BusyBox's --in... | | |
Denys Vlasenko | e4caf1dd9ce | ntpd: retry initial DNS resolution (forever, no timeout for now).
Some users start ntpd on boot, and don't babysit i... | | |
Natanael Copa | b684d1b1864 | libbb: fix time parsing of [[CC]YY]MMDDhhmm[.SS]. Closes 8951
If SS is not given a value, it is assumed to be zero.
... | | |
Denys Vlasenko | 8e95068c7f2 | Make busybox an optional applet
If it's disabled, code shrinks by about 900 bytes:
function ... | | |
Denys Vlasenko | 877dedb8251 | cp: add -u/--update and --remove-destination
Based on the patch by wdlkmpx@gmail.com
function ... | | |
Denys Vlasenko | 852e8dd7346 | arping: avoid use of ether_ntoa(). Closes 8926
This is the only non-debug use of ether_ntoa(). By not using it,
we r... | | |
Denys Vlasenko | f2559e5c2b7 | sed: fix append command to match GNU sed 4.2.1
This closes one testcase failure
Signed-off-by: Denys Vlasenko <vda.... | | |
Denys Vlasenko | 2fbc3123a2d | flock: merge spawn_and_wait() code patchs for -c and sans-c uses
function ... | | |
Denys Vlasenko | e1d426fd65c | flock: fix -c; improve error handling of fork+exec
function old new ... | | |
Szabolcs Nagy | 4ab372d49a6 | ip: fix problem on mips64 n64 big endian musl systems
Use designated initializers for struct msghdr.
The struct layo... | | |
Denys Vlasenko | cbdff15bb78 | sed: understand \n,\r and \t in i and a commands. Closes 8871
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 4c8fa34417f | generate_BUFSIZ.sh: yet another tweak
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 3e134ebf6af | *: slap on a few ALIGN1/2s where appropriate
The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map"
... | | |
Denys Vlasenko | 663d1da1e68 | scripts/trylink: document DATA_SEGMENT_ALIGN() hack
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 7ff24bd5fb3 | generate_BUFSIZ.sh: catch BUFSIZE < 1024 also on "big" builds
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | d7b502c0591 | build system: fix generate_BUFSIZ.sh to not alternate 1k and malloc builds
Signed-off-by: Denys Vlasenko <vda.linux@... | | |
Denys Vlasenko | 93e1aaa1c7e | libbb: constify *bb_common_bufsiz1 (if it is compiled to be a pointer)
This lets gcc optimize much better:
text ... | | |
Denys Vlasenko | f56fb5eb112 | libbb: make "COMMON_BUFSIZE = 1024 bytes, the buffer will be malloced" work
Signed-off-by: Denys Vlasenko <vda.linux... | | |
Denys Vlasenko | df70a43af28 | udhcp: add setup_common_bufsiz() as needed
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9de2e5a2221 | *: hopefully all setup_common_bufsiz() are in place
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 47cfbf32fd6 | *: add most of the required setup_common_bufsiz() calls
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | e6a2f4cc5a4 | libbb: make bb_common_bufsiz1 1 kbyte, add capability to use bss tail for it
The config item is FEATURE_USE_BSS_TAIL... | | |
Denys Vlasenko | 5598bdf0d3d | unzip: shorter code for date/time generation
function old new delt... | | |
Denys Vlasenko | 07bd9799217 | unzip: better match for "standard" unzip's output; string shrinkage
function ... | | |
Denys Vlasenko | bca4deee839 | unzip: fix percent overflow; show "stored" files properly
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 0ccf52a9fb9 | unzip: fix a case where we find wrong CDE. Closes 8821
function old ... | | |
Ron Yorston | 84ba50c32f7 | ash: bash-compatible $'...' shouldn't expand in double quotes
Bash doesn't expand its $'...' construct in double quo... | | |
Next → |