]> Gentwo Git Trees - linux/.git/commit
lsm: split the init code out into lsm_init.c
authorPaul Moore <paul@paul-moore.com>
Thu, 6 Feb 2025 21:44:10 +0000 (16:44 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 22 Oct 2025 23:24:16 +0000 (19:24 -0400)
commit67a4b6a89b99aff0883114e4ecba4b11aedc29a5
tree9aa54f5634b6cc562f7a082fb040888c7c63a371
parenta5e7c17c810052e94dae36f1a976a052f4490458
lsm: split the init code out into lsm_init.c

Continue to pull code out of security/security.c to help improve
readability by pulling all of the LSM framework initialization
code out into a new file.

No code changes.

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>
include/linux/lsm_hooks.h
security/Makefile
security/lsm.h [new file with mode: 0644]
security/lsm_init.c [new file with mode: 0644]
security/security.c