Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:label_free_switch

Proto:static void label_free_switch(struct aa_label *label)

Type:void

Parameter:

TypeParameterName
struct aa_label *label
355  If flags & carries NS ref count Then aa_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,
357  Else if label_isprofile(label) Then aa_free_profile - free a profile*@profile: the profile to free (MAYBE NULL)* Free a profile, its hats and null_profile
359  Else aa_label_free(label)
Caller
NameDescribe
label_free_rcu
aa_label_kref