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
Kconfig -rw-r--r-- 691 bytes
Makefile -rw-r--r-- 402 bytes
channel.c -rw-r--r-- 25.0 KB
channel_mgmt.c -rw-r--r-- 38.1 KB
connection.c -rw-r--r-- 12.2 KB
hv.c -rw-r--r-- 7.0 KB
hv_balloon.c -rw-r--r-- 43.4 KB
hv_fcopy.c -rw-r--r-- 9.5 KB
hv_kvp.c -rw-r--r-- 20.0 KB
hv_snapshot.c -rw-r--r-- 9.8 KB
hv_trace.c -rw-r--r-- 114 bytes
hv_trace.h -rw-r--r-- 9.9 KB
hv_trace_balloon.h -rw-r--r-- 1.6 KB
hv_util.c -rw-r--r-- 13.4 KB
hv_utils_transport.c -rw-r--r-- 7.6 KB
hv_utils_transport.h -rw-r--r-- 1.6 KB
hyperv_vmbus.h -rw-r--r-- 10.1 KB
ring_buffer.c -rw-r--r-- 15.6 KB
vmbus_drv.c -rw-r--r-- 61.5 KB

back to top