函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: any visible label is not unconfined the display_mode returns true

函数原型:static inline bool display_mode(struct aa_ns *ns, struct aa_label *label, int flags)

返回类型:bool

参数:

类型参数名称
struct aa_ns *ns
struct aa_label *label
intflags
1561  如果flags按位与FLAG_SHOW_MODE
1566  如果aa_ns_visible - test if @view is visible from @curr*@curr: namespace to treat as the parent (NOT NULL)*@view: namespace to test if visible from @curr (NOT NULL)*@subns: whether view of a subns is allowed* Returns: true if @view is visible from @curr else profile不等于unconfined则返回:true
1572  返回:false
1575  返回:false
调用者
名称描述
aa_label_snxprintaa_label_snxprint - print a label name to a string buffer*@str: buffer to write to
aa_label_xaudit
aa_label_seq_xprint
aa_label_xprintk