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.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -109,7 +109,7 @@ struct iocb { · 108 unmodified lines | ||
| 109 | 109 | #undef IFLITTLE |
| 110 | 110 | |
| 111 | 111 | struct __aio_sigset { |
| 112 | − sigset_t __user *sigmask; | |
| 112 | + const sigset_t __user *sigmask; | |
| 113 | 113 | size_t sigsetsize; |
| 114 | 114 | }; |
| 115 | 115 | |