mirror-linux/security/selinux
Paul Moore ea64aa57d5 selinux: drop the BUG() in cred_has_capability()
With the compile time check located immediately above the
cred_has_capability() function ensuring that we will notice if the
capability set grows beyond 63 capabilities, we can safely remove
the BUG() call from the cred_has_capability().

Signed-off-by: Paul Moore <paul@paul-moore.com>
2026-01-14 16:26:21 -05:00
..
include selinux: add support for BPF token access control 2026-01-13 15:42:37 -05:00
ss selinux/stable-6.19 PR 20251201 2025-12-03 10:45:47 -08:00
.gitignore selinux: move genheaders to security/selinux/ 2024-10-03 16:07:51 -04:00
Kconfig selinux: Introduce a new config to make avc cache slot size adjustable 2025-10-23 18:24:30 -04:00
Makefile selinux: move initcalls to the LSM framework 2025-10-22 19:24:28 -04:00
avc.c selinux: improve bucket distribution uniformity of avc_hash() 2025-10-23 18:24:30 -04:00
genheaders.c selinux: move genheaders to security/selinux/ 2024-10-03 16:07:51 -04:00
hooks.c selinux: drop the BUG() in cred_has_capability() 2026-01-14 16:26:21 -05:00
ibpkey.c selinux: move initcalls to the LSM framework 2025-10-22 19:24:28 -04:00
ima.c selinux: adjust typos in comments 2023-05-08 16:44:01 -04:00
initcalls.c selinux: move initcalls to the LSM framework 2025-10-22 19:24:28 -04:00
netif.c selinux: move initcalls to the LSM framework 2025-10-22 19:24:28 -04:00
netlabel.c lsm/stable-6.12 PR 20240911 2024-09-16 18:19:47 +02:00
netlink.c selinux: move initcalls to the LSM framework 2025-10-22 19:24:28 -04:00
netnode.c selinux: move initcalls to the LSM framework 2025-10-22 19:24:28 -04:00
netport.c selinux: move initcalls to the LSM framework 2025-10-22 19:24:28 -04:00
nlmsgtab.c net: Retire DCCP socket. 2025-04-11 18:58:10 -07:00
selinuxfs.c Some filesystems use a kinda-sorta controlled dentry refcount leak to pin 2025-12-05 14:36:21 -08:00
status.c selinux: avoid implicit conversions regarding enforcing status 2023-07-18 18:29:50 -04:00
xfrm.c selinux: fix selinux_xfrm_alloc_user() to set correct ctx_len 2025-06-16 19:02:22 -04:00