Function report |
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 activity | Download SCCT | Chinese |
Name:We 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
Proto:int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timespec64 *end_time)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | n | |
fd_set __user * | inp | |
fd_set __user * | outp | |
fd_set __user * | exp | |
struct timespec64 * | end_time |
638 | fdt = files_fdtable(files) |
657 | alloc_size = 6 * size |
658 | bits = kvmalloc(alloc_size, GFP_KERNEL) |
673 | zero_fd_set(n, res_in) |
674 | zero_fd_set(n, res_out) |
675 | zero_fd_set(n, res_ex) |
681 | If Not ret Then |
688 | If set_fd_set(n, inp, res_in) || set_fd_set(n, outp, res_out) || set_fd_set(n, exp, res_ex) Then ret = -EFAULT |
693 | out : |
696 | out_nofds : |
697 | Return ret |
Name | Describe |
---|---|
kern_select | |
do_pselect |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |