函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:label_destroy

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

返回类型:void

参数:

类型参数名称
struct aa_label *label
316  AA_BUG(!label)
318  如果非label_isprofile(label)则
322  aa_put_str(hname)
325  aa_put_profile - decrement refcount on profile @p*@p: profile (MAYBE NULL)
326  vec[i]等于LABEL_POISONi
331  如果cu_dereference_protected() - fetch RCU pointer when updates prevented*@p: The pointer to read, prior to dereferencing*@c: The conditions under which the dereference will take place* Return the value of the specified RCU-protected pointer, but omit(label, true)恒等于labelcu_assign_pointer() - assign to RCU-protected pointer*@p: pointer to assign to*@v: value to assign (publish)* Assigns the specified value to the specified RCU-protected* pointer, ensuring that any concurrent RCU readers will see* any prior initialization(label, NULL)
334  aa_free_secid - free a secid*@secid: secid to free
336  tmp等于cu_dereference_protected() - fetch RCU pointer when updates prevented*@p: The pointer to read, prior to dereferencing*@c: The conditions under which the dereference will take place* Return the value of the specified RCU-protected pointer, but omit(label, true)
337  如果tmp恒等于labelcu_assign_pointer() - assign to RCU-protected pointer*@p: pointer to assign to*@v: value to assign (publish)* Assigns the specified value to the specified RCU-protected* pointer, ensuring that any concurrent RCU readers will see* any prior initialization(label, NULL)
340  aa_put_proxy(proxy)
341  proxy等于he aa_label represents the set of profiles confining an object* Labels maintain a reference count to the set of pointers they reference* Labels are ref counted by* tasks and object via the security field/security context off the field* code - will take a 加1
调用者
名称描述
aa_label_free