Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\evm\evm_secfs.c Create Date:2022-07-28 20:00:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vm_read_key - read() for <securityfs>/evm*@filp: file pointer, not actually used*@buf: where to put the result*@count: maximum to send along*@ppos: where to start* Returns number of bytes read or error code, as appropriate

Proto:static ssize_t evm_read_key(struct file *filp, char __user *buf, size_t count, loff_t *ppos)

Type:ssize_t

Parameter:

TypeParameterName
struct file *filp
char __user *buf
size_tcount
loff_t *ppos
47  If ppos != 0 Then Return 0
50  sprintf(temp, "%d", (evm_initialized & ~userland has signaled key load ))
51  rc = simple_read_from_buffer(buf, count, ppos, temp, strlen - Find the length of a string*@s: The string to be sized)
53  Return rc