Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1249364rwb; Thu, 8 Dec 2022 08:21:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf6OCsLKd1K7h0UgAtVa8f97uSpnv8OwvINxSUChHveEFb8oXxlf/fWD/GmaXbNIt+ueCgZN X-Received: by 2002:a17:902:c406:b0:189:6df9:4f85 with SMTP id k6-20020a170902c40600b001896df94f85mr61133591plk.27.1670516499196; Thu, 08 Dec 2022 08:21:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670516499; cv=none; d=google.com; s=arc-20160816; b=VExVzytYORDQkuuZF6qRpHopZI28w4kJJJv+YNJccwoMFllHtUM6f1YNal0ZKXWcNA OlGI89qRkTDTMTR97tyIa07ixxDfoevbiSjwX2Jgi+QuJ3Alylqrh2TGcXvvf4dLf3ks 4RTxMz2F6ch8s+za9KN3bUgnaIR4hiUMR3mSBKXx1IpKn0pMMMcI8iDJ9NY2jTQIoUcR jWdh6vvBeBWHpLhuxAyuEHXERSWzkxxjhy2XqEsOFi0zBjUpyOsx99EJa3/hQ10wSZ3u qxED6uaTkGcfYhtuCETA1wDj94G05SjtoKQ10fz2oJ5NVQgltd7yjENRF1rCj5X+ww9h hKfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VEF5Kdoxdu+cKfk6R3ZwPWFH59dyZr5XNLc+TP4k1ZU=; b=PP5ucJfv55fTkk4chOwV4eHaCQMiAi7Tj3wJdPBtgM89SrtrFcVZr+07euxyfx19cQ JiI/E2lHv5uUg4K2s88evWwMdhy+auUOJRY4j10chVqjiUZ8elz8CiKYWBEigNQoTxW7 FiLpv2CSHQ3wa3gCez5LhYFbCq6U3HQj6h/9XMCJPyxL18ESzbAhAh376yQ/vNGpTH6D QWA42Vj4tK1Zxg+8VaiWXaQAWanfaYk0j38LY0JAE0unX1SXM09GXC3iysuFHLFMUfGd fCPTLFsV/S3m9Rnc8lm488a89Eioll8MFVVNBEKsSP7f7KDdytz8gRR2RaspDPp5OA6t gJow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=M9dPq43p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i1-20020a17090332c100b001899477302bsi26502670plr.588.2022.12.08.08.21.29; Thu, 08 Dec 2022 08:21:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=M9dPq43p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230049AbiLHQNk (ORCPT + 72 others); Thu, 8 Dec 2022 11:13:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229807AbiLHQNi (ORCPT ); Thu, 8 Dec 2022 11:13:38 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E69897B562 for ; Thu, 8 Dec 2022 08:13:36 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id fa4-20020a17090af0c400b002198d1328a0so6340073pjb.0 for ; Thu, 08 Dec 2022 08:13:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=VEF5Kdoxdu+cKfk6R3ZwPWFH59dyZr5XNLc+TP4k1ZU=; b=M9dPq43pCEesdG1Pr73JFi78Hptyiq5VZqWgnsSr3kI1jPoUdQ4zxjiAhyNFqpFmZg njyxgcdxqgN0KzGHxmez3cz91qutsMd43bfVz+BmUEiqosyY0DbvL3iHrFX0td8dUCSY MTh3j9pe6XZs6CcLquyZVVbjRBXWFW2xIvWp0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VEF5Kdoxdu+cKfk6R3ZwPWFH59dyZr5XNLc+TP4k1ZU=; b=fVcmTmRI9ClVOVhyiu7J3TubHnJApwMOO4Sy2ONcUcO77WaQyc9UEAP8N5X+7uJLEr FrNvdP99Ue9vpZh9J7MnsyERqJaxvN8Wzz5sVYIH0yTPmknldbqBOGgw0ITS7dN1YUpu 0qW6wxobVW2foWXz4JkAGgp0WgxcIbiQGLTErsdjIrSAy4tBbIMMSOrQazl49UeP/C+F np7yS3mW3BW/JHswEtgSfoZRce467Rjpgq6v1p3F4BlIMIgMcwb1wV3OIZp0zAiyzzd1 B5FqnBwjbT5J8FEwNmBmbasNm07MINSA9otwAkcj/ADS0V2DpiP33xo+90CVohOJSWs+ maQQ== X-Gm-Message-State: ANoB5pm6IE5YjbG1mS5uswZVvn9OGpi9DSk2CXEUySU+M30gXCFAwSAE LI8Yz+EF/kbRzdnM5Mn/x5/omw== X-Received: by 2002:a17:903:22c2:b0:189:c47b:af22 with SMTP id y2-20020a17090322c200b00189c47baf22mr24668561plg.23.1670516016394; Thu, 08 Dec 2022 08:13:36 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id ik25-20020a170902ab1900b001869b988d93sm16661571plb.187.2022.12.08.08.13.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 08:13:35 -0800 (PST) Date: Thu, 8 Dec 2022 08:13:34 -0800 From: Kees Cook To: jeffxu@chromium.org Cc: skhan@linuxfoundation.org, akpm@linux-foundation.org, dmitry.torokhov@gmail.com, dverkamp@chromium.org, hughd@google.com, jeffxu@google.com, jorgelo@chromium.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, jannh@google.com, linux-hardening@vger.kernel.org Subject: Re: [PATCH v6 0/6] mm/memfd: introduce MFD_NOEXEC_SEAL and MFD_EXEC Message-ID: <202212080809.687CC8BC23@keescook> References: <20221207154939.2532830-1-jeffxu@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221207154939.2532830-1-jeffxu@google.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 07, 2022 at 03:49:33PM +0000, jeffxu@chromium.org wrote: > This is V6 version of patch: see [4] [5] [6] [7] for previous versions. When sending a new version, can you include an overview of what changed between this version and the prior version? This helps reviewers who are following along, so it's easier to focus our attention on the differences. Also, it's helpful to version the links: > [4] https://lwn.net/Articles/890096/ > [5] https://lore.kernel.org/lkml/20220805222126.142525-1-jeffxu@google.com/ > [6] https://lore.kernel.org/lkml/20221202013404.163143-1-jeffxu@google.com/ > [7] https://lore.kernel.org/lkml/20221206152358.1966099-1-jeffxu@google.com/ e.g.: v6: - moved foo to bar - improve comments for baz v5: https://lore.kernel.org/lkml/20221206152358.1966099-1-jeffxu@google.com/ v3: https://lore.kernel.org/lkml/20221202013404.163143-1-jeffxu@google.com/ v2: ...etc -Kees -- Kees Cook