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>
This commit is contained in:
Kir Kolyshkin 2023-08-24 19:31:40 -07:00 committed by Adhemerval Zanella
parent 46924663bd
commit 42c960a4f1

View 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