Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_file_open

Proto:static int selinux_file_open(struct file *file)

Type:int

Parameter:

TypeParameterName
struct file *file
3867  fsec = selinux_file(file)
3868  isec = Get the security label of an inode.
3876  SID of inode at the time of file open = SID of this object
3877  Policy seqno at the time of file open = avc_policy_seqno( & selinux_state)
3886  Return Same as path_has_perm, but uses the inode from the file struct.