android_kernel_motorola_sm6375/security/selinux
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Thiébaud Weksteen f45a77dd24 selinux: ignore unknown extended permissions
commit 900f83cf376bdaf798b6f5dcb2eae0c822e908b6 upstream.

When evaluating extended permissions, ignore unknown permissions instead
of calling BUG(). This commit ensures that future permissions can be
added without interfering with older kernels.

Cc: stable@vger.kernel.org
Fixes: fa1aa143ac ("selinux: extended permissions for ioctls")
Signed-off-by: Thiébaud Weksteen <tweek@google.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-09 13:23:33 +01:00
..
include
ss selinux: ignore unknown extended permissions 2025-01-09 13:23:33 +01:00
.gitignore
avc.c selinux: fix potential counting error in avc_add_xperms_decision() 2024-09-04 13:14:50 +02:00
hooks.c lsm: new security_file_ioctl_compat() hook 2024-02-23 08:25:15 +01:00
ibpkey.c
Kconfig
Makefile
netif.c
netlabel.c
netlink.c
netnode.c
netport.c
nlmsgtab.c
selinuxfs.c selinux: improve error checking in sel_write_load() 2024-11-08 16:20:52 +01:00
xfrm.c