From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 9A86E2B9CE for ; Sat, 3 Aug 2024 05:14:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722662093; cv=none; b=F1M2qVS2lJKRGvbjap+EoB/WYpSKg1R9jgiwb1QkGbiPAcHwmRw2UBWC7IvWwGYFfpKiM+Rkd1+5otHmRK5RxkizpVNojWMEiPpeuoUCvx/6M8tXWoZ3ZcFiZjyokb1aPou/KgHWyko5OgaX5b+R75l9OR7XtVZIqK1THeSlXXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722662093; c=relaxed/simple; bh=y/G0q6vSGh56Cm0FF0nqqRrgKaaLLgJrjCyqE6ot6iE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=p1iT2m9EwGw3zVkcGh8ecWA+geeBvqbLKZHVVufbB2b0etmxN414c7lC8pjkq2jYWLNJbJsmEfudJsnsr/T0PZrmsP+/BhXhzU+nTCgAn9ZdKQbKsKrp6fhRLKsRQ/Xn1B/4N//54zZdzOUWULZCTu5I8jFyQJkJhTOqTMlOimI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=heitbaum.com; spf=pass smtp.mailfrom=heitbaum.com; dkim=pass (1024-bit key) header.d=heitbaum.com header.i=@heitbaum.com header.b=eXQ2TYw+; arc=none smtp.client-ip=209.85.210.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=heitbaum.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=heitbaum.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=heitbaum.com header.i=@heitbaum.com header.b="eXQ2TYw+" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-70d23caf8ddso7625279b3a.0 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=vger.kernel.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=eXQ2TYw+fimoGJwgkQ5ZOvJ0y93Pv5e8cdw8aYAj7GFMjM9hCCYCsuedqbw/ax90U1 ZPhw1Z+SUQ8oBK7+ZUEiPxGoMR9nMD7AFPOdnVfejtbuIt1VE39uj8k8fqPLpAbNe/jm f4v78A+aAySI5YnmbZjXe8yOansEUQEh0QGGE= 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=OBaxDHqC6v2BiFNDDRPF8RNru4jRQXMg8uPMVJZICXTQV7JpFA746fzlZ2b2l1tq8r dU9QtQWrgLXtwQiAbGIyWnZO3Pa7hokXwzmvZv1W4KPCYLQPCCpgQf6Zo8qrTzObE9DM jlOgiIumj2ZiY1OWmu0dlj4RajM4K8OQV1TgZUlnE/4VaEwWLiTy7FnC5OWyNmN6i10o urXywwJjAHSdK+EIrAaCHhaId3Ob/JJuzl5T+rGN+akPvOuRJLlnRCebbQ+9WTILUP9d Z5E2yCI5pt0nWNi92dkI86xSRGZlMvsTiakApmCDxdge7DOYD34glt5ywHvbLra+zzLh nIdA== X-Forwarded-Encrypted: i=1; AJvYcCVizp808O0MtOAMFbf0hyEEo2Aloh+XuRfHJVQTFIH0WTkVYFkv4MGWw3UTkLJt3fm3jKVmf17cWAJrfoYaoMpexqAod1l4H8cmFjtc X-Gm-Message-State: AOJu0Yxn+HTK4wzQk+dxxuhdNmWx/bpWQl0Y+t8mDbvPZGhMaDFhvUub sKkKO7lEXKQxBlYHjgD8QbNYFEBVJRggraXSN4KP6X1zNjVoLnjf0JYvfYH9OP0= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240801123305.2392874-1-arnd@kernel.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