mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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: 7a074e96 ("aio: implement io_pgetevents")
Signed-off-by: Christoph Hellwig <[email protected]>
Reported-by: Adrian Reber <[email protected]>
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
c7e9075fb8
commit
9ba546c019
3 changed files with 6 additions and 6 deletions
5
fs/aio.c
5
fs/aio.c
|
|
@ -2042,6 +2042,11 @@ SYSCALL_DEFINE5(io_getevents, aio_context_t, ctx_id,
|
|||
return ret;
|
||||
}
|
||||
|
||||
struct __aio_sigset {
|
||||
const sigset_t __user *sigmask;
|
||||
size_t sigsetsize;
|
||||
};
|
||||
|
||||
SYSCALL_DEFINE6(io_pgetevents,
|
||||
aio_context_t, ctx_id,
|
||||
long, min_nr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue