函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\futex.c Create Date:2022-07-27 11:53:43
Last Modify:2020-03-17 15:28:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:handle_exit_race

函数原型:static int handle_exit_race(unsigned int __user *uaddr, unsigned int uval, struct task_struct *tsk)

返回类型:int

参数:

类型参数名称
unsigned int __user *uaddr
unsigned intuval
struct task_struct *tsk
1219  如果tskfutex_state不等于FUTEX_STATE_DEAD则返回:负EBUSY
1251  如果get_futex_value_locked( & uval2, uaddr)则返回:负EFAULT
1255  如果uval2不等于uval则返回:负EAGAIN
1263  返回:负ESRCH
调用者
名称描述
attach_to_pi_ownerLookup the task for the TID provided from user space and attach to* it after doing proper sanity checks.