.\" 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 "REGISTER_SECURITY" "9" "09 October 2005" "" "" .SH NAME register_security \- registers a security framework with the kernel .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int register_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 is to allow a security module to register itself with the kernel security subsystem. Some rudimentary checking is done on the \fIops\fR value passed to this function. A call to \fBunregister_security\fR should be done to remove this security_options structure from the kernel. .PP If there is already a security module registered with the kernel, an error will be returned. Otherwise 0 is returned on success.