Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_ptrace_access_check

Proto:static int selinux_ptrace_access_check(struct task_struct *child, unsigned int mode)

Type:int

Parameter:

TypeParameterName
struct task_struct *child
unsigned intmode
2129  sid = get the subjective security ID of the current task
2130  csid = get the objective security ID of a task
2132  If mode & PTRACE_MODE_READ Then Return avc_has_perm - Check permissions and perform any appropriate auditing
2136  Return avc_has_perm - Check permissions and perform any appropriate auditing