函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

返回类型:void

参数:

类型参数名称
struct aa_profile *profile
140  AA_BUG(!profile)
141  AA_BUG(!ns)
142  AA_BUG(!是互斥锁)
144  删除不需要重新初始化的列表项
145  aa_put_profile - decrement refcount on profile @p*@p: profile (MAYBE NULL)
调用者
名称描述
__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