Revision bdf200731145f07a6127cb16753e2e8fdc159cf4 authored by Arnd Bergmann on 01 October 2019, 15:53:29 UTC, committed by Jens Axboe on 01 October 2019, 15:53:29 UTC
All system calls use struct __kernel_timespec instead of the old struct
timespec, but this one was just added with the old-style ABI. Change it
now to enforce the use of __kernel_timespec, avoiding ABI confusion and
the need for compat handlers on 32-bit architectures.

Any user space caller will have to use __kernel_timespec now, but this
is unambiguous and works for any C library regardless of the time_t
definition. A nicer way to specify the timeout would have been a less
ambiguous 64-bit nanosecond value, but I suppose it's too late now to
change that as this would impact both 32-bit and 64-bit users.

Fixes: 5262f567987d ("io_uring: IORING_OP_TIMEOUT support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 8556011
History
File Mode Size
Makefile -rw-r--r-- 1.3 KB
autogroup.c -rw-r--r-- 6.4 KB
autogroup.h -rw-r--r-- 1.4 KB
clock.c -rw-r--r-- 12.1 KB
completion.c -rw-r--r-- 10.0 KB
core.c -rw-r--r-- 197.7 KB
cpuacct.c -rw-r--r-- 8.1 KB
cpudeadline.c -rw-r--r-- 5.7 KB
cpudeadline.h -rw-r--r-- 637 bytes
cpufreq.c -rw-r--r-- 2.1 KB
cpufreq_schedutil.c -rw-r--r-- 26.1 KB
cpupri.c -rw-r--r-- 6.5 KB
cpupri.h -rw-r--r-- 610 bytes
cputime.c -rw-r--r-- 22.3 KB
deadline.c -rw-r--r-- 75.6 KB
debug.c -rw-r--r-- 23.2 KB
fair.c -rw-r--r-- 279.4 KB
features.h -rw-r--r-- 2.4 KB
idle.c -rw-r--r-- 11.0 KB
isolation.c -rw-r--r-- 4.7 KB
loadavg.c -rw-r--r-- 11.0 KB
membarrier.c -rw-r--r-- 8.8 KB
pelt.c -rw-r--r-- 10.4 KB
pelt.h -rw-r--r-- 5.0 KB
psi.c -rw-r--r-- 35.3 KB
rt.c -rw-r--r-- 63.1 KB
sched-pelt.h -rw-r--r-- 616 bytes
sched.h -rw-r--r-- 64.0 KB
stats.c -rw-r--r-- 2.9 KB
stats.h -rw-r--r-- 7.5 KB
stop_task.c -rw-r--r-- 3.2 KB
swait.c -rw-r--r-- 3.3 KB
topology.c -rw-r--r-- 56.7 KB
wait.c -rw-r--r-- 12.9 KB
wait_bit.c -rw-r--r-- 6.8 KB

back to top