Name

security_add_hooks — Add a modules hooks to the hook lists.

Synopsis

void security_add_hooks (struct security_hook_list * hooks,
 int count,
 char * lsm);
 

Arguments

struct security_hook_list * hooks

the hooks to add

int count

the number of hooks to add

char * lsm

the name of the security module

Description

Each LSM has to register its hooks with the infrastructure.