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:
9a6d9a6
)
aio: mark __aio_sigset::sigmask const
author
Avi Kivity
<avi@scylladb.com>
Fri, 8 Jun 2018 14:55:05 +0000
(17:55 +0300)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 15 Jun 2018 00:06:19 +0000
(20:06 -0400)
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>
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 75846164290e9acaa9b2fbead09bdebc5422104c..d00221345c1988ff59de79f47401903d560c55e0 100644
(file)
--- a/
include/uapi/linux/aio_abi.h
+++ b/
include/uapi/linux/aio_abi.h
@@
-109,7
+109,7
@@
struct iocb {
#undef IFLITTLE
struct __aio_sigset {
-
sigset_t __user
*sigmask;
+
const sigset_t __user
*sigmask;
size_t sigsetsize;
};