]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add AT_EXECVE_CHECK from Linux 6.14 to bits/fcntl-linux.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 3 Oct 2025 19:39:03 +0000 (16:39 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 5 Nov 2025 10:15:52 +0000 (07:15 -0300)
It was added by commit a5874fde3c0884a33ed4145101052318c5e17c74

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/unix/sysv/linux/bits/fcntl-linux.h

index 4377908d4a1825ac81dc67da3a9c1211e0c9eed6..16c83e3349fff06d759ff4368281b6b826736101 100644 (file)
@@ -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