util-linux: security bump to version 2.31
PATCH 1/2 util-linux: security bump to version 2.31
Fix CVE-2016-2779: runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
The new experimental "su --pty" feature has been implemented to fix this issue. The feature is not enabled by default and the new command line option --pty is necessary.
Add rfkill, a command for enabling and disabling wireless devices. This implementation is based upon, and backward compatible with, the original rfkill from Johannes Berg and Marcel Holtmann, currently provided by the standalone "rfkill" package.
Add uuidparse, a command to analyze and print information about UUID's.
The "reset" script is not part of utill-linux anymore. Add a legacy config telling the user to use either BusyBox or the ncurses program.
Drop the ncursesw patch, allready applied upstream. AUTORECONF is not required anymore.
--- Config.in.legacy | 8 +++ ...upport-ncursesw-without-headers-in-ncurse.patch | 58 ---------------------- package/util-linux/Config.in | 13 +++-- package/util-linux/util-linux.hash | 4 +- package/util-linux/util-linux.mk | 16 +++--- 5 files changed, 25 insertions(+), 74 deletions(-) delete mode 100644 package/util-linux/0001-build-sys-support-ncursesw-without-headers-in-ncurse.patch
Config.in.legacy +8 -0
@@ -145,6 +145,14 @@ endif ############################################################################### comment "Legacy options removed in 2017.11" +config BR2_PACKAGE_UTIL_LINUX_RESET + bool "util-linux reset removed" + select BR2_LEGACY + help + The util-linux package no longer offers a "reset" command. Use + either the reset command provided by BusyBox or select ncurses + programs, which will install a symlink from "tset" to reset. + config BR2_PACKAGE_OPENOBEX_BLUEZ bool "openobex bluez option removed" select BR2_LEGACY
package/util-linux/0001-build-sys-support-ncursesw-without-headers-in-ncurse.patch deleted +0 -58
58 lines not on this page · raw message
package/util-linux/Config.in +9 -4
@@ -59,7 +59,8 @@ config BR2_PACKAGE_UTIL_LINUX_BINARIES ldattach, look, lsblk, lscpu, lsipc, lslocks, lsns, mcookie, mkfs, mkswap, namei, prlimit, readprofile, renice, rev, rtcwake, script, scriptreplay, setarch, setsid, sfdisk, - swaplabel, swapoff, swapon, uuidgen, whereis, wipefs + swaplabel, swapoff, swapon, uuidgen, uuidparse, whereis, + wipefs The setarch utility also installs architecture-specific symlinks like linux32, linux64, uname26, i386 and x86_64.
@@ -291,10 +292,14 @@ config BR2_PACKAGE_UTIL_LINUX_RENAME help Rename files -config BR2_PACKAGE_UTIL_LINUX_RESET - bool "reset" +config BR2_PACKAGE_UTIL_LINUX_RFKILL + bool "rfkill" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS help - Reset the terminal + Tool for enabling and disabling wireless devices. This new + implementation is based upon, and backward compatible with, + the original rfkill from Johannes Berg and Marcel Holtmann. config BR2_PACKAGE_UTIL_LINUX_RUNUSER bool "runuser"
package/util-linux/util-linux.hash +2 -2
@@ -1,2 +1,2 @@ -# From https://www.kernel.org/pub/linux/utils/util-linux/v2.30/sha256sums.asc -sha256 7b5be5489e9b5b7177832836467aba1c87bf0e9bcbcb5a6f35d76cd4782589dc util-linux-2.30.2.tar.xz +# From https://www.kernel.org/pub/linux/utils/util-linux/v2.31/sha256sums.asc +sha256 f9be7cdcf4fc5c5064a226599acdda6bdf3d86c640152ba01ea642d91108dc8a util-linux-2.31.tar.xz
package/util-linux/util-linux.mk +6 -10
@@ -4,19 +4,15 @@ # ################################################################################ -UTIL_LINUX_VERSION_MAJOR = 2.30 -UTIL_LINUX_VERSION_MINOR = 2 -UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).$(UTIL_LINUX_VERSION_MINOR) +UTIL_LINUX_VERSION_MAJOR = 2.31 +UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR) UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR) -# 0001-Revert-build-sys-ncurses-headers-cleanup.patch -UTIL_LINUX_AUTORECONF = YES - # README.licensing claims that some files are GPL-2.0 only, but this is not true. -# Some files are GPL-3.0+ but only in tests. -UTIL_LINUX_LICENSE = GPL-2.0+, BSD-4-Clause, LGPL-2.1+ (libblkid, libfdisk, libmount), BSD-3-Clause (libuuid) -UTIL_LINUX_LICENSE_FILES = README.licensing Documentation/licenses/COPYING.GPLv2 Documentation/licenses/COPYING.UCB Documentation/licenses/COPYING.LGPLv2.1 Documentation/licenses/COPYING.BSD-3 +# Some files are GPL-3.0+ but only in tests. rfkill uses an ISC-style license. +UTIL_LINUX_LICENSE = GPL-2.0+, BSD-4-Clause, LGPL-2.1+ (libblkid, libfdisk, libmount), BSD-3-Clause (libuuid) ISC (rfkill) +UTIL_LINUX_LICENSE_FILES = README.licensing Documentation/licenses/COPYING.GPLv2 Documentation/licenses/COPYING.UCB Documentation/licenses/COPYING.LGPLv2.1 Documentation/licenses/COPYING.BSD-3 sys-utils/rfkill.c UTIL_LINUX_INSTALL_STAGING = YES UTIL_LINUX_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) # uClibc needs NTP_LEGACY for sys/timex.h -> ntp_gettime() support
@@ -135,7 +131,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT),--enable-pivot_root,--disable-pivot_root) \ $(if $(BR2_PACKAGE_UTIL_LINUX_RAW),--enable-raw,--disable-raw) \ $(if $(BR2_PACKAGE_UTIL_LINUX_RENAME),--enable-rename,--disable-rename) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_RESET),--enable-reset,--disable-reset) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_RFKILL),--enable-rfkill,--disable-rfkill) \ $(if $(BR2_PACKAGE_UTIL_LINUX_RUNUSER),--enable-runuser,--disable-runuser) \ $(if $(BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS),--enable-schedutils,--disable-schedutils) \ $(if $(BR2_PACKAGE_UTIL_LINUX_SETPRIV),--enable-setpriv,--disable-setpriv) \
Signature · 1 line
2.13.6
PATCH 2/2 rfkill: remove package
The rfkill program has been incorporated to the util-linux package.
The new implementation is based upon, and backward compatible with, the original rfkill from Johannes Berg and Marcel Holtmann.
--- Config.in.legacy | 8 ++++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/aircrack-ng/Config.in | 4 ++-- package/rfkill/Config.in | 7 ------- package/rfkill/rfkill.hash | 2 -- package/rfkill/rfkill.mk | 22 ---------------------- 7 files changed, 10 insertions(+), 35 deletions(-) delete mode 100644 package/rfkill/Config.in delete mode 100644 package/rfkill/rfkill.hash delete mode 100644 package/rfkill/rfkill.mk
Config.in.legacy +8 -0
@@ -145,6 +145,14 @@ endif ############################################################################### comment "Legacy options removed in 2017.11" +config BR2_PACKAGE_RFKILL + bool "rfkill package removed" + select BR2_LEGACY + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_RFKILL + help + The rfkill program is now provided by the util-linux package. + config BR2_PACKAGE_UTIL_LINUX_RESET bool "util-linux reset removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -1769,7 +1769,6 @@ N: Vinicius Tinti <[email protected]> F: package/python-thrift/ N: Volkov Viacheslav <[email protected]> -F: package/rfkill/ F: package/v4l2grab/ F: package/zbar/
package/Config.in +0 -1
@@ -474,7 +474,6 @@ endmenu source "package/pru-software-support/Config.in" source "package/pulseview/Config.in" source "package/read-edid/Config.in" - source "package/rfkill/Config.in" source "package/rng-tools/Config.in" source "package/rpi-userland/Config.in" source "package/rs485conf/Config.in"
package/aircrack-ng/Config.in +2 -2
@@ -11,8 +11,8 @@ config BR2_PACKAGE_AIRCRACK_NG help A set of tools for auditing wireless networks - For complete functionality, also select ethtool, iw, rfkill, - util-linux utilities, and wireless_tools. + For complete functionality, also select ethtool, iw, + util-linux (utilities and rfkill), and wireless_tools. http://www.aircrack-ng.org/
package/rfkill/Config.in deleted +0 -7
@@ -1,7 +0,0 @@ -config BR2_PACKAGE_RFKILL - bool "rfkill" - help - rfkill is a small userspace tool to query the state of the - rfkill switches. - - https://wireless.wiki.kernel.org/en/users/documentation/rfkill
package/rfkill/rfkill.hash deleted +0 -2
@@ -1,2 +0,0 @@ -# From: https://www.kernel.org/pub/software/network/rfkill/sha256sums.asc -sha256 e0ae3004215e39a6c5c36e0726558740728d16f67ebdb8bea621250f6091d86a rfkill-0.5.tar.xz
package/rfkill/rfkill.mk deleted +0 -22
@@ -1,22 +0,0 @@ -################################################################################ -# -# rfkill -# -################################################################################ - -RFKILL_VERSION = 0.5 -RFKILL_SOURCE = rfkill-$(RFKILL_VERSION).tar.xz -RFKILL_SITE = https://www.kernel.org/pub/software/network/rfkill -RFKILL_LICENSE = ISC -RFKILL_LICENSE_FILES = COPYING - -define RFKILL_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - VERSION_SUFFIX="br" -endef - -define RFKILL_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package))
Signature · 1 line
2.13.6
PATCH 2/2 rfkill: remove package
Quoted 6 lines · Carlos Santos
The rfkill program has been incorporated to the util-linux package.
The new implementation is based upon, and backward compatible with, the original rfkill from Johannes Berg and Marcel Holtmann.
Signed-off-by Carlos Santos <[email protected]>
[snip]
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 2/2 rfkill: remove package
In reply to Carlos SantosQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Carlos" == Carlos Santos <[email protected]> writes:
The rfkill program has been incorporated to the util-linux package. The new implementation is based upon, and backward compatible with, the original rfkill from Johannes Berg and Marcel Holtmann.
Signed-off-by Carlos Santos <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard