函数逻辑报告 |
Source Code:security\apparmor\policy_ns.c |
Create Date:2022-07-27 21:43:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__aa_create_ns
函数原型:static struct aa_ns *__aa_create_ns(struct aa_ns *parent, const char *name, struct dentry *dir)
返回类型:struct aa_ns
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_ns * | parent | |
const char * | name | |
struct dentry * | dir |
252 | 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. |
256 | mutex_lock_nested( & lock, level) |
258 | 如果error则 |
263 | 返回:错误号 |
266 | 添加RCU保护项 |
271 | 返回:ns |
名称 | 描述 |
---|---|
__aa_find_or_create_ns | aa_create_ns - create an ns, fail if it already exists*@parent: the parent of the namespace being created*@name: the name of the namespace*@dir: if not null the dir to put the ns entries in* Returns: the a refcounted ns that has been add or an ERR_PTR |
aa_prepare_ns | aa_prepare_ns - find an existing or create a new namespace of @name*@parent: ns to treat as parent*@name: the namespace to find or add (NOT NULL)* Returns: refcounted namespace or PTR_ERR if failed to create one |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |