函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_str_alloc

函数原型:__counted char *aa_str_alloc(int size, gfp_t gfp)

返回类型:char

参数:

类型参数名称
intsize
gfp_tgfp
139  str等于开辟内存
140  如果非str则返回:NULL
143  初始化对象
144  返回:name
调用者
名称描述
aa_policy_initaa_policy_init - initialize a policy structure*@policy: policy to initialize (NOT NULL)*@prefix: prefix name if any is required
aa_label_acntsxprintaa_label_acntsxprint - allocate a __counted string buffer and print label*@strp: buffer to write to