| Function report | 
| Source Code: security\apparmor\policy.c | Create Date:2022-07-28 19:52:01 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__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
Proto:static void __replace_profile(struct aa_profile *old, struct aa_profile *new)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_profile * | old | |
| struct aa_profile * | new | 
| 753 | If p Then | 
| 762 | p = aa_deref_parent(child) | 
| 770 | parent = aa_deref_parent(old) | 
| Name | Describe | 
|---|---|
| __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 | 
| 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 |