linux/Documentation/ABI/obsolete
Stephen Smalley ad1ac3d740 selinux: prune /sys/fs/selinux/user
Remove the previously deprecated /sys/fs/selinux/user interface aside
from a residual stub for userspace compatibility.

Commit d7b6918e22 ("selinux: Deprecate /sys/fs/selinux/user") started
the deprecation process for /sys/fs/selinux/user:

    The selinuxfs "user" node allows userspace to request a list
    of security contexts that can be reached for a given SELinux
    user from a given starting context. This was used by libselinux
    when various login-style programs requested contexts for
    users, but libselinux stopped using it in 2020.
    Kernel support will be removed no sooner than Dec 2025.

A pr_warn() message has been in place since Linux v6.13, and a 5
second sleep was introduced since Linux v6.17 to help make it more
noticeable.

We are now past the stated deadline of Dec 2025, so remove the
underlying functionality and replace it with a stub that returns a
'0\0' buffer to avoid breaking userspace. This also avoids a local DoS
from logspam and an uninterruptible sleep delay.

Cc: stable@vger.kernel.org
Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2026-05-05 15:27:44 -04:00
..
automount-tracefs-debugfs tracing: Deprecate auto-mounting tracefs in debugfs 2025-07-23 10:47:26 -04:00
o2cb docs: update ocfs2-devel mailing list address 2023-07-08 09:29:29 -07:00
procfs-i8k Documentation: ABI: Add ABI file for legacy /proc/i8k interface 2022-02-27 17:03:16 -08:00
sysfs-bus-iio iio: ABI: fix correctness of I and Q modifiers 2025-07-14 19:24:14 +01:00
sysfs-bus-usb
sysfs-class-typec usb: typec: Bus type for alternate modes 2018-07-02 17:42:36 +02:00
sysfs-cpuidle docs: typo fixes in Documentation/ABI/ 2021-05-13 09:13:25 -06:00
sysfs-driver-hid-roccat-arvo HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-isku HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-koneplus HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-konepure HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-kovaplus HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-lua HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-pyra docs: ABI: cleanup several ABI documents 2020-10-30 13:14:29 +01:00
sysfs-driver-hid-roccat-ryos HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes 2015-10-21 11:54:42 +02:00
sysfs-driver-hid-roccat-savu Documentation: fix common spelling mistakes 2016-04-28 07:51:59 -06:00
sysfs-driver-intel_pmc_bxt platform/x86: intel_pmc_ipc: Convert to MFD 2020-04-24 11:18:44 +01:00
sysfs-driver-samsung-laptop platform/x86: samsung-laptop: Expose charge_types 2025-07-22 17:38:39 +03:00
sysfs-firmware-acpi ACPI / scan: Drop support for force_remove 2017-04-13 03:51:47 +02:00
sysfs-gpio gpio: sysfs: export the GPIO directory locally in the gpiochip<id> directory 2025-07-16 10:27:08 +02:00
sysfs-kernel-fadump_enabled Documentation/ABI: Mark /sys/kernel/fadump_* sysfs files deprecated 2020-02-19 22:45:36 +11:00
sysfs-kernel-fadump_registered docs: ABI: remove a meaningless UTF-8 character 2021-05-11 11:00:17 -06:00
sysfs-kernel-fadump_release_mem docs: ABI: remove a meaningless UTF-8 character 2021-05-11 11:00:17 -06:00
sysfs-kernel-kexec-kdump Documentation/ABI: mark old kexec sysfs deprecated 2025-11-27 14:24:43 -08:00
sysfs-platform-ideapad-laptop platform/x86: ideapad: Expose charge_types 2025-06-11 11:29:06 +03:00