Function report |
Source Code:security\security.c |
Create Date:2022-07-28 18:38:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:security_add_hooks - Add a modules hooks to the hook lists.*@hooks: the hooks to add*@count: the number of hooks to add*@lsm: the name of the security module* Each LSM has to register its hooks with the infrastructure.
Proto:void __init security_add_hooks(struct security_hook_list *hooks, int count, char *lsm)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct security_hook_list * | hooks | |
| int | count | |
| char * | lsm |
| 457 | If slab_is_available() Then |
| Name | Describe |
|---|---|
| selinux_init | |
| smack_init | smack_init - initialize the smack system* Returns 0 on success, -ENOMEM is there's no memory |
| tomoyo_init | moyo_init - Register TOMOYO Linux as a LSM module.* Returns 0. |
| apparmor_init | |
| yama_init | |
| loadpin_init | |
| safesetid_security_init | |
| lockdown_lsm_init |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |