Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sel_read_handle_unknown

Proto:static ssize_t sel_read_handle_unknown(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
202  fsi = s_fs_info
203  state = state
206  ino = Stat data, not accessed from path walking
207  handle_unknown = If ino == export unknown reject handling to userspace Then security_get_reject_unknown(state) Else Not security_get_allow_unknown(state)
211  length = scnprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
212  Return simple_read_from_buffer(buf, count, ppos, tmpbuf, length)