mod_reg_security — allows security modules to be “stacked”
int mod_reg_security ( | const char * | name, |
struct security_operations * | ops) ; |
name
a pointer to a string with the name of the security_options to be registered
ops
a pointer to the struct security_options that is to be registered
This function allows security modules to be stacked if the currently loaded
security module allows this to happen. It passes the name
and ops
to the
register_security function of the currently loaded security module.
The return value depends on the currently loaded security module, with 0 as success.