Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1445775rwb; Thu, 8 Dec 2022 10:43:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf4bOegQ/JR5yLMZw9r7k+w3IpE5ruvjSTgdnCBjRrFhaZ+Pk/evjG1vinbo2KWwXEOWQfUL X-Received: by 2002:a17:906:6c93:b0:7c0:ff76:7866 with SMTP id s19-20020a1709066c9300b007c0ff767866mr11523247ejr.272.1670524991128; Thu, 08 Dec 2022 10:43:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670524991; cv=none; d=google.com; s=arc-20160816; b=0R6j+HuXQjVV7dbWR0xCfm6w0B8CwoNgaQKhoY+i5d0KSqzPKchBeLPtNBSgcTxjUs PJ+Ii4I+PbmYBuTAFiDZEVrmreg+yJBWID4ZPze8XtKGN1nt12eTzNzHhGLitDYOIhJX QfTjlzPoYzY4xBuFedri81Soe0dmPtokX8tv+B0duVlNySM7jtL8eYY0wr8SrJGny02i mrgmtF37taxK0AUj9IVbNNpYnbNfswfCJRQux4LJNH88pp2B5KxskOI56IjPllig8vOY wT7GXTJWe3dLyDuRMOW6UbYg/3/mS4rXTcO8eeCTGRTqVYv6+e693louiuuxxcFE7WyD vSVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=3HMnEdvlSF5TjjjrupZOysPGDweIaS3qD4bjjLotW48=; b=ryvqHCdZ804D1GcU8gqgw9H+G2M+u7txkS1Vj1rpHLdNzWn2HEw1kcPqQT1H6W2RiU zZi1u7kNmyxudXjJsXGcMZIh+JuqLkLUwSg9qSZt0JGdkq9DS2JOP4MvrDRGfjSE6D68 XwlILG0kl0h1eBII18hRgVUH/pHp5l10j0+fPVkEVPp/ASqoKIA9kYhd1WAren2hXcYD PvDxVjvFbXVpz+pgTFAWQcHH7qG4iRN0cnHYvNYufcOYfWmO/5RQx00TrysW+7NwJaGR TwHM/Yp7fdlE8V0szgpsoD4bWj3s7zAbhBq88nyhJWtoWukost9dFz6N9aId+Gp38a9X Ivhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=KE7SYRHq; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xe8-20020a170907318800b0078df24be362si20192181ejb.496.2022.12.08.10.42.53; Thu, 08 Dec 2022 10:43:11 -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=@google.com header.s=20210112 header.b=KE7SYRHq; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229892AbiLHSeo (ORCPT + 74 others); Thu, 8 Dec 2022 13:34:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbiLHSeW (ORCPT ); Thu, 8 Dec 2022 13:34:22 -0500 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D65549B294 for ; Thu, 8 Dec 2022 10:33:56 -0800 (PST) Received: by mail-pj1-x102b.google.com with SMTP id k88-20020a17090a4ce100b00219d0b857bcso2437370pjh.1 for ; Thu, 08 Dec 2022 10:33:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3HMnEdvlSF5TjjjrupZOysPGDweIaS3qD4bjjLotW48=; b=KE7SYRHqlqq8QkfVRH+aj5xt+UojUw/LjLkt04Mk33NpQt8FmxscR/m0rESsgU7iou hs3k530a6Nlc5wvphwXX/GwbcNynh5tBwKPHYG6Dlo5aonRwQc9tJkPnqX0uZUTIBOhp pQRoJWNjCM2NdrntCc241rXSsNInrTt1YhDAjfI2mtja0Rtb2C07/tj/ggrh90NhIsKc SuKzAZ0WEZDAjyM34QsXXFMsc99zHfeEmg+5qutqLe5DWCGdPy2WFJyLMQ1z9QH7YFGj f981OOSr1zCwl+I1ISonvF5sdNwUdDkYP6BPM7pP7mVl9FkQqHOP03wWry0uJP/Y5DEr 426g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3HMnEdvlSF5TjjjrupZOysPGDweIaS3qD4bjjLotW48=; b=1CEufh+yWjgcAktT9/wo95JrIlUSP0KZAYpiH7iJTWcAu4w/y28WlA0qIHXbjdsSQ8 tL8PsFEWQGt2C2oSpWTsdGmnKzZyiNAQHi6bdA0mhk3ODUhOfnhLkYfqh/qL8mcK4RpE nAmj1gGi4OjW3afpBeiw0HjPYfXWiqE7+z4ErCD5T5aBR0nd8rsBLg9mMsOq3DzFFW+w LXyjBiRwvMqW9kg2KGGua4F/uDmmrYDWxd43/gaGOefL/11SwR5GdBp27+3W3/bbGWWx VlO7mL0RCovC9u8v+5dPqyLd77i/Naz/jpMLPJ7M/SmwTshJb0ROHydCWM+plyKGvo+G Qeig== X-Gm-Message-State: ANoB5pmCSQIyekQ79E80WGRhY5AUcRCzNP5WeeHtT0BcBQ9IH+KQ6DrN f+I+ZFxzgn7rnayTGwsmYvfMZzvOC/TIYN0OaGbONg== X-Received: by 2002:a17:903:3052:b0:189:63ef:ef3b with SMTP id u18-20020a170903305200b0018963efef3bmr64459851pla.112.1670524436153; Thu, 08 Dec 2022 10:33:56 -0800 (PST) MIME-Version: 1.0 References: <20221207154939.2532830-1-jeffxu@google.com> <202212080809.687CC8BC23@keescook> In-Reply-To: <202212080809.687CC8BC23@keescook> From: Jeff Xu Date: Thu, 8 Dec 2022 10:33:19 -0800 Message-ID: Subject: Re: [PATCH v6 0/6] mm/memfd: introduce MFD_NOEXEC_SEAL and MFD_EXEC To: Kees Cook Cc: jeffxu@chromium.org, skhan@linuxfoundation.org, akpm@linux-foundation.org, dmitry.torokhov@gmail.com, dverkamp@chromium.org, hughd@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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 8, 2022 at 8:13 AM Kees Cook wrote: > > 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 > Will do! Much appreciated for helping me through the process of my first patch in the kernel. Jeff > -Kees > > -- > Kees Cook