.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "MOD_UNREG_SECURITY" "" "06 October 2005" "" ""
.SH NAME
mod_unreg_security \- allows a security module registered with mod_reg_security to be unloaded
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int mod_unreg_security (const char * \fIname\fB, struct security_operations * \fIops\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIname\fB\fR
a pointer to a string with the name of the security_options to be removed
.TP
\fB\fIops\fB\fR
a pointer to the struct security_options that is to be removed
.SH "DESCRIPTION"
.PP
This function allows security modules that have been successfully registered
with a call to \fBmod_reg_security\fR to be unloaded from the system.
This calls the currently loaded security module's \fBunregister_security\fR call
with the \fIname\fR and \fIops\fR variables.
.PP
The return value depends on the currently loaded security module, with 0 as
success.