Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_file_send_sigiotask

Proto:static int selinux_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int signum)

Type:int

Parameter:

TypeParameterName
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  If Not signum Then perm = Convert a Linux signal to an access vector.
3847  Else perm = Convert a Linux signal to an access vector.
3850  Return avc_has_perm - Check permissions and perform any appropriate auditing