Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:__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

Proto:static void __remove_profile(struct aa_profile *profile)

Type:void

Parameter:

TypeParameterName
struct aa_profile *profile
156  AA_BUG(!profile)
157  AA_BUG(!ns)
158  AA_BUG(!mutex_is_locked( & lock))
161  __aa_profile_list_release( & profiles)
163  aa_label_remove( & label)
164  Requires: @profile->ns->lock held
165  __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
Caller
NameDescribe
__aa_profile_list_release__aa_profile_list_release - remove all profiles on the list and put refs*@head: list of profiles (NOT NULL)* Requires: namespace lock be held
aa_remove_profilesaa_remove_profiles - remove profile(s) from the system*@policy_ns: namespace the remove is being done from*@subj: label attempting to remove policy*@fqname: name of the profile or namespace to remove (NOT NULL)*@size: size of the name* Remove a profile or