Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1328473rdd; Wed, 10 Jan 2024 16:33:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+iGDU5RC31/cUILnOhl3HPZTNBcNhIT5XEGYOxatbk/07dPTDtNd7vLb53T/taeTAYSSp X-Received: by 2002:a05:6402:b35:b0:557:2165:fa95 with SMTP id bo21-20020a0564020b3500b005572165fa95mr113077edb.82.1704933212143; Wed, 10 Jan 2024 16:33:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704933212; cv=none; d=google.com; s=arc-20160816; b=ktQwhBeT/5cBsQG86cBcu99ekqn6Fr8t/673P0KrnV2HvC1MjFTRAP9iyvoW2e4FKv NuA9zaL9zjO0mLn8EIDazvtq+NzcoV9a84eeXs7YrDr4eog0VMSpu6IXJB3WV3u8iT16 6PSRDTIaBJHzUoMJJ017pb9Oj0Yya5pr8G0a8yZMYdsBBbmJaTp5Sx6IaDrkYet+cqKG QLwvZ7uQMeY4dCHaJPlLb2ca13PLEhwp4XVSBQrPL4goXNdalhcHHojYj2km+e+IeZvR 7cS3TIzcAbK/5hbPj0RAXE7CD/WpsbwQIT4/vk5jSG8rxdgrB+Q2IUnjOzgEdkB20pAU V0Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=Ecki/5hmhCZ1pJBgLNzGL9kIecS6fNHUeL7VAgIOt7A=; fh=sd9yw224tTZv/ATyY21ewAlBesAYiWnsTzCvD0k6MtQ=; b=j7Qfuv3IVZRDrlv71ACG2pnEWOnV8tO9bA9InrTvbPPlSsSl/tSCkAYndPJx1+STQa Pgpym9C3B35vydGq0WnGSSasQZGpgUfeYGhkCUlwIPF/cLq/Lym8Tq3VoPD812yycp2C YUtH+yW8HmbP8hHnEqN1jaPW/jQtvFI7BXW69nu3omfvDHI4R5W2I/2o0T30z37RwFxY VeO6OVyTIakZzukrM+63mme8NL3X1OJSrkkYdM2pGZabyDlOlUoo/Q3vwUl38cpZr7Fg 3XNA2wdFK5S+lt+GFw1dNXcvREPqgU7HFH2x+UskYOnY3mtEIKqPKVmk9tc9WKZwQGWt pKfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Bk8jsCWS; spf=pass (google.com: domain of linux-kernel+bounces-22910-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22910-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z21-20020a05640235d500b00557f62bb415si2160179edc.30.2024.01.10.16.33.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 16:33:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22910-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Bk8jsCWS; spf=pass (google.com: domain of linux-kernel+bounces-22910-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22910-linux.lists.archive=gmail.com@vger.kernel.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 DCA091F23F91 for ; Thu, 11 Jan 2024 00:33:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AEEFA4A; Thu, 11 Jan 2024 00:33:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="Bk8jsCWS" Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 0A53839C for ; Thu, 11 Jan 2024 00:33:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-50e741123acso5346439e87.0 for ; Wed, 10 Jan 2024 16:33:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1704933197; x=1705537997; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ecki/5hmhCZ1pJBgLNzGL9kIecS6fNHUeL7VAgIOt7A=; b=Bk8jsCWS00+g1h8IQnFBzc2hy0GzlCs8SwyTYIwroZlRNlOvzsfSOOgTVFSn0GTCga Kv51ZO7luZxGiphpjF9kjLQfjXU3uXEsRRmRnt2qwo0XyVpiAjFqMxYjTAYDJZCJMeK4 y+z2/xNVkbSGJpgkvXfd6S8C+3QLX6M4YJV8o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704933197; x=1705537997; 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=Ecki/5hmhCZ1pJBgLNzGL9kIecS6fNHUeL7VAgIOt7A=; b=iNQgdW35T2CGQWBsTELx8wcznEJbrQKO8qLs7XYj/My7YW2KEX6rHWk/FB11fLwi0Z ifoM/ZBIysVG5qNnhLjxx2LA7JaM5Ba1yb69/pX4ZVaTnDLYgquhzmuTsJetCJXt7vNg Xv19F1EkE6C9MENw4cVzGn7+C79rPhwkfm4Om8FJwljinpbUZjMhT9H4intuTRuYhO2P pY3fta4TWQ/P5YQYpjJufjsb4Wgph20kzxAqvjevRO1Epvegbd/rU1emt9X1DhjK8bZM zFPv42IrNgl1G6LgLbLqrDPmF64LMoRvx4Omk2VBh7pAI5MDMUriQkx9+9Fok0A9ukkD HIhQ== X-Gm-Message-State: AOJu0Yx4VMVeLx7c+ohPoQE7+yXvt1hITxm0W7XOMdPUVenEmkX4z2bH QAMYHv7kV3Y+/PfVaO5C58GPYbEnj+FOSPgHlY0AaFW4HnIT4FL/ X-Received: by 2002:a19:4f58:0:b0:50e:bd97:5ccd with SMTP id a24-20020a194f58000000b0050ebd975ccdmr108200lfk.19.1704933196942; Wed, 10 Jan 2024 16:33:16 -0800 (PST) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com. [209.85.218.47]) by smtp.gmail.com with ESMTPSA id r10-20020a1709060d4a00b00a2a13835f4csm2564989ejh.167.2024.01.10.16.33.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 16:33:15 -0800 (PST) Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a26f73732c5so558712266b.3 for ; Wed, 10 Jan 2024 16:33:14 -0800 (PST) X-Received: by 2002:a17:907:1c9b:b0:a28:d5dd:574f with SMTP id nb27-20020a1709071c9b00b00a28d5dd574fmr218565ejc.31.1704933194074; Wed, 10 Jan 2024 16:33:14 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231025140205.3586473-1-mszeredi@redhat.com> <20231025140205.3586473-6-mszeredi@redhat.com> <75b87a85-7d2c-4078-91e3-024ea36cfb42@roeck-us.net> In-Reply-To: <75b87a85-7d2c-4078-91e3-024ea36cfb42@roeck-us.net> From: Linus Torvalds Date: Wed, 10 Jan 2024 16:32:57 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 5/6] add listmount(2) syscall To: Guenter Roeck Cc: Miklos Szeredi , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-man@vger.kernel.org, linux-security-module@vger.kernel.org, Karel Zak , Ian Kent , David Howells , Al Viro , Christian Brauner , Amir Goldstein , Matthew House , Florian Weimer , Arnd Bergmann Content-Type: text/plain; charset="UTF-8" On Wed, 10 Jan 2024 at 14:23, Guenter Roeck wrote: > > with this patch in the tree, all sh4 builds fail with ICE. > > during RTL pass: final > In file included from fs/namespace.c:11: > fs/namespace.c: In function '__se_sys_listmount': > include/linux/syscalls.h:258:9: internal compiler error: in change_address_1, at emit-rtl.c:2275 We do have those very ugly SYSCALL_DEFINEx() macros, but I'm not seeing _anything_ that would be odd about the listmount case. And the "__se_sys" thing in particular is just a fairly trivial wrapper. It does use that asmlinkage_protect() thing, and it is unquestionably horrendously ugly (staring too long at has been known to cause madness and despair), but we do that for *every* single system call and I don't see why the new listmount entry would be different. Linus