version 1.244, 2019/08/24 14:21:13 |
version 1.245, 2019/09/20 15:25:19 |
Line 875 linux_select1(struct lwp *l, register_t |
|
Line 875 linux_select1(struct lwp *l, register_t |
|
if ((error = copyin(timeout, <v, sizeof(ltv)))) |
if ((error = copyin(timeout, <v, sizeof(ltv)))) |
return error; |
return error; |
uts.tv_sec = ltv.tv_sec; |
uts.tv_sec = ltv.tv_sec; |
uts.tv_nsec = ltv.tv_usec * 1000; |
uts.tv_nsec = (long)((unsigned long)ltv.tv_usec * 1000); |
if (itimespecfix(&uts)) { |
if (itimespecfix(&uts)) { |
/* |
/* |
* The timeval was invalid. Convert it to something |
* The timeval was invalid. Convert it to something |