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_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
Proto:struct aa_ns *aa_prepare_ns(struct aa_ns *parent, const char *name)
Type:struct aa_ns
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_ns * | parent | |
| const char * | name | 
| 312 | mutex_lock_nested( & lock, level) | 
| 316 | If Not ns Then ns = __aa_create_ns(parent, name, NULL) | 
| 321 | Return ns | 
| Name | Describe | 
|---|---|
| aa_replace_profiles | aa_replace_profiles - replace profile(s) on the profile list*@policy_ns: namespace load is occurring on*@label: label that is attempting to load/replace policy*@mask: permission mask*@udata: serialized data stream (NOT NULL)* unpack and replace a profile | 
| 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  |