diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2023-08-24 19:31:40 -0700 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-08-28 14:51:39 -0300 |
commit | 42c960a4f1052a71d928a1c554f5d445b00e61f7 (patch) | |
tree | ae46d173f081753ffdb1d502c6dfaed5219a80b1 | |
parent | 46924663bd1650ace91d5afd7b2906999cb443de (diff) | |
download | glibc-42c960a4f1052a71d928a1c554f5d445b00e61f7.zip glibc-42c960a4f1052a71d928a1c554f5d445b00e61f7.tar.gz glibc-42c960a4f1052a71d928a1c554f5d445b00e61f7.tar.bz2 |
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>
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h index 1babbdc..df378c7 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 |