aboutsummaryrefslogtreecommitdiff
path: root/manual/llio.texi
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2024-04-03 06:40:37 +0100
committerStafford Horne <shorne@gmail.com>2024-04-04 09:41:27 +0100
commit3db9d208dd5f30b12900989c6d2214782b8e2011 (patch)
tree46199f73b1733382ec2cae1ad00e4e640d119d8b /manual/llio.texi
parent95c70fd0d467450e75354316453824693f07c3cc (diff)
downloadglibc-3db9d208dd5f30b12900989c6d2214782b8e2011.zip
glibc-3db9d208dd5f30b12900989c6d2214782b8e2011.tar.gz
glibc-3db9d208dd5f30b12900989c6d2214782b8e2011.tar.bz2
misc: Add support for Linux uio.h RWF_NOAPPEND flag
In Linux 6.9 a new flag is added to allow for Per-io operations to disable append mode even if a file was opened with the flag O_APPEND. This is done with the new RWF_NOAPPEND flag. This caused two test failures as these tests expected the flag 0x00000020 to be unused. Adding the flag definition now fixes these tests on Linux 6.9 (v6.9-rc1). FAIL: misc/tst-preadvwritev2 FAIL: misc/tst-preadvwritev64v2 This patch adds the flag, adjusts the test and adds details to documentation. Link: https://lore.kernel.org/all/20200831153207.GO3265@brightrain.aerifal.cx/ Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'manual/llio.texi')
-rw-r--r--manual/llio.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/manual/llio.texi b/manual/llio.texi
index 0b61d49..fae49d1 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -1339,6 +1339,10 @@ will fail and set @code{errno} to @code{EAGAIN} if the operation would block.
@item RWF_APPEND
Per-IO synchronization as if the file was opened with @code{O_APPEND} flag.
+
+@item RWF_NOAPPEND
+This flag allows an offset to be honored, even if the file was opened with
+@code{O_APPEND} flag.
@end vtable
When the source file is compiled with @code{_FILE_OFFSET_BITS == 64} the