]> sourceware.org Git - glibc.git/commitdiff
Add F_SEAL_EXEC from Linux 6.3 to bits/fcntl-linux.h.
authorKir Kolyshkin <kolyshkin@gmail.com>
Fri, 25 Aug 2023 02:31:40 +0000 (19:31 -0700)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 28 Aug 2023 17:51:39 +0000 (14:51 -0300)
This patch adds the new F_SEAL_EXEC constant from Linux 6.3 (see Linux
commit 6fd7353829c ("mm/memfd: add F_SEAL_EXEC") to bits/fcntl-linux.h.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/bits/fcntl-linux.h

index 1babbdc84efd377450bca15c8e040e7ab9260f69..df378c7b896efa398fd7c682b4f9c7943fef3736 100644 (file)
@@ -286,6 +286,7 @@ struct f_owner_ex
 # define F_SEAL_WRITE  0x0008  /* Prevent writes.  */
 # define F_SEAL_FUTURE_WRITE   0x0010  /* Prevent future writes while
                                           mapped.  */
+# define F_SEAL_EXEC   0x0020  /* Prevent chmod modifying exec bits. */
 #endif
 
 #ifdef __USE_GNU
This page took 0.045464 seconds and 5 git commands to generate.