1SECURITY_MODULE_ENAB(9) Security Framework SECURITY_MODULE_ENAB(9)
2
3
4
6 security_module_enable - Load given security module on boot ?
7
9 int security_module_enable(struct security_operations * ops);
10
12 ops
13 a pointer to the struct security_operations that is to be checked.
14
16 Each LSM must pass this method before registering its own operations to
17 avoid security registration races. This method may also be used to
18 check if your LSM is currently loaded during kernel initialization.
19
21 -The passed LSM is the one chosen by user at boot time, -or the passed
22 LSM is configured as the default and the user did not choose an
23 alternate LSM at boot time. Otherwise, return false.
24
26Kernel Hackers Manual 3.10 June 2019 SECURITY_MODULE_ENAB(9)