History

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.

Avi Kivity committed 8 years ago

Commit 94aefd31 parent 9a6d9a61 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/aio_abi.h+1−1
@@ -109,7 +109,7 @@ struct iocb { · 108 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t