[v2] Add RWF_NOSIGNAL from Linux 6.18 to bits/uio-ext.h

Message ID 20260706141916.3050762-1-adhemerval.zanella@linaro.org (mailing list archive)
State New
Headers
Series [v2] Add RWF_NOSIGNAL from Linux 6.18 to bits/uio-ext.h |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Test passed

Commit Message

Adhemerval Zanella July 6, 2026, 2:18 p.m. UTC
  It was added by commit db2ab24a341ce89351a1bede37a96a3e3ce1726a.
---
 misc/tst-preadvwritev2-common.c        | 2 +-
 sysdeps/unix/sysv/linux/bits/uio-ext.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/misc/tst-preadvwritev2-common.c b/misc/tst-preadvwritev2-common.c
index 00c51753247..a7705c06e0e 100644
--- a/misc/tst-preadvwritev2-common.c
+++ b/misc/tst-preadvwritev2-common.c
@@ -45,7 +45,7 @@ 
 #endif
 #define RWF_SUPPORTED	(RWF_HIPRI | RWF_DSYNC | RWF_SYNC | RWF_NOWAIT \
 			 | RWF_APPEND | RWF_NOAPPEND | RWF_ATOMIC \
-			 | RWF_DONTCACHE)
+			 | RWF_DONTCACHE | RWF_NOSIGNAL)
 
 /* Generic uio_lim.h does not define IOV_MAX.  */
 #ifndef IOV_MAX
diff --git a/sysdeps/unix/sysv/linux/bits/uio-ext.h b/sysdeps/unix/sysv/linux/bits/uio-ext.h
index 49c8734228c..5c842b25c92 100644
--- a/sysdeps/unix/sysv/linux/bits/uio-ext.h
+++ b/sysdeps/unix/sysv/linux/bits/uio-ext.h
@@ -51,6 +51,7 @@  extern ssize_t process_vm_writev (pid_t __pid, const struct iovec *__lvec,
 #define RWF_ATOMIC	0x00000040 /* Write is to be issued with torn-write
 				      prevention.  */
 #define RWF_DONTCACHE	0x00000080 /* Uncached buffered IO.  */
+#define RWF_NOSIGNAL	0x00000100 /* Do not generate SIGPIPE on error.  */
 
 __END_DECLS