From patchwork Tue Aug 22 15:29:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francis Laniel X-Patchwork-Id: 1824242 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=xWdTIB/H; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RVYF36B89z1ybW for ; Wed, 23 Aug 2023 01:29:57 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4AED138768BB for ; Tue, 22 Aug 2023 15:29:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AED138768BB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692718195; bh=IiwRZE5bbeKKNhcs7wehhqC9ttk+utodjWh6ATX9CHc=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=xWdTIB/HylNdYp2/UaG7XbGfSkhEgahTgujQxVt2a5cUCzJVAMz9tyStvyy6ZISMJ bJPnd1zXlhSmwnjRIjb1JhGvsqa/xSLSjHkXMIXQpZLuEGLoY9S+DOAhz4QN3PMgHo k7oDle7AUU1h5c/nSr+1jlIEG4LRghrgGGQjqUX0= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by sourceware.org (Postfix) with ESMTP id A595B3858D28 for ; Tue, 22 Aug 2023 15:29:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A595B3858D28 Received: from pwmachine.numericable.fr (85-170-34-233.rev.numericable.fr [85.170.34.233]) by linux.microsoft.com (Postfix) with ESMTPSA id 49BA32126CC0; Tue, 22 Aug 2023 08:29:38 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 49BA32126CC0 To: libc-alpha@sourceware.org Cc: Francis Laniel Subject: [RFC PATCH v1 0/1] Add F_SEAL_EXEC Date: Tue, 22 Aug 2023 17:29:20 +0200 Message-Id: <20230822152922.151444-1-flaniel@linux.microsoft.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-17.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, ENV_AND_HDR_SPF_MATCH, SPF_HELO_PASS, SPF_PASS, TXREP, USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Francis Laniel via Libc-alpha From: Francis Laniel Reply-To: Francis Laniel Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" Hi. In this contribution, I added the F_SEAL_EXEC flag which was introduced in Linux 5.3 [1]. If you see any way to improve this contribution or if I missed something, please share your feedback. Francis Laniel (1): Add F_SEAL_EXEC from Linux 5.3 to bits/fcntl-linux.h. sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 1 + 1 file changed, 1 insertion(+) Best regards and thank you in advance. --- [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6fd7353829ca -- 2.34.1