From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 357F83858416; Mon, 28 Aug 2023 17:52:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 357F83858416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693245130; bh=sP0fL3e5+87HWshref4YQsBGifiiZKQCDcvjuH2rcy0=; h=From:To:Subject:Date:From; b=Z83elfDIaFdNtmmcUrCK1uCyUpNuSE18Bm6kltvipiKA0e8Z4Bu5kBfcuMTpsQrGg GsQLgGv6vL3Dx+8vw5AollALRVj332pGHlLacQ8StqPGS1ZhcGYPEfmxdItwdJJW8D 6W5WYQtlew5tN9O07kLzB7mVPX8qX7MG8WiMKdyw= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] Add F_SEAL_EXEC from Linux 6.3 to bits/fcntl-linux.h. X-Act-Checkin: glibc X-Git-Author: Kir Kolyshkin X-Git-Refname: refs/heads/master X-Git-Oldrev: 46924663bd1650ace91d5afd7b2906999cb443de X-Git-Newrev: 42c960a4f1052a71d928a1c554f5d445b00e61f7 Message-Id: <20230828175210.357F83858416@sourceware.org> Date: Mon, 28 Aug 2023 17:52:10 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=42c960a4f1052a71d928a1c554f5d445b00e61f7 commit 42c960a4f1052a71d928a1c554f5d445b00e61f7 Author: Kir Kolyshkin 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 Reviewed-by: Adhemerval Zanella 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