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

NAME

6       register_security - registers a security framework with the kernel
7

SYNOPSIS

9       int register_security(struct security_operations * ops);
10

ARGUMENTS

12       ops
13           a pointer to the struct security_options that is to be registered
14

DESCRIPTION

16       This function allows a security module to register itself with the
17       kernel security subsystem. Some rudimentary checking is done on the ops
18       value passed to this function. You'll need to check first if your LSM
19       is allowed to register its ops by calling security_module_enable(ops).
20
21       If there is already a security module registered with the kernel, an
22       error will be returned. Otherwise 0 is returned on success.
23
25Kernel Hackers Manual 3.10         June 2019              REGISTER_SECURITY(9)
Impressum