projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e88958e
)
aio: mark __aio_sigset::sigmask const
author
Avi Kivity
<
[email protected]
>
Fri, 29 Jun 2018 13:37:25 +0000
(15:37 +0200)
committer
Linus Torvalds
<
[email protected]
>
Fri, 29 Jun 2018 13:51:57 +0000
(06:51 -0700)
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]
>
[hch: reapply the patch that got incorrectly reverted]
Signed-off-by: Christoph Hellwig <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/uapi/linux/aio_abi.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/aio_abi.h
b/include/uapi/linux/aio_abi.h
index d4e768d55d145e4a7db55d69d2791feb0386d047..3c5038b587ba0b3ab6064d5dd8a90e2e8c6bfeae 100644
(file)
--- a/
include/uapi/linux/aio_abi.h
+++ b/
include/uapi/linux/aio_abi.h
@@
-111,7
+111,7
@@
struct iocb {
#undef IFLITTLE
struct __aio_sigset {
-
sigset_t __user
*sigmask;
+
const sigset_t __user
*sigmask;
size_t sigsetsize;
};