1SECURITY_MODULE_ENAB(9)       Security Framework       SECURITY_MODULE_ENAB(9)
2
3
4

NAME

6       security_module_enable - Load given security module on boot ?
7

SYNOPSIS

9       int security_module_enable(struct security_operations * ops);
10

ARGUMENTS

12       ops
13           a pointer to the struct security_operations that is to be checked.
14

DESCRIPTION

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

RETURN TRUE IF

21       -The passed LSM is the one chosen by user at boot time, -or user didn´t
22       specify a specific LSM and we´re the first to ask for registration
23       permission, -or the passed LSM is currently loaded. Otherwise, return
24       false.
25
27Kernel Hackers Manual 2.6.         June 2019           SECURITY_MODULE_ENAB(9)
Impressum