Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\smack\smack_lsm.c Create Date:2022-07-28 19:24:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static int smack_key_alloc(struct key *key, const struct cred *cred, unsigned long flags)

Type:int

Parameter:

TypeParameterName
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  Return 0