函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__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

函数原型:static void __labelset_update(struct aa_ns *ns)

返回类型:void

参数:

类型参数名称
struct aa_ns *ns
2097  AA_BUG(!ns)
2098  AA_BUG(!是互斥锁)
2100  循环
2101  label等于labelset_next_stale( & labels)
2102  如果label
2105  aa_put_label(l)
2108 label循环
调用者
名称描述
__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.