openwrt-mirror/package/utils/busybox/patches
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
..
001-fix-non-x86-build.patch busybox: Fix hexdump applet 2024-12-20 19:53:41 +01:00
002-upstream-fix-hexdump.patch busybox: Fix hexdump applet 2024-12-20 19:53:41 +01:00
120-lto-jobserver.patch busybox: update to 1.33 2021-02-14 15:15:32 +01:00
200-udhcpc_reduce_msgs.patch busybox: update to 1.37.0 2024-12-05 21:16:55 +01:00
201-udhcpc_changed_ifindex.patch busybox: update to 1.37.0 2024-12-05 21:16:55 +01:00
210-add_netmsg_util.patch busybox: convert netmsg and lock applet to "new style" applet definition 2017-01-29 14:09:36 +01:00
220-add_lock_util.patch busybox: Fix snprintf arguments in lock 2022-03-31 18:46:53 +02:00
270-libbb_make_unicode_printable.patch busybox: update to 1.30.0 2019-01-01 14:10:47 +01:00
301-ip-link-fix-netlink-msg-size.patch busybox: update to 1.37.0 2024-12-05 21:16:55 +01:00
500-move-traceroute-applets-to-bin.patch busybox: update to 1.33 2021-02-14 15:15:32 +01:00
510-move-passwd-applet-to-bin.patch busybox: update to 1.28.2 2018-04-03 23:26:45 +02:00
520-loginutils-handle-crypt-failures.patch busybox: update to 1.33 2021-02-14 15:15:32 +01:00
530-nslookup-ensure-unique-transaction-IDs-for-the-DNS-queries.patch busybox: update to 1.37.0 2024-12-05 21:16:55 +01:00
600-loginutils-login.c-libselinux-get_default_context-ex.patch busybox: fix login applet on selinux 2025-07-26 18:22:30 +02:00