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
gameport
joystick
keyboard
misc
mouse
rmi4
serio
tablet
touchscreen
Kconfig -rw-r--r-- 6.0 KB
Makefile -rw-r--r-- 959 bytes
apm-power.c -rw-r--r-- 2.4 KB
evbug.c -rw-r--r-- 2.2 KB
evdev.c -rw-r--r-- 32.8 KB
ff-core.c -rw-r--r-- 8.7 KB
ff-memless.c -rw-r--r-- 13.7 KB
input-compat.c -rw-r--r-- 3.1 KB
input-compat.h -rw-r--r-- 1.6 KB
input-leds.c -rw-r--r-- 5.0 KB
input-mt.c -rw-r--r-- 12.4 KB
input-polldev.c -rw-r--r-- 9.1 KB
input-poller.c -rw-r--r-- 5.1 KB
input-poller.h -rw-r--r-- 478 bytes
input.c -rw-r--r-- 62.5 KB
joydev.c -rw-r--r-- 25.9 KB
matrix-keymap.c -rw-r--r-- 5.3 KB
mousedev.c -rw-r--r-- 25.6 KB
sparse-keymap.c -rw-r--r-- 7.4 KB

back to top