函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:labelset_next_stale

函数原型:static struct aa_label *labelset_next_stale(struct aa_labelset *ls)

返回类型:struct aa_label

参数:

类型参数名称
struct aa_labelset *ls
1989  AA_BUG(!ls)
1991  read_lock_irqsave( & lock, flags)
1994  label等于rb_entry(node, structaa_label, node)
1995  如果label_is_stale(label)或vec_is_stale(vec, size)的值且__aa_get_label - get a reference count to uncounted label reference*@l: reference to get a count on* Returns: pointer to reference OR NULL if race is lost and reference is* being repeated.* Requires: lock held, and the return code MUST be checked则转到:out
2001  label = NULL
2003  out :
2004  read_unlock_irqrestore( & lock, flags)
2006  返回:label
调用者
名称描述
__labelset_update__labelset_update - update labels in @ns*@ns: namespace to update labels in (NOT NULL)* Requires: @ns lock be held* Walk the labelset ensuring that all labels are up to date and valid* Any label that has a stale component is marked stale and replaced and