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_free_profile - free a profile*@profile: the profile to free (MAYBE NULL)* Free a profile, its hats and null_profile
Proto:void aa_free_profile(struct aa_profile *profile)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_profile * | profile | 
| 212 | If Not profile Then Return | 
| 222 | aa_free_file_rules( & file) | 
| 223 | aa_free_cap_rules( & caps) | 
| 224 | aa_free_rlimit_rules( & rlimits) | 
| 236 | If data Then | 
| 238 | data = NULL | 
| 244 | aa_put_loaddata(rawdata) | 
| 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 | 
| 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 | 
| unpack_profile | pack_profile - unpack a serialized profile*@e: serialized data extent information (NOT NULL)* NOTE: unpack profile sets audit struct if there is a failure | 
| aa_free_ns | aa_free_ns - free a profile namespace*@ns: the namespace to free (MAYBE NULL)* Requires: All references to the namespace must have been put, if the* namespace was referenced by a profile confining a task, | 
| label_free_switch | 
| 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  |