summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/obsolete
diff options
context:
space:
mode:
authorStephen Smalley <stephen.smalley.work@gmail.com>2024-10-04 19:27:10 +0200
committerPaul Moore <paul@paul-moore.com>2024-10-07 22:39:49 +0200
commitd7b6918e22c74f2b354d8dc0ef31ab17ae334b93 (patch)
tree7c1a3eef40d3cc8c52563aa0bb8644eac7169b18 /Documentation/ABI/obsolete
parentselinux: apply clang format to security/selinux/nlmsgtab.c (diff)
downloadlinux-d7b6918e22c74f2b354d8dc0ef31ab17ae334b93.tar.xz
linux-d7b6918e22c74f2b354d8dc0ef31ab17ae334b93.zip
selinux: Deprecate /sys/fs/selinux/user
The only known user of this interface was libselinux and its internal usage of this interface for get_ordered_context_list(3) was removed in Feb 2020, with a deprecation warning added to security_compute_user(3) at the same time. Add a deprecation warning to the kernel and schedule it for final removal in 2025. Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'Documentation/ABI/obsolete')
-rw-r--r--Documentation/ABI/obsolete/sysfs-selinux-user12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/ABI/obsolete/sysfs-selinux-user b/Documentation/ABI/obsolete/sysfs-selinux-user
new file mode 100644
index 000000000000..8ab7557f283f
--- /dev/null
+++ b/Documentation/ABI/obsolete/sysfs-selinux-user
@@ -0,0 +1,12 @@
+What: /sys/fs/selinux/user
+Date: April 2005 (predates git)
+KernelVersion: 2.6.12-rc2 (predates git)
+Contact: selinux@vger.kernel.org
+Description:
+
+ 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.