Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sel_read_policycap

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

Type:ssize_t

Parameter:

TypeParameterName
struct file *file
char __user *buf
size_tcount
loff_t *ppos
1701  fsi = s_fs_info
1705  i_ino = Stat data, not accessed from path walking
1707  value = security_policycap_supported(state, i_ino & SEL_INO_MASK)
1708  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*@
1710  Return simple_read_from_buffer(buf, count, ppos, tmpbuf, length)