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

TypeParameterName
struct aa_profile *profile
140  AA_BUG(!profile)
141  AA_BUG(!ns)
142  AA_BUG(!mutex_is_locked( & lock))
144  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
145  aa_put_profile - decrement refcount on profile @p*@p: profile (MAYBE NULL)
Caller
NameDescribe
__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