函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_label_acntsxprint - allocate a __counted string buffer and print label*@strp: buffer to write to

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

返回类型:int

参数:

类型参数名称
char __counted **strp
struct aa_ns *ns
struct aa_label *label
intflags
gfp_tgfp
1693  AA_BUG(!strp)
1694  AA_BUG(!label)
1696  size等于aa_label_snxprint - print a label name to a string buffer*@str: buffer to write to
1697  如果size小于0则返回:size
1700  strp等于aa_str_alloc(size + 1, gfp)
1701  如果非strp则返回:负ENOMEM
1703  返回:aa_label_snxprint - print a label name to a string buffer*@str: buffer to write to
调用者
名称描述
aa_update_label_nameaa_update_label_name - update a label to have a stored name*@ns: ns being viewed from (NOT NULL)*@label: label to update (NOT NULL)*@gfp: type of memory allocation* Requires: labels_set(label) not locked in caller* note: only updates the label name if it