Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:labelset_next_stale

Proto:static struct aa_label *labelset_next_stale(struct aa_labelset *ls)

Type:struct aa_label

Parameter:

TypeParameterName
struct aa_labelset *ls
1989  AA_BUG(!ls)
1991  read_lock_irqsave( & lock, flags)
1994  label = rb_entry(node, structaa_label, node)
1995  If (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 Then Go to out
2001  label = NULL
2003  out :
2004  read_unlock_irqrestore( & lock, flags)
2006  Return label
Caller
NameDescribe
__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