[glibc] Add AT_EXECVE_CHECK from Linux 6.14 to bits/fcntl-linux.h

Adhemerval Zanella azanella@sourceware.org
Wed Nov 5 13:41:50 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1e750f62c417835f7a05d96d8c995f68295e5ed8

commit 1e750f62c417835f7a05d96d8c995f68295e5ed8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Oct 3 16:39:03 2025 -0300

    Add AT_EXECVE_CHECK from Linux 6.14 to bits/fcntl-linux.h
    
    It was added by commit a5874fde3c0884a33ed4145101052318c5e17c74
    
    Reviewed-by: Carlos O'Donell <carlos@redhat.com>

Diff:
---
 sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
index 4377908d4a..16c83e3349 100644
--- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
+++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
@@ -382,6 +382,10 @@ struct file_handle
 # define AT_HANDLE_MNT_ID_UNIQUE 1 /* Return the 64-bit unique mount
 				      ID.  */
 # define AT_HANDLE_CONNECTABLE 2 /* Request a connectable file handle */
+
+/* Flags for execveat2(2). */
+# define AT_EXECVE_CHECK 0x10000 /* Only perform a check if execution
+				    would be allowed */
 #endif
 
 __BEGIN_DECLS


More information about the Glibc-cvs mailing list