Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5148058rdb; Tue, 12 Dec 2023 23:24:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEmJMkv5iED2Ce/qDsUcDs74TQCo24IcSEh4rivMZFN4y692rlBF1xFqng5oYi5+8xvnhMO X-Received: by 2002:a05:6a00:3999:b0:6d0:d678:a76b with SMTP id fi25-20020a056a00399900b006d0d678a76bmr221735pfb.34.1702452287252; Tue, 12 Dec 2023 23:24:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702452287; cv=none; d=google.com; s=arc-20160816; b=ntHQn2Rj7dDR2dc19yRz8Qp0B5Qs5jSftS0yAuOPABhaJGHdJrPehTk2LNX4viQOuP 3FzH93hK9Kpycca4PLVMPMSe4GFBHJP9Ci29jwIjsUtFukqk5eY1O7hiLE0W9uPDwGkY mz4i8JfZli8vkwMA6kjT5y8Z1SqPT0Jwfbvg687zt359G5jVP7NWxDkZbPk0Pn1qvklk 21YNGexx4XJM8nRmyw3xBkNbrmYkZ4gj+/0PgMPZ74y8Yr7L4wRarvhg421Hta6X3ItE 7DS+nRdHptMU+9CuZRdNOIiNoP2VZhyyXaelYQmKl4IwTKUoEbiy5FEDNPlB+hAHPdXj FRXw== 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=QRZAdt3pYoeV9hYKNMJnXjuR9AvLA9cLrtmwfT0cDmc=; fh=m1Uetq+uxiefxbmKeGGSAZCue/U8YwTEr+849hh/srM=; b=od302L7pMeJvI/9zLfyaXU7tql7Kq4/DxqOuLciMUz1twckHbkiPMcZ8ZFoOQ4E4bb CykjvE650mzA0YEc0K278eAy5mX27yO6u6TgfOnyaTLJGzBCIjkX96btmuKgxPEcyQ/z OfIdVW1MmOZ/gz2HRB0hWOUNM0/JAl/Sd/h1OXn6J8HWnZSIKdjqFlB8x7KbT1hD85tF 5ETpJLekm00PjWo7VCYkbMQ8qbYYWvwMlqrdOcM/2tkTbLP0aR9vyhpwGncvAnXuSvNx VOESDhtMZb+eBDeW4Bko7byZqYNdr7BuNn+bMgoAmmeoz3ldkVvQnEYH5m3+M4O/Sl8M MhsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=boPZd2hx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id s13-20020a056a00194d00b006cef51f51bdsi6951780pfk.15.2023.12.12.23.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 23:24:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=boPZd2hx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9272180BBE82; Tue, 12 Dec 2023 23:24:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233161AbjLMHYg (ORCPT + 99 others); Wed, 13 Dec 2023 02:24:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233114AbjLMHYf (ORCPT ); Wed, 13 Dec 2023 02:24:35 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D173AD for ; Tue, 12 Dec 2023 23:24:42 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8947CC433C9; Wed, 13 Dec 2023 07:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1702452282; bh=1fqvxKFylBtBPcoXQPyYTVMKhnaamEgQ++fwy6GHEkI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=boPZd2hxFPasz5O41tQ5oqu+2UKNIgQgPPUhaqWQ3hQfkC0+UezbISRFJN2VRdcZu XxZDJV8C3w3Ks0nS3LzxYkdJDukb0SHKTkXSxe0SlepWr9HyNjLK7A/aP+c3+Fs1L1 CP8FBi4QmpJc/9etU1QzET4clOkK3L9Gms1ybH8s= Date: Wed, 13 Dec 2023 08:24:39 +0100 From: Greg KH To: jeffxu@chromium.org Cc: akpm@linux-foundation.org, keescook@chromium.org, jannh@google.com, sroettger@google.com, willy@infradead.org, torvalds@linux-foundation.org, jeffxu@google.com, jorgelo@chromium.org, groeck@chromium.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, pedro.falcato@gmail.com, dave.hansen@intel.com, linux-hardening@vger.kernel.org, deraadt@openbsd.org Subject: Re: [RFC PATCH v3 01/11] mseal: Add mseal syscall. Message-ID: <2023121343-scalping-urging-0dbc@gregkh> References: <20231212231706.2680890-1-jeffxu@chromium.org> <20231212231706.2680890-2-jeffxu@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231212231706.2680890-2-jeffxu@chromium.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Dec 2023 23:24:45 -0800 (PST) On Tue, Dec 12, 2023 at 11:16:55PM +0000, jeffxu@chromium.org wrote: > +config MSEAL > + default n Minor nit, "n" is always the default, no need to call it out here. > + bool "Enable mseal() system call" > + depends on MMU > + help > + Enable the virtual memory sealing. > + This feature allows sealing each virtual memory area separately with > + multiple sealing types. You might want to include more documentation as to what this is for, otherwise distros / users will not know if they need to enable this or not. thanks, greg k-h