函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Fetch a robust-list pointer. Bit 0 signals PI futexes:

函数原型:static inline int compat_fetch_robust_entry(compat_uptr_t *uentry, struct robust_list __user **entry, compat_uptr_t __user *head, unsigned int *pi)

返回类型:int

参数:

类型参数名称
compat_uptr_t *uentry
struct robust_list __user **entry
compat_uptr_t __user *head
unsigned int *pi
3954  如果Careful: we have to cast the result to the type of the pointer* for sign reasons( * uentry, head)则返回:负EFAULT
3957  entry等于A pointer passed in from user mode. This should not* be used for syscall parameters, just declare them* as pointers because the syscall entry code will have* appropriately converted them already.
3958  pi等于uentry按位与1
3960  返回:0
调用者
名称描述
compat_exit_robust_list