[RFC PATCH 11/29] lsm: cleanup initialize_lsm() and rename to lsm_init_single()

Kees Cook kees at kernel.org
Wed Apr 9 23:30:21 UTC 2025


On Wed, Apr 09, 2025 at 02:49:56PM -0400, Paul Moore wrote:
> One part of a larger effort to cleanup the LSM framework initialization
> code.
> 
> Signed-off-by: Paul Moore <paul at paul-moore.com>

Yup, better structure for "exit on fail" instead of indented normal code
flow. :)

Reviewed-by: Kees Cook <kees at kernel.org>

-- 
Kees Cook



More information about the Linux-security-module-archive mailing list