| Function report | 
| Source Code: security\apparmor\policy.c | Create Date:2022-07-28 19:51:58 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__list_remove_profile - remove a profile from the list it is on*@profile: the profile to remove (NOT NULL)* remove a profile from the list, warning generally removal should* be done with __replace_profile as most profile removals are
Proto:static void __list_remove_profile(struct aa_profile *profile)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_profile * | profile | 
| 142 | AA_BUG(!mutex_is_locked( & lock)) | 
| Name | Describe | 
|---|---|
| __remove_profile | __remove_profile - remove old profile, and children*@profile: profile to be replaced (NOT NULL)* Requires: namespace list lock be held, or list not be shared | 
| __replace_profile | __replace_profile - replace @old with @new on a list*@old: profile to be replaced (NOT NULL)*@new: profile to replace @old with (NOT NULL)*@share_proxy: transfer @old->proxy to @new* Will duplicate and refcount elements that @new inherits from @old | 
| 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 |