Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:New compat syscall for 64 bit time_t

Proto:COMPAT_SYSCALL_DEFINE5(ppoll_time64, struct pollfd __user *, ufds, unsigned int, nfds, struct __kernel_timespec __user *, tsp, const compat_sigset_t __user *, sigmask, compat_size_t, sigsetsize)

Type:

Parameter:Nothing

1403  struct timespec64 ts, end_time, * to = NULL
1406  If tsp Then
1407  If get_timespec64( & ts, tsp) Then Return -EFAULT
1410  to = end_time
1411  If poll_select_set_timeout - helper function to setup the timeout value*@to: pointer to timespec64 variable for the final timeout*@sec: seconds (from user space)*@nsec: nanoseconds (from user space)* Note, we do not use a timespec for the user space value Then Return -EINVAL
1415  ret = set_compat_user_sigmask(sigmask, sigsetsize)
1416  If ret Then Return ret
1419  ret = do_sys_poll(ufds, nfds, to)
1420  Return poll_select_finish( & end_time, tsp, PT_TIMESPEC, ret)