]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selinux: move initcalls to the LSM framework
authorPaul Moore <paul@paul-moore.com>
Tue, 18 Feb 2025 22:50:39 +0000 (17:50 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 22 Oct 2025 23:24:28 +0000 (19:24 -0400)
commit3156bc814f21a976b25c1b4981dcb0f558302b27
treec5f0ee537e1835757c1dbab8c879cac9c8dd9b40
parent82fe7932e84f618c6ec217203606f0c27ebef94b
selinux: move initcalls to the LSM framework

SELinux currently has a number of initcalls so we've created a new
function, selinux_initcall(), which wraps all of these initcalls so
that we have a single initcall function that can be registered with the
LSM framework.

Signed-off-by: Paul Moore <paul@paul-moore.com>
12 files changed:
security/selinux/Makefile
security/selinux/hooks.c
security/selinux/ibpkey.c
security/selinux/include/audit.h
security/selinux/include/initcalls.h [new file with mode: 0644]
security/selinux/initcalls.c [new file with mode: 0644]
security/selinux/netif.c
security/selinux/netlink.c
security/selinux/netnode.c
security/selinux/netport.c
security/selinux/selinuxfs.c
security/selinux/ss/services.c