Skip to content

Commit 94aefd3

Browse files
avikivityAl Viro
authored andcommitted
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 <[email protected]> Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent 9a6d9a6 commit 94aefd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/uapi/linux/aio_abi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ struct iocb {
109109
#undef IFLITTLE
110110

111111
struct __aio_sigset {
112-
sigset_t __user *sigmask;
112+
const sigset_t __user *sigmask;
113113
size_t sigsetsize;
114114
};
115115

0 commit comments

Comments
 (0)