函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:selinux_file_send_sigiotask

函数原型:static int selinux_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int signum)

返回类型:int

参数:

类型参数名称
struct task_struct *tsk
struct fown_struct *fown
intsignum
3836  sid等于get the objective security ID of a task
3841  file等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(fown, structfile, f_owner)
3843  fsec等于selinux_file(file)
3845  如果非signumperm等于Convert a Linux signal to an access vector.
3847  否则perm等于Convert a Linux signal to an access vector.
3850  返回:avc_has_perm - Check permissions and perform any appropriate auditing