Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp343164rdb; Fri, 5 Jan 2024 11:38:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IED3hzN2LfJ078vLYZf8eZv/hWQun+godS7/0wqI5tXL3FVaBw1WIXoQzFNvCJzXY+BNsnY X-Received: by 2002:a05:6870:ab1b:b0:204:7f1c:1ec8 with SMTP id gu27-20020a056870ab1b00b002047f1c1ec8mr2504217oab.2.1704483498595; Fri, 05 Jan 2024 11:38:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704483498; cv=none; d=google.com; s=arc-20160816; b=MYTCT51VHvEbVr9v0uKp0w6utXDpmLGeOkgjbeZQn4WCoYTIPbd3I+P2eO2DdBqTgU ZKFLhxlWUFPRoJJ3NSJpIWWXauozVxKKEKT1aHkYPYlZNT3wDeO7xK6JPyqXd1WVnfJ6 Vf5jmQGv/FMIGTfI9yxvdbwupBfvbmleBtd9IQKnfHu1jccq7C5/kUe4WoGJyr45BvVZ 7H5rAlN9vawU1tU8eZJCgVeYGdI2LLhbh7oPtGHvV87ekvMs2tmhK5J54hRhCtGX7n/d Uj1d45bEg9FiSINu64AJaTgKfntpWofgfYRo922zypzfrF8Vp+jlRq4ohITmhWVQfEls VdXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=ysJtfL7xn4mw2/JhRDtFdZIwWQRHRrqhzNonJ4C4q6o=; fh=xgiaw9Diww98FSCoEvVCzwozV1Exslojaq95jrSkQJ8=; b=fAdIpQ0vSLYibx/lvph8kcSkXo01V6rFjPeIa9xt4fKsdNuqxbTmo37w4cb9egBSWh Lud3hqCJ2NRLj5SFZhl1KyWR7g40xHuN9IMlos9ktGwjN1MAy92N/Pv4EeSX+DmzFXmS 4GriQYflRYWtublb9rRSILn6W4BsFp1O1xAUk8odTaBaO5lyNBU6M/DhrySWe6uaNTox GXN8OdkWrZF3/7vg0ArycLRhXQs0vLYZU10IkDlsV+JWOV0NWsmryth4aW/rjieAA7Ju cbSEIIr4s9/7TvbxqOqzkeW2WTuroyL3DGlPMfjnsPh+R6pqsJSGQJMaTiY4yv+SN/mw pCJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QiA22JfZ; spf=pass (google.com: domain of linux-kernel+bounces-18302-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q196-20020a632acd000000b005cdcf8f52b8si1789562pgq.414.2024.01.05.11.38.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 11:38:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18302-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QiA22JfZ; spf=pass (google.com: domain of linux-kernel+bounces-18302-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6EF87B22FE1 for ; Fri, 5 Jan 2024 19:38:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DA5B3527F; Fri, 5 Jan 2024 19:37:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="QiA22JfZ" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 554053608A for ; Fri, 5 Jan 2024 19:37:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-595d24ad466so897711eaf.0 for ; Fri, 05 Jan 2024 11:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704483472; x=1705088272; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ysJtfL7xn4mw2/JhRDtFdZIwWQRHRrqhzNonJ4C4q6o=; b=QiA22JfZPLskyBiltFkXNu1FJhr9q+96EtiywnsTv2kq5gqfVpg4AMPZ59pFtrb4hG Jwa+Ef8i/jLJjrBbd3qsslSbcTNFsIy2KstFnjssJA44L3eKesTI0TAsYDBhxNrwU+F1 pExjuZPGRgc9cS/b8HjSOaMypOXbCEJ+Q14ms= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704483472; x=1705088272; h=content-transfer-encoding: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=ysJtfL7xn4mw2/JhRDtFdZIwWQRHRrqhzNonJ4C4q6o=; b=L6bRqD4iaJP90IEXfQhntCtNnrIAi2Dhfj1fd2H3OESCoNX2akLwjSadoD7dOClwYv dDOT4kFrCr0Dje31f6ZKZdpQN/bCnpT2ugmIGK1tB2cfO/MVe7CRoD2dfJp9Jo6wrFkg 45QmGDppp+ASUNICRA3skmSTLTlRADXsBKONXK3LGVAHA8Iw0mfSYpyW/4n38MV8lx7A IOi3ZGtgqEzY6DZxNSwsYkcymuMLuBnOInyRUOBit/+pSSfesh9vq3Z+fYb98BZLznr1 C3ehiipw5V3zPmKvomjALn1D1tmEFoL8Z/hVT1h1C+v/pur/rpwTmCa4n1lj/iizFMla OQfg== X-Gm-Message-State: AOJu0Yz7XdKaht75SKaSDcQlf58jRV9xzmhK3l6fku7qcjTxpaB3PG5D 4MWIaM/wbakH/jY7QmbnXuCJJId1fHh1jdP1mfsqD1UnBsOM X-Received: by 2002:a05:6870:c18b:b0:203:fb8c:587f with SMTP id h11-20020a056870c18b00b00203fb8c587fmr2814912oad.17.1704483472236; Fri, 05 Jan 2024 11:37:52 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240104185138.169307-1-jeffxu@chromium.org> <20240104185138.169307-2-jeffxu@chromium.org> <2024010509-pretty-proclaim-78e5@gregkh> In-Reply-To: <2024010509-pretty-proclaim-78e5@gregkh> From: Jeff Xu Date: Fri, 5 Jan 2024 11:37:41 -0800 Message-ID: Subject: Re: [RFC PATCH v4 1/4] mseal: Wire up mseal syscall To: Greg KH Cc: akpm@linux-foundation.org, keescook@chromium.org, jannh@google.com, sroettger@google.com, willy@infradead.org, torvalds@linux-foundation.org, usama.anjum@collabora.com, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 4, 2024 at 11:44=E2=80=AFPM Greg KH wrote: > > On Thu, Jan 04, 2024 at 06:51:34PM +0000, jeffxu@chromium.org wrote: > > From: Jeff Xu > > > > Wire up mseal syscall for all architectures. > > > > Signed-off-by: Jeff Xu > > Doesn't this break the build at this point in the patch series? > Yes. > Normally you add the code for the syscall first, and then you wire it > up. > Thanks. Will update in the next version. -Jeff > thanks, > > greg k-h