History

Merge branch 'work.aio-1' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull aio updates from Al Viro: "Majority of AIO stuff this cycle. aio-fsync and aio-poll, mostly. The only thing I'm holding back for a day or so is Adam's aio ioprio - his last-minute fixup is trivial (missing stub in !CONFIG_BLOCK case), but let it sit in -next for decency sake..." * 'work.aio-1' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (46 commits) aio: sanitize the limit checking in io_submit(2) aio: fold do_io_submit() into callers aio: shift copyin of iocb into io_submit_one() aio_read_events_ring(): make a bit more readable aio: all callers of aio_{read,write,fsync,poll} treat 0 and -EIOCBQUEUED the same way aio: take list removal to (some) callers of aio_complete() aio: add missing break for the IOCB_CMD_FDSYNC case random: convert to ->poll_mask timerfd: convert to ->poll_mask eventfd: switch to ->poll_mask pipe: convert to ->poll_mask crypto: af_alg: convert to ->poll_mask net/rxrpc: convert to ->poll_mask net/iucv: convert to ->poll_mask net/phonet: convert to ->poll_mask net/nfc: convert to ->poll_mask net/caif: convert to ->poll_mask net/bluetooth: convert to ->poll_mask net/sctp: convert to ->poll_mask net/tipc: convert to ->poll_mask ...

Linus Torvalds committed 8 years ago

Commit 408afb82 parents b058efc 1da927799 files · +849 −595Browse files

Showing the changes to include/uapi/linux (2 of 99 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/aio_abi.h +8 −4
  2. include/uapi/linux/types.h +0 −4
include/uapi/linux/aio_abi.h+8−4
@@ -29,6 +29,7 @@ · 28 unmodified lines
2929
3030 #include <linux/types.h>
3131 #include <linux/fs.h>
32+#include <linux/signal.h>
3233 #include <asm/byteorder.h>
3334
3435 typedef __kernel_ulong_t aio_context_t;
@@ -38,10 +39,8 @@ enum { · 3 unmodified lines
3839 IOCB_CMD_PWRITE = 1,
3940 IOCB_CMD_FSYNC = 2,
4041 IOCB_CMD_FDSYNC = 3,
41− /* These two are experimental.
42− * IOCB_CMD_PREADX = 4,
43− * IOCB_CMD_POLL = 5,
44− */
42+ /* 4 was the experimental IOCB_CMD_PREADX */
43+ IOCB_CMD_POLL = 5,
4544 IOCB_CMD_NOOP = 6,
4645 IOCB_CMD_PREADV = 7,
4746 IOCB_CMD_PWRITEV = 8,
@@ -108,5 +107,10 @@ struct iocb { · 60 unmodified lines
108107 #undef IFBIG
109108 #undef IFLITTLE
110109
110+struct __aio_sigset {
111+ sigset_t __user *sigmask;
112+ size_t sigsetsize;
113+};
114+
111115 #endif /* __LINUX__AIO_ABI_H */
112116
include/uapi/linux/types.h+0−4
@@ -49,11 +49,7 @@ typedef __u32 __bitwise __wsum; · 48 unmodified lines
4949 #define __aligned_be64 __be64 __attribute__((aligned(8)))
5050 #define __aligned_le64 __le64 __attribute__((aligned(8)))
5151
52−#ifdef __CHECK_POLL
5352 typedef unsigned __bitwise __poll_t;
54−#else
55−typedef unsigned __poll_t;
56−#endif
5753
5854 #endif /* __ASSEMBLY__ */
5955 #endif /* _UAPI_LINUX_TYPES_H */