Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\select.c Create Date:2022-07-28 20:07:06
Last Modify:2020-03-18 10:25:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Ooo, nasty. We need here to frob 32-bit unsigned longs to* 64-bit unsigned longs.

Proto:static int compat_get_fd_set(unsigned long nr, compat_ulong_t __user *ufdset, unsigned long *fdset)

Type:int

Parameter:

TypeParameterName
unsigned longnr
compat_ulong_t __user *ufdset
unsigned long *fdset
1143  If ufdset Then
1144  Return compat_get_bitmap(fdset, ufdset, nr)
1145  Else
1146  zero_fd_set(nr, fdset)
1147  Return 0
Caller
NameDescribe
compat_core_sys_selectWe can actually return ERESTARTSYS instead of EINTR, but I'd* like to be certain this leads to no problems. So I return* EINTR just for safety.* Update: ERESTARTSYS breaks at least the xview clock binary, so