Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: any visible label is not unconfined the display_mode returns true

Proto:static inline bool display_mode(struct aa_ns *ns, struct aa_label *label, int flags)

Type:bool

Parameter:

TypeParameterName
struct aa_ns *ns
struct aa_label *label
intflags
1561  If flags & FLAG_SHOW_MODE Then
1566  If 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 Then Return true
1572  Return false
1575  Return false
Caller
NameDescribe
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