| H A D | select.c | 15 * of fds to overcome nfds < 16390 descriptors limit (Tigran Aivazian). 974 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() argument 985 unsigned int todo = nfds; in do_sys_poll() 988 if (nfds > rlimit(RLIMIT_NOFILE)) in do_sys_poll() 991 len = min_t(unsigned int, nfds, N_STACK_PPS); in do_sys_poll() 998 if (copy_from_user(walk->entries, ufds + nfds-todo, in do_sys_poll() 1018 scoped_user_write_access_size(ufds, nfds * sizeof(*ufds), out_fds) { in do_sys_poll() 1045 int nfds = restart_block->poll.nfds; in do_restart_poll() local 1052 ret = do_sys_poll(ufds, nfds, t in do_restart_poll() 1060 SYSCALL_DEFINE3(poll,struct pollfd __user *,ufds,unsigned int,nfds,int,timeout_msecs) SYSCALL_DEFINE3() argument 1092 SYSCALL_DEFINE5(ppoll,struct pollfd __user *,ufds,unsigned int,nfds,struct __kernel_timespec __user *,tsp,const sigset_t __user *,sigmask,size_t,sigsetsize) SYSCALL_DEFINE5() argument 1118 SYSCALL_DEFINE5(ppoll_time32,struct pollfd __user *,ufds,unsigned int,nfds,struct old_timespec32 __user *,tsp,const sigset_t __user *,sigmask,size_t,sigsetsize) SYSCALL_DEFINE5() argument 1389 COMPAT_SYSCALL_DEFINE5(ppoll_time32,struct pollfd __user *,ufds,unsigned int,nfds,struct old_timespec32 __user *,tsp,const compat_sigset_t __user *,sigmask,compat_size_t,sigsetsize) COMPAT_SYSCALL_DEFINE5() argument 1415 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) COMPAT_SYSCALL_DEFINE5() argument [all...] |