函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_label_asxprint - allocate a string buffer and print label into it*@strp: Returns - the allocated buffer with the label name

函数原型:int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp)

返回类型:int

参数:

类型参数名称
char **strp
struct aa_ns *ns
struct aa_label *label
intflags
gfp_tgfp
1664  AA_BUG(!strp)
1665  AA_BUG(!label)
1667  size等于aa_label_snxprint - print a label name to a string buffer*@str: buffer to write to
1668  如果size小于0则返回:size
1671  strp等于开辟内存
1672  如果非strp则返回:负ENOMEM
1674  返回:aa_label_snxprint - print a label name to a string buffer*@str: buffer to write to
调用者
名称描述
apparmor_secid_to_secctx
aa_label_xaudit
aa_label_seq_xprint
aa_label_xprintk