Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp761888rdd; Tue, 9 Jan 2024 21:10:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhLWTATFXvjy7Z9bwC9285WWKipqaTJ/3DYbzIQH/Z/quRco61a2tqGiMOLK94c0OkOjZP X-Received: by 2002:a17:907:3209:b0:a28:b23c:9bf3 with SMTP id xg9-20020a170907320900b00a28b23c9bf3mr276145ejb.49.1704863452808; Tue, 09 Jan 2024 21:10:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704863452; cv=none; d=google.com; s=arc-20160816; b=W8gQzye6vdc+WAoOfAQ2mpUwE04fNF48UjdtxUk/HlxczhmQYU0CBDTDGIBn36962y y8zEGE0Nwh3VbYQoFZ6IwQOF5NI9Io9Dpq/ahgyje2/4U+nrj8UTUeasJZG03HR4hnuY jtsOeRAOWt4ZUQUCMHILZp5I3oIBycRpmV37gSYxTTPBPg9B5LGaXQtMSb57Pl9IVDc/ MFzcxrcbbLKMrBh0syWzCd2Vf3/qgTbmHbngnv9p7a5/pFzLDEVBofQzQC9m0aGQKHrx YFNwZh3puMfAAjSPm7057YuTTsIyBumFny0VYXl6PJbtclNgUdmJOamVq6aR912amRPN 65xw== 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=tqFyBuMc6fS1E/k0UoQASz+hs9FQx1u1fDT0hLV9lNA=; fh=cZ2wxiUo47qoi0/rXclgRhwCN5Xrt9VQ1Ly3rxBNCrw=; b=UnXPl5/VlachjJPj2+YL8c2WM1x4elyVnXaLJ9QXveXbhn0ULOociI9mKcOZL+dbV1 Mc4l9hj84DMBZ6rVGEhc9+dVnQfk1KsY5fYuvhbP/nUoPNRsdU7TTSEKC26EgIqEBKhN CF7l2ryO8KJSbj9XAoHpvBAc+iaTwjf9U6RagWjJ8uq8XFgc/UkUCeznNlmwY03Jxv2M 07H2s8ZFb0sqLb86OJgBFcFgyyZjfl4KEshUOLjQuVsMMIrT0U7BEf/qs4QWScqhv/97 AY/5StM3BjZJKaazVO0ELG+Ob/i/ZmMGkptGbcamxKAUegtacBmzIlhmIwbRthjiu0oR T66Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GHWuMtFp; spf=pass (google.com: domain of linux-kernel+bounces-21717-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21717-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g27-20020a170906349b00b00a2b65e5101dsi1010645ejb.998.2024.01.09.21.10.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 21:10:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21717-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GHWuMtFp; spf=pass (google.com: domain of linux-kernel+bounces-21717-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21717-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8E9721F26ABA for ; Wed, 10 Jan 2024 05:10:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2A68D527; Wed, 10 Jan 2024 05:10:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="GHWuMtFp" Received: from mail-oa1-f42.google.com (mail-oa1-f42.google.com [209.85.160.42]) (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 A8FF8DDA2 for ; Wed, 10 Jan 2024 05:10:42 +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-oa1-f42.google.com with SMTP id 586e51a60fabf-204520717b3so2582739fac.0 for ; Tue, 09 Jan 2024 21:10:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704863442; x=1705468242; 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=tqFyBuMc6fS1E/k0UoQASz+hs9FQx1u1fDT0hLV9lNA=; b=GHWuMtFpYIwoe42qRwZsGFubYEvh1fXTj969PaNa7K4dQN/p9bDPfxgRNmUvq/9AGs 9b6DLbFmS99hUBIjS7SuK82qHTDMjHSDRO/9oQ7uAS3Bc3SvgN6iUTflIXXE58lJ4EEC ZiCY7ys7YxVM3PKQ3USzloKxPnkmx6tItLz/M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704863442; x=1705468242; 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=tqFyBuMc6fS1E/k0UoQASz+hs9FQx1u1fDT0hLV9lNA=; b=LnwC0ybS287vll3hSZBusDYJxhYf4Skfn0U/RwQ1KciyIcEeiumevDwbUjrOjZlu4u znHA5AXt0fBaHikVX4CTyXM8EqERI5A60rIYjBj5yz2K2nLZE+hZhAg7Ezf8LCs/+k0V ieYLvv8gIPEJo6MKcS0fDZIOyAp0cGfh7suYSiKKy3C1CX9Xbzv3brp46VRcnNzx+GmM MGEpbvBkwSwGqoL4cFcZIx4FNnN1VaY6QndziUfQkhgpsUArmFK3TzxcSJFu9WfUGgmb fjesgjdAIOVwdV29H3D4f4SiY7JprOfp9wwtCEhU9TL2NsWgP/DIlZgg6gV6XclbRwxX 5AKg== X-Gm-Message-State: AOJu0YwTk5amWL9trUFlAKN3KmhOSffuaeZ68rDwtkqP94a/YKeOWRST /B5o7gCb2ud1AhflQnZMYIJr3o5QEPywN9As6iqzojKHXdr5 X-Received: by 2002:a05:6870:b296:b0:206:7b6:9700 with SMTP id c22-20020a056870b29600b0020607b69700mr182118oao.41.1704863441699; Tue, 09 Jan 2024 21:10:41 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240109154547.1839886-1-jeffxu@chromium.org> <20240109154547.1839886-2-jeffxu@chromium.org> In-Reply-To: From: Jeff Xu Date: Tue, 9 Jan 2024 21:10:30 -0800 Message-ID: Subject: Re: [RFC PATCH v5 1/4] mseal: Wire up mseal syscall To: Geert Uytterhoeven Cc: akpm@linux-foundation.org, keescook@chromium.org, jannh@google.com, sroettger@google.com, willy@infradead.org, gregkh@linuxfoundation.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 Tue, Jan 9, 2024 at 10:32=E2=80=AFAM Geert Uytterhoeven wrote: > > Hi Jeff, > > On Tue, Jan 9, 2024 at 4:46=E2=80=AFPM wrote: > > From: Jeff Xu > > > > Wire up mseal syscall for all architectures. > > > > Signed-off-by: Jeff Xu > > Thanks for the update! > > > --- a/arch/m68k/kernel/syscalls/syscall.tbl > > +++ b/arch/m68k/kernel/syscalls/syscall.tbl > > @@ -456,3 +456,4 @@ > > 454 common futex_wake sys_futex_wake > > 455 common futex_wait sys_futex_wait > > 456 common futex_requeue sys_futex_requeue > > +457 common mseal sys_mseal > > In the meantime, 457 and 458 are already taken by statmount() and > listmount(): > Thanks! I will adjust that in the next version. -Jeff -Jeff https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arc= h/m68k/kernel/syscalls/syscall.tbl#n459 > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m6= 8k.org > > In personal conversations with technical people, I call myself a hacker. = But > when I'm talking to journalists I just say "programmer" or something like= that. > -- Linus Torvalds