linux/security
Paul Moore 592b104f9b lsm: rename the lsm order variables for consistency
Rename the builtin_lsm_order variable to lsm_order_builtin,
chosen_lsm_order to lsm_order_cmdline, chosen_major_lsm to
lsm_order_legacy, ordered_lsms[] to lsm_order[], and exclusive
to lsm_exclusive.

This patch also renames the associated kernel command line parsing
functions and adds some basic function comment blocks.  The parsing
function choose_major_lsm() was renamed to lsm_choose_security(),
choose_lsm_order() to lsm_choose_lsm(), and enable_debug() to
lsm_debug_enable().

Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2025-10-22 19:24:19 -04:00
..
apparmor lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
bpf lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
integrity lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
ipe lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
keys security: keys: use menuconfig for KEYS symbol 2025-10-04 17:25:35 +03:00
landlock lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
loadpin lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
lockdown lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
safesetid lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
selinux lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
smack lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
tomoyo lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
yama lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
commoncap.c lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
device_cgroup.c device_cgroup: Fix kernel-doc warnings in device_cgroup 2023-06-21 09:30:49 -04:00
inode.c make securityfs_remove() remove the entire subtree 2025-06-11 18:19:46 -04:00
Kconfig lsm: CONFIG_LSM can depend on CONFIG_SECURITY 2025-09-11 16:32:04 -04:00
Kconfig.hardening rust: add bitmap API. 2025-09-22 15:52:44 -04:00
lsm.h lsm: split the init code out into lsm_init.c 2025-10-22 19:24:16 -04:00
lsm_audit.c net: Retire DCCP socket. 2025-04-11 18:58:10 -07:00
lsm_init.c lsm: rename the lsm order variables for consistency 2025-10-22 19:24:19 -04:00
lsm_notifier.c lsm: split the notifier code out into lsm_notifier.c 2025-10-22 19:24:15 -04:00
lsm_syscalls.c lsm: use 32-bit compatible data types in LSM syscalls 2024-03-14 11:31:26 -04:00
Makefile lsm: split the init code out into lsm_init.c 2025-10-22 19:24:16 -04:00
min_addr.c security: use umax() to improve code 2025-08-18 15:41:47 -04:00
security.c lsm: split the init code out into lsm_init.c 2025-10-22 19:24:16 -04:00