public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Add F_SEAL_EXEC from Linux 6.3 to bits/fcntl-linux.h.
@ 2023-08-28 17:52 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2023-08-28 17:52 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=42c960a4f1052a71d928a1c554f5d445b00e61f7

commit 42c960a4f1052a71d928a1c554f5d445b00e61f7
Author: Kir Kolyshkin <kolyshkin@gmail.com>
Date:   Thu Aug 24 19:31:40 2023 -0700

    Add F_SEAL_EXEC from Linux 6.3 to bits/fcntl-linux.h.
    
    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>

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-28 17:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-28 17:52 [glibc] Add F_SEAL_EXEC from Linux 6.3 to bits/fcntl-linux.h Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).