Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sel_read_avc_hash_stats

Proto:static ssize_t sel_read_avc_hash_stats(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
1468  fsi = s_fs_info
1469  state = state
1473  page = __get_free_page(GFP_KERNEL)
1474  If Not page Then Return -ENOMEM
1477  length = avc_get_hash_stats(avc, page)
1478  If length >= 0 Then length = simple_read_from_buffer(buf, count, ppos, page, length)
1480  free_page((unsignedlong)page)
1482  Return length