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-- 3.4 KB
Makefile -rw-r--r-- 625 bytes
ctcm_dbug.c -rw-r--r-- 1.9 KB
ctcm_dbug.h -rw-r--r-- 3.2 KB
ctcm_fsms.c -rw-r--r-- 73.3 KB
ctcm_fsms.h -rw-r--r-- 8.1 KB
ctcm_main.c -rw-r--r-- 46.7 KB
ctcm_main.h -rw-r--r-- 6.9 KB
ctcm_mpc.c -rw-r--r-- 58.0 KB
ctcm_mpc.h -rw-r--r-- 5.2 KB
ctcm_sysfs.c -rw-r--r-- 5.2 KB
fsm.c -rw-r--r-- 4.7 KB
fsm.h -rw-r--r-- 6.3 KB
ism.h -rw-r--r-- 4.2 KB
ism_drv.c -rw-r--r-- 12.7 KB
lcs.c -rw-r--r-- 61.4 KB
lcs.h -rw-r--r-- 7.5 KB
netiucv.c -rw-r--r-- 55.7 KB
qeth_core.h -rw-r--r-- 29.2 KB
qeth_core_main.c -rw-r--r-- 168.0 KB
qeth_core_mpc.c -rw-r--r-- 9.8 KB
qeth_core_mpc.h -rw-r--r-- 26.0 KB
qeth_core_sys.c -rw-r--r-- 18.6 KB
qeth_ethtool.c -rw-r--r-- 11.3 KB
qeth_l2.h -rw-r--r-- 1.1 KB
qeth_l2_main.c -rw-r--r-- 55.9 KB
qeth_l2_sys.c -rw-r--r-- 11.2 KB
qeth_l3.h -rw-r--r-- 3.4 KB
qeth_l3_main.c -rw-r--r-- 66.8 KB
qeth_l3_sys.c -rw-r--r-- 24.7 KB
smsgiucv.c -rw-r--r-- 5.6 KB
smsgiucv.h -rw-r--r-- 378 bytes
smsgiucv_app.c -rw-r--r-- 5.4 KB

back to top