linux-kernelorg-stable/security
Mickaël Salaün 3039ed4327
landlock: Improve bit operations in audit code
Use the BIT() and BIT_ULL() macros in the new audit code instead of
explicit shifts to improve readability.  Use bitmask instead of modulo
operation to simplify code.

Add test_range1_rand15() and test_range2_rand15() KUnit tests to improve
get_id_range() coverage.

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Link: https://lore.kernel.org/r/20250512093732.1408485-1-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
2025-05-12 11:38:53 +02:00
..
apparmor
bpf
integrity ima: process_measurement() needlessly takes inode_lock() on MAY_READ 2025-04-22 16:39:32 +02:00
ipe
keys
landlock landlock: Improve bit operations in audit code 2025-05-12 11:38:53 +02:00
loadpin
lockdown
safesetid
selinux
smack
tomoyo
yama
Kconfig mseal sysmap: kernel config and header change 2025-04-01 15:17:14 -07:00
Kconfig.hardening hardening: Disable GCC randstruct for COMPILE_TEST 2025-04-15 13:50:17 -07:00
Makefile
commoncap.c
device_cgroup.c
inode.c
lsm_audit.c
lsm_syscalls.c
min_addr.c
security.c