Arnd Bergmann bdf2007311 io_uring: use __kernel_timespec in timeout ABI
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>
2019-10-01 09:53:29 -06:00
..
2019-08-30 07:27:18 -07:00
2019-09-02 11:43:54 +01:00
2019-09-18 17:29:31 -07:00
2019-09-25 10:21:13 -07:00
2019-09-21 10:26:24 -07:00
2019-09-19 09:42:37 -07:00
2019-09-19 13:09:28 -07:00
2019-07-12 17:37:53 -07:00
\n
2019-09-21 13:53:34 -07:00
2019-09-21 14:26:33 -07:00
2019-09-24 15:28:02 +02:00
2019-09-19 09:42:37 -07:00
2019-09-19 09:42:37 -07:00
2019-07-03 17:52:09 -04:00
2019-09-19 09:42:37 -07:00
2019-09-23 11:21:04 -07:00
2019-09-19 10:21:35 -07:00
2019-09-24 15:54:11 -07:00
2019-08-30 08:11:25 -07:00
\n
2019-07-10 20:09:17 -07:00
2019-09-19 09:42:37 -07:00
2019-09-25 09:01:43 -07:00
2019-09-18 17:35:20 -07:00
2019-07-15 21:20:52 -07:00
2019-04-08 18:21:02 -05:00
2019-03-08 14:48:40 -08:00
2019-09-18 16:59:14 -07:00
2019-09-18 16:59:14 -07:00
2019-09-25 09:55:59 -07:00
2019-09-25 09:55:59 -07:00
2019-08-01 20:51:23 +02:00