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_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

Proto:static void __labelset_update(struct aa_ns *ns)

Type:void

Parameter:

TypeParameterName
struct aa_ns *ns
2097  AA_BUG(!ns)
2098  AA_BUG(!mutex_is_locked( & lock))
2100  Do
2101  label = labelset_next_stale( & labels)
2102  If label Then
2105  aa_put_label(l)
2108  When label cycle
Caller
NameDescribe
__aa_labelset_update_subtree__aa_labelset_udate_subtree - update all labels with a stale component*@ns: ns to start update at (NOT NULL)* Requires: @ns lock be held* Invalidates labels based on @p in @ns and any children namespaces.