From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D315C49EA1 for ; Sat, 3 Aug 2024 05:15:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BmvtDB3s2cR8UrreA9la38N0r8HdMO9IViXvEFHt/Nw=; b=HUgoc3IcQImzu4qQ0fs254HaJ0 5AsQUEdyvjOuvE/OdLF8pXGhGpVlJnXwOZcpl0739WqPXsvs3m7cz0BAGlp2xkJyE1SKi7EhxqH4z 9i4vMV7AgMJ9/Bnriw+zcbKNm/SsM7dw4ogIYdPtho3kTpuwntXJHPeRTIF7jep5j4m2Pm7e1j5Q9 HXXpO0rEBNprNPeuN1PMQtGnFuRJZAwXAUK8aoEIRF8T54+j83k+wG7gLMubkgCIPX3OnXtht2fw1 Zri2I1IzJrOKmB3mCox7LMFUa6ODQweP7FMx6qsRsXyusmNGpkKPYgNevbPVeC4Q9KVVyqLduiXQ+ p2FtWunA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sa76y-0000000AnBM-0MCF; Sat, 03 Aug 2024 05:15:24 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sa76S-0000000An4r-1RgG for linux-arm-kernel@lists.infradead.org; Sat, 03 Aug 2024 05:14:54 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-70f5ef740b7so4504896b3a.2 for ; Fri, 02 Aug 2024 22:14:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heitbaum.com; s=google; t=1722662090; x=1723266890; darn=lists.infradead.org; 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=BmvtDB3s2cR8UrreA9la38N0r8HdMO9IViXvEFHt/Nw=; b=RiV5KEkZ7JvBZ/2FaXXzgtrlMdIPCc1andykf8LEizg1LoMyIaTThGgYM1CimK4WLD bg/ct8w2WHmvlGx/j5HJvRn/FL/JneWCykw0lyN/pkG0sp62Op4iXQW5XmXFE7IejpCz dHoMJ6OWh9P4weMxKPCokrrLyiSsIk49KhyVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722662090; x=1723266890; 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=BmvtDB3s2cR8UrreA9la38N0r8HdMO9IViXvEFHt/Nw=; b=B2W3u3k/U1iGVkWsHZODmIzz1tDdLA/RymrHURL4U2HTKtMIyo5L2yn9kcc0RueH84 hKNJMi1DirLp2ZqtCwL06Z6LdJJVzKsL+gP4+BzEw28jPYD8vWGmo01F84oU/3GKSwi+ uDsk6gj/mT+8mH9EUsQcTm4bRsaBCGcyDH0f5eDXECDMoIfX97xRDUAW9xoVmTOk6rfU sv+RVefQDY16WWYGVcPGwQXkDTy9neUkDA0IbUwxUNehhG/xmm8lBSKnBJVosKZShS8A aEYE4viWpqDylZuJe+xNtplDxt6BpLgR0F9RKvLGQ8ySqaSnsXvp4utt5V1sAy2GU9Ok DQvw== X-Forwarded-Encrypted: i=1; AJvYcCXi/avzmxGTv1poIwYGtggWghLi+6YeyHERdLuB66kaWZkkkhBGPsCEolb4Z6PJssmd5+w9aP0U+o/g3+3RQBGnfpNNTJd5k6AWjV7fxu5a6GcyR+s= X-Gm-Message-State: AOJu0YxEBMm0r8SlTqBe2tA4iMdflhtjPM+kfENwD2oS5cR+D/VwFbFD 45J1a9nmlXSGJzJ35OBT5ro41IHSU73bFhd+JGR+vDQpyA4SsA5LkikhxGK14Dg= X-Google-Smtp-Source: AGHT+IFtk7L8k8Q3OP5IS2+A9RpjMYCUcoWx/gWA5UpNjio/ITBkqtqn6ebqg37Slew3B08+KAqPog== X-Received: by 2002:a05:6a20:a11f:b0:1c4:944c:41e2 with SMTP id adf61e73a8af0-1c699683bdbmr8888959637.51.1722662089837; Fri, 02 Aug 2024 22:14:49 -0700 (PDT) Received: from faede8dcc269 ([122.199.11.121]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ff58f57176sm26262095ad.80.2024.08.02.22.14.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 22:14:49 -0700 (PDT) Date: Sat, 3 Aug 2024 05:14:41 +0000 From: Rudi Heitbaum To: Arnd Bergmann Cc: Catalin Marinas , Will Deacon , Huacai Chen , Paul Walmsley , Palmer Dabbelt , Albert Ou , Andreas Schwab , Florian Weimer , linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-api@vger.kernel.org, Arnd Bergmann , WANG Xuerui , "Masami Hiramatsu (Google)" , linux-kernel@vger.kernel.org, loongarch@lists.linux.dev Subject: Re: [PATCH] syscalls: fix syscall macros for newfstat/newfstatat Message-ID: References: <20240801123305.2392874-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240801123305.2392874-1-arnd@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240802_221452_499807_3A2F6311 X-CRM114-Status: GOOD ( 14.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 01, 2024 at 02:32:33PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The __NR_newfstat and __NR_newfstatat macros accidentally got renamed > in the conversion to the syscall.tbl format, dropping the 'new' portion > of the name. > > In an unrelated change, the two syscalls are no longer architecture > specific but are once more defined on all 64-bit architectures, so the > 'newstat' ABI keyword can be dropped from the table as a simplification. > > Fixes: Fixes: 4fe53bf2ba0a ("syscalls: add generic scripts/syscall.tbl") > Closes: https://lore.kernel.org/lkml/838053e0-b186-4e9f-9668-9a3384a71f23@app.fastmail.com/T/#t > Reported-by: Florian Weimer > Signed-off-by: Arnd Bergmann Hi Arnd, With this patch to kernel 6.11-rc1 the error whilst compiling gcc-14.2 for aarch64 with libsanitizer has changed from '__NR_newfstatat' to '__NR_fstat', so some change, but still fail8ng. sanitizer_syscall_linux_aarch64.inc:13:23: error: '__NR_newfstatat' was not declared in this scope 13 | #define SYSCALL(name) __NR_ ## name | ^~~~~ sanitizer_syscall_linux_aarch64.inc:13:23: error: '__NR_fstat' was not declared in this scope 13 | #define SYSCALL(name) __NR_ ## name | ^~~~~ Regards Rudi