Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\lib.c Create Date:2022-07-28 19:50:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:void aa_policy_destroy(struct aa_policy *policy)

Type:void

Parameter:

TypeParameterName
struct aa_policy *policy
520  AA_BUG(on_list_rcu( & profiles))
521  AA_BUG(on_list_rcu( & list))
524  aa_put_str(hname)
Caller
NameDescribe
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,