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
agp
hw_random
ipmi
mwave
pcmcia
tpm
xilinx_hwicap
xillybus
Kconfig -rw-r--r-- 19.1 KB
Makefile -rw-r--r-- 1.5 KB
adi.c -rw-r--r-- 4.5 KB
apm-emulation.c -rw-r--r-- 17.3 KB
applicom.c -rw-r--r-- 24.2 KB
applicom.h -rw-r--r-- 2.5 KB
bsr.c -rw-r--r-- 8.3 KB
ds1620.c -rw-r--r-- 8.4 KB
dsp56k.c -rw-r--r-- 12.2 KB
dtlk.c -rw-r--r-- 16.3 KB
efirtc.c -rw-r--r-- 8.5 KB
hangcheck-timer.c -rw-r--r-- 5.1 KB
hpet.c -rw-r--r-- 24.0 KB
lp.c -rw-r--r-- 27.3 KB
mem.c -rw-r--r-- 20.5 KB
misc.c -rw-r--r-- 6.8 KB
mspec.c -rw-r--r-- 7.2 KB
nsc_gpio.c -rw-r--r-- 3.5 KB
nvram.c -rw-r--r-- 13.6 KB
nwbutton.c -rw-r--r-- 7.9 KB
nwbutton.h -rw-r--r-- 1.2 KB
nwflash.c -rw-r--r-- 12.8 KB
pc8736x_gpio.c -rw-r--r-- 8.8 KB
powernv-op-panel.c -rw-r--r-- 5.1 KB
ppdev.c -rw-r--r-- 20.3 KB
ps3flash.c -rw-r--r-- 10.0 KB
random.c -rw-r--r-- 71.9 KB
raw.c -rw-r--r-- 8.4 KB
rtc.c -rw-r--r-- 30.9 KB
scx200_gpio.c -rw-r--r-- 3.1 KB
sonypi.c -rw-r--r-- 40.4 KB
tb0219.c -rw-r--r-- 7.1 KB
tlclk.c -rw-r--r-- 23.3 KB
toshiba.c -rw-r--r-- 12.5 KB
ttyprintk.c -rw-r--r-- 4.7 KB
uv_mmtimer.c -rw-r--r-- 5.5 KB
virtio_console.c -rw-r--r-- 54.5 KB

back to top