| Function report | 
| Source Code: security\apparmor\lsm.c | Create Date:2022-07-28 19:53:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:apparmor_capable
Proto:static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, int cap, unsigned int opts)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct cred * | cred | |
| struct user_namespace * | ns | |
| int | cap | |
| unsigned int | opts | 
| 184 | error = 0 | 
| 186 | label = aa_get_newest_cred_label - obtain the newest label on a cred*@cred: cred to obtain label from (NOT NULL)* Returns: newest version of confining label | 
| 189 | aa_put_label(label) | 
| 191 | Return error | 
| 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 |