immortalwrt-VIKINGYFY/package/utils/busybox
Petr Štetiar 5809bfaaac 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
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-26 18:22:30 +02:00
..
config
files busybox: Save shell history into /tmp 2024-12-08 19:18:02 +01:00
patches busybox: fix login applet on selinux 2025-07-26 18:22:30 +02:00
Config-defaults.in busybox: Save shell history into /tmp 2024-12-08 19:18:02 +01:00
Config.in
convert_defaults.pl
convert_menuconfig.pl
Makefile busybox: bump PKG_RELEASE 2025-07-19 18:54:05 +02:00
selinux.config