Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_label_xprintk

Proto:void aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp)

Type:void

Parameter:

TypeParameterName
struct aa_ns *ns
struct aa_label *label
intflags
gfp_tgfp
1764  AA_BUG(!label)
1766  If Not ached label name is present and visible*@label->hname only exists if label is namespace hierachical Then
1770  len = aa_label_asxprint - allocate a string buffer and print label into it*@strp: Returns - the allocated buffer with the label name
1771  If len == -1 Then
1772  AA_DEBUG("label print error")
1773  Return
1775  pr_info("%s", str)
1776  kfree(str)
1777  Else if any visible label is not unconfined the display_mode returns true Then pr_info("%s (%s)", hname, label_modename(ns, label, flags))
1780  Else pr_info("%s", hname)
Caller
NameDescribe
aa_label_printk