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 the passed
22       LSM is configured as the default and the user did not choose an
23       alternate LSM at boot time, -or there is no default LSM set and the
24       user didn't specify a specific LSM and we're the first to ask for
25       registration permission, -or the passed LSM is currently loaded.
26       Otherwise, return false.
27
29Kernel Hackers Manual 2.6.       November 2011         SECURITY_MODULE_ENAB(9)
Impressum