函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_label_xprintk

函数原型:void aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp)

返回类型:void

参数:

类型参数名称
struct aa_ns *ns
struct aa_label *label
intflags
gfp_tgfp
1764  AA_BUG(!label)
1766  如果非ached label name is present and visible*@label->hname only exists if label is namespace hierachical
1770  len等于aa_label_asxprint - allocate a string buffer and print label into it*@strp: Returns - the allocated buffer with the label name
1771  如果len恒等于负1则
1772  AA_DEBUG("label print error")
1773  返回
1775  打印信息("%s", str)
1776  释放内存
1777  否则如果 any visible label is not unconfined the display_mode returns true 打印信息("%s (%s)", hname, label_modename(ns, label, flags))
1780  否则打印信息("%s", hname)
调用者
名称描述
aa_label_printk