函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-27 20:30:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:selinux_file_open

函数原型:static int selinux_file_open(struct file *file)

返回类型:int

参数:

类型参数名称
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  返回:Same as path_has_perm, but uses the inode from the file struct.