'\" t .\" Title: security_add_hooks .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Security Framework .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "SECURITY_ADD_HOOKS" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "Security Framework" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" security_add_hooks \- Add a modules hooks to the hook lists\&. .SH "SYNOPSIS" .HP \w'void\ security_add_hooks('u .BI "void security_add_hooks(struct\ security_hook_list\ *\ " "hooks" ", int\ " "count" ", char\ *\ " "lsm" ");" .SH "ARGUMENTS" .PP \fIstruct security_hook_list * hooks\fR .RS 4 the hooks to add .RE .PP \fIint count\fR .RS 4 the number of hooks to add .RE .PP \fIchar * lsm\fR .RS 4 the name of the security module .RE .SH "DESCRIPTION" .PP Each LSM has to register its hooks with the infrastructure\&. .SH "COPYRIGHT" .br