Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sel_read_policy

Proto:static ssize_t sel_read_policy(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
443  plm = needed for tty driver, and maybe others
446  ret = avc_has_perm - Check permissions and perform any appropriate auditing
449  If ret Then Return ret
452  Return simple_read_from_buffer(buf, count, ppos, data, len)