linux/security/integrity/evm
Paul Moore 9f9dc69e06 lsm: replace the name field with a pointer to the lsm_id struct
Reduce the duplication between the lsm_id struct and the DEFINE_LSM()
definition by linking the lsm_id struct directly into the individual
LSM's DEFINE_LSM() instance.

Linking the lsm_id into the LSM definition also allows us to simplify
the security_add_hooks() function by removing the code which populates
the lsm_idlist[] array and moving it into the normal LSM startup code
where the LSM list is parsed and the individual LSMs are enabled,
making for a cleaner implementation with less overhead at boot.

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:18 -04:00
..
Kconfig evm: Make it independent from 'integrity' LSM 2024-02-15 23:43:47 -05:00
Makefile
evm.h evm: Store and detect metadata inode attributes changes 2024-04-09 17:14:57 -04:00
evm_crypto.c integrity: fix typos and spelling errors 2025-02-04 21:36:43 -05:00
evm_main.c lsm: replace the name field with a pointer to the lsm_id struct 2025-10-22 19:24:18 -04:00
evm_posix_acl.c
evm_secfs.c evm_secfs: clear securityfs interactions 2025-06-17 18:10:30 -04:00