[RFC PATCH 02/29] lsm: split the init code out into lsm_init.c
Kees Cook
kees at kernel.org
Wed Apr 9 21:18:50 UTC 2025
On Wed, Apr 09, 2025 at 02:49:47PM -0400, Paul Moore wrote:
> 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.
No behavioral changes, but this allows for the section arrays to avoid
being exposed in a common header. I think the reorganization it worth it
for this alone! :)
>
> Signed-off-by: Paul Moore <paul at paul-moore.com>
Reviewed-by: Kees Cook <kees at kernel.org>
--
Kees Cook
More information about the Linux-security-module-archive
mailing list