Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_kernel_read_file

Proto:static int selinux_kernel_read_file(struct file *file, enum kernel_read_file_id id)

Type:int

Parameter:

TypeParameterName
struct file *file
enum kernel_read_file_idid
4023  rc = 0
4026  Case id == READING_MODULE
4027  rc = selinux_kernel_module_from_file(file)
4028  Break
4029  Default
4030  Break
4033  Return rc