函数逻辑报告 |
Source Code:security\apparmor\policy.c |
Create Date:2022-07-27 21:32:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:struct aa_profile *aa_alloc_profile(const char *hname, struct aa_proxy *proxy, gfp_t gfp)
返回类型:struct aa_profile
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | hname | |
struct aa_proxy * | proxy | |
gfp_t | gfp |
264 | 如果非profile则返回:NULL |
267 | 如果非aa_policy_init - initialize a policy structure*@policy: policy to initialize (NOT NULL)*@prefix: prefix name if any is required则转到:fail |
269 | 如果非aa_label_init( & label, 1, gfp)则转到:fail |
273 | 如果非proxy则 |
277 | 否则aa_get_proxy(proxy) |
282 | flags或等于 label is a profile |
286 | 返回:profile |
288 | fail : |
291 | 返回:NULL |
名称 | 描述 |
---|---|
aa_new_null_profile | aa_new_null_profile - create or find a null-X learning profile*@parent: profile that caused this profile to be created (NOT NULL)*@hat: true if the null- learning profile is a hat*@base: name to base the null profile off of*@gfp: type of allocation |
unpack_profile | pack_profile - unpack a serialized profile*@e: serialized data extent information (NOT NULL)* NOTE: unpack profile sets audit struct if there is a 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 插件可实现:逻辑报告 代码生成和批量转换代码 |