Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2761658rwb; Fri, 2 Dec 2022 14:50:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf7f+X0uGlgiH9V80swklyEe+xIw3fbbielqC2KX9Nt3LWUYSrRPvu5Bm+FKxy+v3N49htBz X-Received: by 2002:a17:90a:d38b:b0:218:821e:f734 with SMTP id q11-20020a17090ad38b00b00218821ef734mr74635759pju.87.1670021404453; Fri, 02 Dec 2022 14:50:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670021404; cv=none; d=google.com; s=arc-20160816; b=tCXTAcsrq9sW6Xnxtap8VCYp8oSik42gxDANkN4+lh85q/3ds5mYbJErlCtAGSYEWl 9SLIg8mgtQq4v6o1RYl5tT3AXZ/tDVzIGIjlPsrbnr5CKhAQayGLuMxKtRsYvN7QXeyV PtVlKmtuzDSRWIBb1GE/L133NlsbYTgPYeOUKA+pZes7hPTtuMPYd30HEs7qJCrteI8I S39uXPQSTTKyCbwpyBYTxMxFrnO42cTYMP0bX3V6AIAgnJRUFtOzqaTSJ2/u2VxmMW/j l+YKZI6QjmBdGOILMxVM69+Pu+YSITDgNNMDOSJ1ex/8BpGp29YVDdzTLcEL4OT1p1Yx +H0g== 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=RPMshK7tVLl5Lle8RoOXHHhv2DXWHlF2R9uHvQRM5Bc=; b=e5eN1vU0mTiM5HU/al163r+f9Cys0E0AcTBC9tMkDkiGeWrVsb51bgDF27sLDTmAmT icl3RWmORZCWj4E45xqM/GcfZOfRkSgx+o47qHARNsi177pqhRMyi75C2Nhc/t/Eqnam R9g2yPrKnnMg+22EC5QQM6Og+EXiHhhiqGJ6ZUPSq/fPEMpNPVPu1NuNQin3SUPYFHKC XG0SZv6duSGkPBL8r3Ud3o9UuWHPlyHHKoDQlRSEdui5YUvTBS6stZJXTVzGbc8fx+X+ REcSKfJ5Ghub36HoNf8P1XvjAr+1dkmFni5ZKUuz/wC4SEd05fednUF3lbpiTZPUEtcf JsCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=merJ+Gao; 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 u38-20020a634566000000b0047872dae372si6119414pgk.18.2022.12.02.14.49.54; Fri, 02 Dec 2022 14:50:04 -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=merJ+Gao; 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 S234390AbiLBWlp (ORCPT + 82 others); Fri, 2 Dec 2022 17:41:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234389AbiLBWlk (ORCPT ); Fri, 2 Dec 2022 17:41:40 -0500 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C94BF116A for ; Fri, 2 Dec 2022 14:41:40 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id 140so6202668pfz.6 for ; Fri, 02 Dec 2022 14:41:40 -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=RPMshK7tVLl5Lle8RoOXHHhv2DXWHlF2R9uHvQRM5Bc=; b=merJ+GaoyeIA1krzJpTvcAlWx2q4jrDPmzZsBdSBPsN2auuRted+2l9PmyqmnDRjMX GwKijFgomVRFjyD8dqtOB/DijExpw/+dFZMDUTxIDeqZC76u/xiWq5r9t0vylHKYxY8l Z7ETLvpzXA2XcSSwRDWGOCSWe5grGDPrOZI9o= 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=RPMshK7tVLl5Lle8RoOXHHhv2DXWHlF2R9uHvQRM5Bc=; b=yiSzrOg5NshSxXMJGN7ZRHhG5GsDTuHpMhz0qhNM4jsF5yldGL1XAWDdp2oYIs3nc+ NCRqPpABgTXhZt+aXPod9okJMopsYpYRXoVoQCD6tnRFLUqbDtWIl9D0t6fQIceRqzBV LLrL1O9hFNGd6Q6K5Eu79cT7RLmuFsF65ad9weoBJnUDr1kpfoOOB2U/2J/SzpdZVebt g1GnQroxsB+oM1sFOF25UouTbMpH6SyA3P3fANsQk8/CroZfbp65T14rw8ZKHsyeNE56 aIxt7eWR4h2KPej73EyJDc0HkFWGDIQUyJ2psOSWCCVln2S7I/DfeL7T0tl8ywehFf+d geFg== X-Gm-Message-State: ANoB5plgG9PY6+NxjGvy5Ljxz6gb7ekwn3XZkxWu5iqrcvdfNYagJezl +cLXBnieJ9EUrde+39ijPk/u7g== X-Received: by 2002:aa7:810e:0:b0:56b:f23a:7854 with SMTP id b14-20020aa7810e000000b0056bf23a7854mr59505812pfi.66.1670020899834; Fri, 02 Dec 2022 14:41:39 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id z20-20020a63c054000000b00439c6a4e1ccsm4475973pgi.62.2022.12.02.14.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 14:41:39 -0800 (PST) Date: Fri, 2 Dec 2022 14:41:38 -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, mnissler@chromium.org, jannh@google.com, linux-hardening@vger.kernel.org Subject: Re: [PATCH v3] mm/memfd: MFD_NOEXEC_SEAL and MFD_EXEC Message-ID: <202212021437.C1FCD63D@keescook> References: <20221202013404.163143-1-jeffxu@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221202013404.163143-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 Fri, Dec 02, 2022 at 01:33:58AM +0000, jeffxu@chromium.org wrote: > From: Jeff Xu Hi! Thanks for this update! For future versions, please also use "-n" with "git format-patch" so the patches are numbered, otherwise it's more difficult to figure out what order they should be applied in, etc. -- Kees Cook