]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lsm: cleanup the debug and console output in lsm_init.c
authorPaul Moore <paul@paul-moore.com>
Wed, 12 Feb 2025 23:20:01 +0000 (18:20 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 22 Oct 2025 23:24:23 +0000 (19:24 -0400)
commit5137e583ba2635b82667dc63cb35305750420411
tree9fc3bccd6aaef68e6bbc0508d3038c6c1b3afa1c
parent450705334f698990804b470437f3014cee979486
lsm: cleanup the debug and console output in lsm_init.c

Move away from an init specific init_debug() macro to a more general
lsm_pr()/lsm_pr_cont()/lsm_pr_dbg() set of macros that are available
both before and after init.  In the process we do a number of minor
changes to improve the LSM initialization output and cleanup the code
somewhat.

Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: John Johansen <john.johhansen@canonical.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/lsm.h
security/lsm_init.c
security/security.c