函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lsm_cred_alloc - allocate a composite cred blob*@cred: the cred that needs a blob*@gfp: allocation type* Allocate the cred blob for all the modules* Returns 0, or -ENOMEM if memory can't be allocated.

函数原型:static int lsm_cred_alloc(struct cred *cred, gfp_t gfp)

返回类型:int

参数:

类型参数名称
struct cred *cred
gfp_tgfp
495  如果lbs_cred恒等于0则
496  subjective LSM security = NULL
497  返回:0
500  subjective LSM security 等于分配内存并置零
501  如果( subjective LSM security == NULL)则返回:负ENOMEM
503  返回:0
调用者
名称描述
lsm_early_cred
security_cred_alloc_blank
security_prepare_creds