函数逻辑报告 |
Source Code:security\apparmor\lsm.c |
Create Date:2022-07-27 21:37:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Derived from security/commoncap.c:cap_capget
函数原型:static int apparmor_capget(struct task_struct *target, kernel_cap_t *effective, kernel_cap_t *inheritable, kernel_cap_t *permitted)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果非unconfined(label)则 |
166 | 如果COMPLAIN_MODE(profile)则继续下一循环 |
168 | effective等于cap_intersect( * effective, allow) |
170 | permitted等于cap_intersect( * permitted, allow) |
175 | aa_put_label(label) |
177 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |