Package: busybox / 1:1.17.1-8

Metadata

Package Version Patches format
busybox 1:1.17.1-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
doc man name.patch | (download)

Makefile.custom | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

---
shell ash export HOME.patch | (download)

shell/ash.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
applets fallback.patch | (download)

Config.in | 7 2 + 5 - 0 !
coreutils/chroot.c | 4 3 + 1 - 0 !
include/libbb.h | 9 5 + 4 - 0 !
libbb/execable.c | 55 53 + 2 - 0 !
libbb/messages.c | 9 9 + 0 - 0 !
shell/ash.c | 27 6 + 21 - 0 !
6 files changed, 78 insertions(+), 33 deletions(-)

---
version.patch | (download)

Makefile.flags | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

---
init console.patch | (download)

init/init.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

---
strip.patch | (download)

Makefile | 12 1 + 11 - 0 !
1 file changed, 1 insertion(+), 11 deletions(-)

---
make_gen_build_files_skip_quilt.patch | (download)

scripts/gen_build_files.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
readlink use xmalloc_realpath.patch | (download)

coreutils/readlink.c | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

 [patch 1/9] readlink: use xmalloc_realpath()

Using realpath() directly with a non-NULL output buffer is unsafe because its
behavior is unspecified on systems which don't have PATH_MAX (ie. Hurd)

I beleive this also fixes a small bug whereby 'buf' would not be freed
on 'readlink -v' with ENABLE_FEATURE_CLEANUP.

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

mark Linux specific configuration options.patch | (download)

Config.in | 12 12 + 0 - 0 !
console-tools/Config.src | 13 13 + 0 - 0 !
coreutils/Config.src | 2 2 + 0 - 0 !
coreutils/date.c | 2 1 + 1 - 0 !
e2fsprogs/Config.src | 1 1 + 0 - 0 !
init/Config.src | 2 2 + 0 - 0 !
init/bootchartd.c | 1 1 + 0 - 0 !
libbb/Config.src | 1 1 + 0 - 0 !
loginutils/Config.src | 3 3 + 0 - 0 !
miscutils/Config.src | 19 18 + 1 - 0 !
miscutils/conspy.c | 1 1 + 0 - 0 !
miscutils/ubi_attach_detach.c | 2 2 + 0 - 0 !
modutils/Config.src | 1 1 + 0 - 0 !
networking/Config.src | 23 22 + 1 - 0 !
networking/udhcp/Config.src | 2 2 + 0 - 0 !
procps/Config.src | 4 3 + 1 - 0 !
shell/Config.src | 1 1 + 0 - 0 !
sysklogd/Config.src | 1 1 + 0 - 0 !
util-linux/Config.src | 27 27 + 0 - 0 !
19 files changed, 114 insertions(+), 4 deletions(-)

 [patch 2/9] mark linux-specific configuration options

PLATFORM_LINUX is used as a dependency for applets or features
which require Linux-specific interfaces.

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

init loginutils termios portability fixes.patch | (download)

init/init.c | 17 16 + 1 - 0 !
loginutils/Config.src | 2 0 + 2 - 0 !
loginutils/getty.c | 27 14 + 13 - 0 !
loginutils/login.c | 2 1 + 1 - 0 !
4 files changed, 31 insertions(+), 17 deletions(-)

 [patch 3/9] init,loginutils: termios portability fixes

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

init halt portability improvements.patch | (download)

init/Config.src | 2 0 + 2 - 0 !
init/halt.c | 14 1 + 13 - 0 !
init/init.c | 16 8 + 8 - 0 !
init/reboot.h | 31 31 + 0 - 0 !
4 files changed, 40 insertions(+), 23 deletions(-)

 [patch 4/9] init,halt: portability improvements

* make init and halt use the same RB_* constants for reboot()
* conditionalize the Linux-specific code

init make the initial TERM value configurable.patch | (download)

init/Config.src | 12 12 + 0 - 0 !
init/init.c | 2 1 + 1 - 0 !
2 files changed, 13 insertions(+), 1 deletion(-)

 [patch 5/9] init: make the initial $term value configurable

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

libbb.h add device names for Hurd and FreeBSD.patch | (download)

include/libbb.h | 26 21 + 5 - 0 !
1 file changed, 21 insertions(+), 5 deletions(-)

 [patch 6/9] libbb.h: add device names for hurd and freebsd

mkdir fix p on FreeBSD.patch | (download)

libbb/make_directory.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 7/9] mkdir: fix -p on freebsd

libbb conditionalize AF_ usage in error reporting.patch | (download)

libbb/xfuncs_printf.c | 4 4 + 0 - 0 !
networking/Config.src | 1 0 + 1 - 0 !
2 files changed, 4 insertions(+), 1 deletion(-)

 [patch 8/9] libbb: conditionalize af_* usage in error reporting

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

tcpsvd udpsvd conditionalize usage of SO_ORIGINAL_DS.patch | (download)

networking/Config.src | 2 0 + 2 - 0 !
networking/tcpudp.c | 5 5 + 0 - 0 !
2 files changed, 5 insertions(+), 2 deletions(-)

 [patch 9/9] tcpsvd,udpsvd: conditionalize usage of so_original_dst

On systems without this call, $TCPORIGDSTADDR is not set.

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

less remove misguided dependency on PLATFORM_LINUX.patch | (download)

miscutils/Config.src | 5 0 + 5 - 0 !
1 file changed, 5 deletions(-)

 [patch 10/12] less: remove misguided dependency on platform_linux

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

bootchartd mounting tmpfs is Linux specific.patch | (download)

init/bootchartd.c | 20 13 + 7 - 0 !
1 file changed, 13 insertions(+), 7 deletions(-)

 [patch 11/12] bootchartd: mounting tmpfs is linux-specific

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

vlock disable linux console calls on other systems.patch | (download)

loginutils/Config.src | 1 0 + 1 - 0 !
loginutils/vlock.c | 15 13 + 2 - 0 !
2 files changed, 13 insertions(+), 3 deletions(-)

 [patch 12/12] vlock: disable linux console calls on other systems

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

cttyhack serial console detection is Linux specific.patch | (download)

shell/Config.src | 1 0 + 1 - 0 !
shell/cttyhack.c | 14 12 + 2 - 0 !
2 files changed, 12 insertions(+), 3 deletions(-)

 [patch 13/19] cttyhack: serial console detection is linux-specific

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

klogd make it work on non linux systems.patch | (download)

sysklogd/Config.src | 17 16 + 1 - 0 !
sysklogd/klogd.c | 128 110 + 18 - 0 !
2 files changed, 126 insertions(+), 19 deletions(-)

 [patch 1/2] klogd: make it work on non-linux systems

The klogctl() interface allows changing the console loglevel, but is
Linux-specific. The more portable method of reading from _PATH_KLOG is
added as an alternative.

Adapted from the Debian kFreeBSD patch at:
stty sort out preprocessor conditionals.patch | (download)

coreutils/Config.src | 1 0 + 1 - 0 !
coreutils/stty.c | 339 214 + 125 - 0 !
2 files changed, 214 insertions(+), 126 deletions(-)

 [patch 2/2] stty: sort out preprocessor conditionals

* Move the definitions of missing constants to the top of the file.
* Fix undefined IDX_xxx on missing termios constants.
* FreeBSD has TABDLY, TAB0 and TAB3, but no TAB1 or TAB2
* Omit the definition of set_window_size() if TIOCGWINSZ is not available.

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

update scripts kconfig _shipped.patch | (download)

scripts/kconfig/lex.zconf.c_shipped | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

---
blockdev.patch | (download)

util-linux/blockdev.c | 195 195 + 0 - 0 !
1 file changed, 195 insertions(+)

 backport blockdev applet from upstream
 This allows os-prober to avoid replaying journals when mounting block
 devices read-only.
u mount FreeBSD support.patch | (download)

util-linux/Config.src | 4 1 + 3 - 0 !
util-linux/Kbuild.src | 4 2 + 2 - 0 !
util-linux/mount.c | 41 3 + 38 - 0 !
util-linux/umount.c | 41 5 + 36 - 0 !
util-linux/xmount.c | 70 70 + 0 - 0 !
util-linux/xmount.h | 97 97 + 0 - 0 !
6 files changed, 178 insertions(+), 79 deletions(-)

 [patch 18/19] (u)mount: freebsd support


Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>

swaponoff FreeBSD support.patch | (download)

util-linux/Config.src | 3 1 + 2 - 0 !
util-linux/swaponoff.c | 6 3 + 3 - 0 !
util-linux/xmount.c | 10 10 + 0 - 0 !
util-linux/xmount.h | 16 10 + 6 - 0 !
4 files changed, 24 insertions(+), 11 deletions(-)

 [patch 19/19] swaponoff: freebsd support


Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>

init console CRTSCTS.patch | (download)

init/init.c | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

---