Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

aio: mark __aio_sigset::sigmask const

io_pgetevents() will not change the signal mask. Mark it const to make
it clear and to reduce the need for casts in user code.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Avi Kivity <avi@scylladb.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[hch: reapply the patch that got incorrectly reverted]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Avi Kivity and committed by
Linus Torvalds
2cd3ae21 e88958e6

+1 -1
+1 -1
include/uapi/linux/aio_abi.h
··· 111 111 #undef IFLITTLE 112 112 113 113 struct __aio_sigset { 114 - sigset_t __user *sigmask; 114 + const sigset_t __user *sigmask; 115 115 size_t sigsetsize; 116 116 }; 117 117