函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\include\objsec.h Create Date:2022-07-27 20:25:08
Last Modify:2020-03-18 08:17:34 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:selinux_file

函数原型:static inline struct file_security_struct *selinux_file(const struct file *file)

返回类型:struct file_security_struct

参数:

类型参数名称
const struct file *file
159  返回:f_securitylbs_file
调用者
名称描述
file_alloc_security
file_has_permCheck whether a task can use an open file descriptor toaccess an inode in a given way. Check access to thedescriptor itself, and then use dentry_has_perm tocheck a particular permission to the file.Access to the descriptor is implicitly granted if it
selinux_binder_transfer_file
selinux_file_permission
ioctl_has_permCheck whether a task has the ioctl permission and cmd* operation to an inode.
selinux_file_set_fowner
selinux_file_send_sigiotask
selinux_file_open
selinux_kernel_module_from_file