NAME
mod_unreg_security - allows a security module registered with mod_reg_security to be unloaded
SYNOPSIS
int mod_unreg_security(const char * name, struct security_operations * ops);
ARGUMENTS
name
a pointer to a string with the name of the security_options to be removed
ops
a pointer to the struct security_options that is to be removed
DESCRIPTION
This function allows security modules that have been successfully registered with a call to mod_reg_security to be unloaded from the system. This calls the currently loaded security module's unregister_security call with the name and ops variables.
The return value depends on the currently loaded security module, with 0 as success.