Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Convert a Linux signal to an access vector.

Proto:static inline unsigned int signal_to_av(int sig)

Type:unsigned int

Parameter:

TypeParameterName
intsig
1599  perm = 0
1602  Case sig == SIGCHLD
1604  perm = PROCESS__SIGCHLD
1605  Break
1606  Case sig == SIGKILL
1608  perm = PROCESS__SIGKILL
1609  Break
1610  Case sig == SIGSTOP
1612  perm = PROCESS__SIGSTOP
1613  Break
1614  Default
1616  perm = PROCESS__SIGNAL
1617  Break
1620  Return perm
Caller
NameDescribe
selinux_file_send_sigiotask
selinux_task_kill