aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2019-10-01 15:53:29 +0000
committerJens Axboe <[email protected]>2019-10-01 15:53:29 +0000
commitbdf200731145f07a6127cb16753e2e8fdc159cf4 (patch)
tree1aaf15565a1b5d9fa7167842620d17c01c4666f3 /net/unix/af_unix.c
parentloop: change queue block size to match when using DIO (diff)
downloadkernel-bdf200731145f07a6127cb16753e2e8fdc159cf4.tar.gz
kernel-bdf200731145f07a6127cb16753e2e8fdc159cf4.zip
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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions