Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\futex.c Create Date:2022-07-28 10:53:41
Last Modify:2020-03-17 15:28:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:handle_exit_race

Proto:static int handle_exit_race(unsigned int __user *uaddr, unsigned int uval, struct task_struct *tsk)

Type:int

Parameter:

TypeParameterName
unsigned int __user *uaddr
unsigned intuval
struct task_struct *tsk
1219  If tsk && futex_state != FUTEX_STATE_DEAD Then Return -EBUSY
1251  If get_futex_value_locked( & uval2, uaddr) Then Return -EFAULT
1255  If uval2 != uval Then Return -EAGAIN
1263  Return -ESRCH
Caller
NameDescribe
attach_to_pi_ownerLookup the task for the TID provided from user space and attach to* it after doing proper sanity checks.