Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_fd_set

Proto:static inline unsigned long __must_check set_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longnr
void __user *ufdset
unsigned long *fdset
402  If ufdset Then Return __copy_to_user(ufdset, fdset, FDS_BYTES(nr))
404  Return 0
Caller
NameDescribe
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