函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:prepare new cred label for modification by prepare_cred block

函数原型:static int apparmor_cred_prepare(struct cred *new, const struct cred *old, gfp_t gfp)

返回类型:int

参数:

类型参数名称
struct cred *new
const struct cred *old
gfp_tgfp
87  set_cred_label(new, aa_get_newest_label - find the newest version of @l*@l: the label to check for newer versions of* Returns: refcounted newest version of @l taking into account* replacement, renames and removals* return @l.)
88  返回:0