.\" 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 "UNREGISTER_SECURITY" "9" "09 October 2005" "" ""
.SH NAME
unregister_security \- unregisters a security framework with the kernel
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int unregister_security (struct security_operations * \fIops\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIops\fB\fR
a pointer to the struct security_options that is to be registered
.SH "DESCRIPTION"
.PP
This function removes a struct security_operations variable that had
previously been registered with a successful call to \fBregister_security\fR\&.
.PP
If \fIops\fR does not match the valued previously passed to \fBregister_security\fR
an error is returned. Otherwise the default security options is set to the
the dummy_security_ops structure, and 0 is returned.