函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smack_key_alloc - Set the key security blob*@key: object*@cred: the credentials to use*@flags: unused* No allocation required* Returns 0

函数原型:static int smack_key_alloc(struct key *key, const struct cred *cred, unsigned long flags)

返回类型:int

参数:

类型参数名称
struct key *key
const struct cred *cred
unsigned longflags
4217  skp等于Present a pointer to the smack label entry in an task blob.
4219  security data for this key 等于skp
4220  返回:0