Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_task_kill

Proto:static int selinux_task_kill(struct task_struct *p, struct kernel_siginfo *info, int sig, const struct cred *cred)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
struct kernel_siginfo *info
intsig
const struct cred *cred
4157  If Not sig Then perm = PROCESS__SIGNULL
4159  Else perm = Convert a Linux signal to an access vector.
4161  If Not cred Then secid = get the subjective security ID of the current task
4163  Else secid = get the security ID of a set of credentials
4165  Return avc_has_perm - Check permissions and perform any appropriate auditing