Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sel_read_initcon

Proto:static ssize_t sel_read_initcon(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
1605  fsi = s_fs_info
1610  sid = Stat data, not accessed from path walking & SEL_INO_MASK
1611  ret = security_sid_to_context(state, sid, & con, & len)
1612  If ret Then Return ret
1615  ret = simple_read_from_buffer(buf, count, ppos, con, len)
1616  kfree(con)
1617  Return ret