函数逻辑报告 |
Source Code:security\apparmor\lib.c |
Create Date:2022-07-27 21:28:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_policy_init - initialize a policy structure*@policy: policy to initialize (NOT NULL)*@prefix: prefix name if any is required
函数原型:bool aa_policy_init(struct aa_policy *policy, const char *prefix, const char *name, gfp_t gfp)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_policy * | policy | |
const char * | prefix | |
const char * | name | |
gfp_t | gfp |
494 | 如果prefix则 |
498 | 否则 |
503 | 如果非hname则返回:false |
507 | name等于asename - find the last component of an hname*@name: hname to find the base profile name component of (NOT NULL)* Returns: the tail (base profile name) name component of an hname |
508 | 初始化链表头 |
509 | 初始化链表头 |
511 | 返回:true |
名称 | 描述 |
---|---|
aa_alloc_profile | aa_alloc_profile - allocate, initialize and return a new profile*@hname: name of the profile (NOT NULL)*@gfp: allocation type* Returns: refcount profile or NULL on failure |
alloc_ns | alloc_ns - allocate, initialize and return a new namespace*@prefix: parent namespace name (MAYBE NULL)*@name: a preallocated name (NOT NULL)* Returns: refcounted namespace or NULL on failure. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |