Function report |
Source Code:security\apparmor\lib.c |
Create Date:2022-07-28 19:50:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_policy_init - initialize a policy structure*@policy: policy to initialize (NOT NULL)*@prefix: prefix name if any is required
Proto:bool aa_policy_init(struct aa_policy *policy, const char *prefix, const char *name, gfp_t gfp)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_policy * | policy | |
| const char * | prefix | |
| const char * | name | |
| gfp_t | gfp |
| 494 | If prefix Then |
| 498 | Else |
| 503 | If Not hname Then Return 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 |
| 511 | Return true |
| Name | Describe |
|---|---|
| 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. |
| 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 |