函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_policy_destroy - free the elements referenced by @policy*@policy: policy that is to have its elements freed (NOT NULL)

函数原型:void aa_policy_destroy(struct aa_policy *policy)

返回类型:void

参数:

类型参数名称
struct aa_policy *policy
520  AA_BUG(on_list_rcu( & profiles))
521  AA_BUG(on_list_rcu( & list))
524  aa_put_str(hname)
调用者
名称描述
aa_free_profileaa_free_profile - free a profile*@profile: the profile to free (MAYBE NULL)* Free a profile, its hats and null_profile
aa_free_nsaa_free_ns - free a profile namespace*@ns: the namespace to free (MAYBE NULL)* Requires: All references to the namespace must have been put, if the* namespace was referenced by a profile confining a task,