diff mbox series

Add F_SEAL_EXEC from Linux 6.3 to bits/fcntl-linux.h.

Message ID 20230824203625.1343061-1-kolyshkin@gmail.com
State New
Headers show
Series Add F_SEAL_EXEC from Linux 6.3 to bits/fcntl-linux.h. | expand

Commit Message

Kir Kolyshkin Aug. 24, 2023, 8:36 p.m. UTC
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>
---
 sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
index 1babbdc84e..ce3b560cbc 100644
--- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
+++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
@@ -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