splice/tee/vmsplice: validate flags
Long overdue... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user