Function report |
Source Code:security\apparmor\policy_ns.c |
Create Date:2022-07-28 19:54:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__aa_create_ns
Proto:static struct aa_ns *__aa_create_ns(struct aa_ns *parent, const char *name, struct dentry *dir)
Type:struct aa_ns
Parameter:
Type | Parameter | Name |
---|---|---|
struct aa_ns * | parent | |
const char * | name | |
struct dentry * | dir |
250 | AA_BUG(!mutex_is_locked( & lock)) |
256 | mutex_lock_nested( & lock, level) |
258 | If error Then |
271 | Return ns |
Name | Describe |
---|---|
__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 |
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 |