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:Derived from security/commoncap.c:cap_capget
Proto:static int apparmor_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, kernel_cap_t *permitted)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | target | |
kernel_cap_t * | effective | |
kernel_cap_t * | inheritable | |
kernel_cap_t * | permitted |
155 | 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 |
161 | If Not unconfined(label) Then |
166 | If COMPLAIN_MODE(profile) Then Continue |
168 | effective = cap_intersect( * effective, allow) |
170 | permitted = cap_intersect( * permitted, allow) |
175 | aa_put_label(label) |
177 | Return 0 |
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 |