]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/uapi/linux/aio_abi.h
aio: mark __aio_sigset::sigmask const
[linux.git] / include / uapi / linux / aio_abi.h
index 75846164290e9acaa9b2fbead09bdebc5422104c..3c5038b587ba0b3ab6064d5dd8a90e2e8c6bfeae 100644 (file)
@@ -39,8 +39,10 @@ enum {
        IOCB_CMD_PWRITE = 1,
        IOCB_CMD_FSYNC = 2,
        IOCB_CMD_FDSYNC = 3,
-       /* 4 was the experimental IOCB_CMD_PREADX */
-       IOCB_CMD_POLL = 5,
+       /* These two are experimental.
+        * IOCB_CMD_PREADX = 4,
+        * IOCB_CMD_POLL = 5,
+        */
        IOCB_CMD_NOOP = 6,
        IOCB_CMD_PREADV = 7,
        IOCB_CMD_PWRITEV = 8,
@@ -109,7 +111,7 @@ struct iocb {
 #undef IFLITTLE
 
 struct __aio_sigset {
-       sigset_t __user *sigmask;
+       const sigset_t __user   *sigmask;
        size_t          sigsetsize;
 };