函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\policy.c Create Date:2022-07-27 21:32:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__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

函数原型:static void __remove_profile(struct aa_profile *profile)

返回类型:void

参数:

类型参数名称
struct aa_profile *profile
156  AA_BUG(!profile)
157  AA_BUG(!ns)
158  AA_BUG(!是互斥锁)
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
调用者
名称描述
__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