summaryrefslogtreecommitdiffstats
path: root/include/linux/splice.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-12-10 13:17:32 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-26 23:53:46 -0500
commit3d6ea290f337cc64cf44290482e36306fc8aaa31 (patch)
tree17e9bd075723ba87879e9bfa6c392839484350b9 /include/linux/splice.h
parentf81dc7d7d5a2528f98f26a0b9406e822d0b35011 (diff)
downloadblackbird-obmc-linux-3d6ea290f337cc64cf44290482e36306fc8aaa31.tar.gz
blackbird-obmc-linux-3d6ea290f337cc64cf44290482e36306fc8aaa31.zip
splice/tee/vmsplice: validate flags
Long overdue... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/splice.h')
-rw-r--r--include/linux/splice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/splice.h b/include/linux/splice.h
index 3c98dad93bf3..db42746bdfea 100644
--- a/include/linux/splice.h
+++ b/include/linux/splice.h
@@ -20,6 +20,8 @@
#define SPLICE_F_MORE (0x04) /* expect more data */
#define SPLICE_F_GIFT (0x08) /* pages passed in are a gift */
+#define SPLICE_F_ALL (SPLICE_F_MOVE|SPLICE_F_NONBLOCK|SPLICE_F_MORE|SPLICE_F_GIFT)
+
/*
* Passed to the actors
*/
OpenPOWER on IntegriCloud