]> git.baikalelectronics.ru Git - kernel.git/commit
aio: don't expose __aio_sigset in uapi
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Jul 2018 13:48:46 +0000 (15:48 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 18 Jul 2018 03:26:58 +0000 (23:26 -0400)
commit7389a377d0d5a6afe57f42eab6afa76b5ce7186b
tree316963a30a975e8a02fcd677e9c4700916594f55
parent5280e8b6f12f55a1bea96a510a4d364da53d6b69
aio: don't expose __aio_sigset in uapi

glibc uses a different defintion of sigset_t than the kernel does,
and the current version would pull in both.  To fix this just do not
expose the type at all - this somewhat mirrors pselect() where we
do not even have a type for the magic sigmask argument, but just
use pointer arithmetics.

Fixes: 31d403d1 ("aio: implement io_pgetevents")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Adrian Reber <adrian@lisas.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c
include/linux/syscalls.h
include/uapi/linux/aio_abi.h