]> Gentwo Git Trees - linux/.git/commit
lsm: rework lsm_active_cnt and lsm_idlist[]
authorPaul Moore <paul@paul-moore.com>
Wed, 12 Feb 2025 20:36:51 +0000 (15:36 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 22 Oct 2025 23:24:19 +0000 (19:24 -0400)
commit250898ca335f337bc032a9693dc0a30a1cb85825
tree2647692b2aaea4b1748f2d68de95c87cbad29224
parent592b104f9b516b2c22cb23a2f4c34486fdb21bae
lsm: rework lsm_active_cnt and lsm_idlist[]

Move the LSM active count and lsm_id list declarations out of a header
that is visible across the kernel and into a header that is limited to
the LSM framework.  This not only helps keep the include/linux headers
smaller and cleaner, it helps prevent misuse of these variables.

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