summaryrefslogtreecommitdiff
path: root/bits
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-04-03 12:19:20 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-04-03 12:19:29 -0700
commitf2652643d7234c08205b75f527191c2e2b35251f (patch)
tree8591507dfe62c4403bbe6613767c82b2cbf5d497 /bits
parentd2dc5467c67bc8625a4fc8f285b6a5443bf43df4 (diff)
downloadglibc-f2652643d7234c08205b75f527191c2e2b35251f.tar.gz
Update RWF_SUPPORTED for Linux kernel 4.16 [BZ #22947]
Add RWF_APPEND to RWF_SUPPORTED to support Linux kernel 4.16. [BZ #22947] * bits/uio-ext.h (RWF_APPEND): New. * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise. * manual/llio.texi: Document RWF_APPEND. * misc/tst-preadvwritev2-common.c (RWF_APPEND): New. (RWF_SUPPORTED): Add RWF_APPEND.
Diffstat (limited to 'bits')
-rw-r--r--bits/uio-ext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bits/uio-ext.h b/bits/uio-ext.h
index 8c15a05d9a..d5aa06fd08 100644
--- a/bits/uio-ext.h
+++ b/bits/uio-ext.h
@@ -28,5 +28,6 @@
#define RWF_DSYNC 0x00000002 /* per-IO O_DSYNC. */
#define RWF_SYNC 0x00000004 /* per-IO O_SYNC. */
#define RWF_NOWAIT 0x00000008 /* per-IO nonblocking mode. */
+#define RWF_APPEND 0x00000010 /* per-IO O_APPEND. */
#endif /* sys/uio_ext.h */