[packages/glibc] - backported patch for 2.43

qboosh qboosh at pld-linux.org
Sun May 31 18:40:51 CEST 2026


commit 75ca0479db0c788ef4845fcfbdfb043cdd49a34a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 31 18:41:01 2026 +0200

    -  backported patch for 2.43

 glibc-OPEN_TREE-macros.patch | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)
---
diff --git a/glibc-OPEN_TREE-macros.patch b/glibc-OPEN_TREE-macros.patch
index 6297c08..38645d2 100644
--- a/glibc-OPEN_TREE-macros.patch
+++ b/glibc-OPEN_TREE-macros.patch
@@ -18,27 +18,19 @@ diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/m
 index 5e496caf2f..0c5ebed33a 100644
 --- a/sysdeps/unix/sysv/linux/sys/mount.h
 +++ b/sysdeps/unix/sysv/linux/sys/mount.h
-@@ -264,14 +264,16 @@ enum fsconfig_command
+@@ -265,8 +265,12 @@ enum fsconfig_command
  #define FSOPEN_CLOEXEC          0x00000001
  
  /* open_tree flags.  */
--#define OPEN_TREE_CLONE    1         /* Clone the target tree and attach the clone */
 +#ifndef OPEN_TREE_CLONE
-+# define OPEN_TREE_CLONE    1 /* Clone the target tree and attach the clone */
+ #define OPEN_TREE_CLONE    1         /* Clone the target tree and attach the clone */
 +#endif
- #ifndef O_CLOEXEC
- # include <bits/cloexec.h>
- # define O_CLOEXEC __O_CLOEXEC
- #endif
--#undef  OPEN_TREE_CLOEXEC
--#define OPEN_TREE_CLOEXEC  O_CLOEXEC /* Close the file on execve() */
--
 +#ifndef OPEN_TREE_CLOEXEC
-+# define OPEN_TREE_CLOEXEC  O_CLOEXEC /* Close the file on execve() */
+ #define OPEN_TREE_CLOEXEC  O_CLOEXEC /* Close the file on execve() */
 +#endif
  
- __BEGIN_DECLS
  
+ __BEGIN_DECLS
 -- 
 2.43.7
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/75ca0479db0c788ef4845fcfbdfb043cdd49a34a



More information about the pld-cvs-commit mailing list