函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:label_free_switch

函数原型:static void label_free_switch(struct aa_label *label)

返回类型:void

参数:

类型参数名称
struct aa_label *label
355  如果flags按位与 carries NS ref count 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  否则如果label_isprofile(label)则aa_free_profile - free a profile*@profile: the profile to free (MAYBE NULL)* Free a profile, its hats and null_profile
359  否则aa_label_free(label)
调用者
名称描述
label_free_rcu
aa_label_kref