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:aa_label_asxprint - allocate a string buffer and print label into it*@strp: Returns - the allocated buffer with the label name

Proto:int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp)

Type:int

Parameter:

TypeParameterName
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  If size < 0 Then Return size
1671  strp = Allocation memory
1672  If Not strp Then Return -ENOMEM
1674  Return aa_label_snxprint - print a label name to a string buffer*@str: buffer to write to
Caller
NameDescribe
apparmor_secid_to_secctx
aa_label_xaudit
aa_label_seq_xprint
aa_label_xprintk