openwrt/package/utils/busybox
Petr Štetiar bfed41cc6a busybox: fix login applet on selinux
Currently the system boots up, but is unusable because pressing enter
does not provide login with error:

  login: can't get SID for root

This is happenning, because login.c passes the Linux username directly
to get_default_context(), while libselinux expects an SELinux user
identity, causing the call to fail for users without a matching SELinux
name (e.g., root) and aborting login on SELinux-enabled systems.

Fixes: #19075
Upstream-Status: Submitted [https://lists.busybox.net/pipermail/busybox/2025-April/091407.html]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Link: https://github.com/openwrt/openwrt/pull/19080
(cherry picked from commit 5809bfaaac)
Link: https://github.com/openwrt/openwrt/pull/19542
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-27 19:42:04 +02:00
..
config busybox: update to 1.36.0 2023-01-07 17:22:54 +01:00
files busybox: sysntpd: add trigger to reload server 2021-06-27 23:54:06 +02:00
patches busybox: fix login applet on selinux 2025-07-27 19:42:04 +02:00
Config-defaults.in failsafe: fix console failsafe shell 2024-08-19 18:55:00 +02:00
Config.in busybox: add selinux variant 2020-08-23 23:37:08 +01:00
convert_defaults.pl busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated 2014-01-31 13:50:16 +00:00
convert_menuconfig.pl busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files 2016-01-03 11:38:31 +00:00
Makefile busybox: use external libtirpc when using glibc 2025-04-10 20:51:56 +02:00
selinux.config busybox: add selinux variant 2020-08-23 23:37:08 +01:00