| Function report | 
| Source Code: security\apparmor\policy.c | Create Date:2022-07-28 19:51:59 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:aa_find_child - find a profile by @name in @parent*@parent: profile to search (NOT NULL)*@name: profile name to search for (NOT NULL)* Returns: a refcounted profile or NULL if not found
Proto:struct aa_profile *aa_find_child(struct aa_profile *parent, const char *name)
Type:struct aa_profile
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_profile * | parent | |
| const char * | name | 
| 338 | Do | 
| 344 | Return profile | 
| Name | Describe | 
|---|---|
| build_change_hat | helper fn for change_hat* Returns: label for hat transition OR ERR_PTR. Does NOT return NULL | 
| change_hat | helper fn for changing into a hat* Returns: label for hat transition or ERR_PTR. Does not return 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 | 
| x_table_lookup | x_table_lookup - lookup an x transition name via transition table*@profile: current profile (NOT NULL)*@xindex: index into x transition table*@name: returns: name tested to find label (NOT NULL)* Returns: refcounted label, or NULL on failure (MAYBE NULL) | 
| 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 |