From patchwork Mon Oct 30 21:32:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 739294 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp1341433wrt; Mon, 30 Oct 2023 14:33:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAzlpzrx22/gGkXkwLL1yqSfFubOEPBnnXy1GWmDvKFIJCC7BXcm1F15EVZ0BXfX1/DUbo X-Received: by 2002:a05:620a:84c8:b0:773:e380:b364 with SMTP id pq8-20020a05620a84c800b00773e380b364mr11339029qkn.69.1698701585533; Mon, 30 Oct 2023 14:33:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698701585; cv=pass; d=google.com; s=arc-20160816; b=gHVRpUw42l0rx87mX4Raa0UIZ9m9uvyoWNaWqx2XSLo5n/1XDh4aLoJUX0thFGdrYn GrlXcUS+dJrAHF4b6pVViRWQyLv9ykJW+YbnyYQdX0BZApohDnc5VVEWFQ6jNdhaBkn6 ztO1cY5rG2a9gZqgevAR90v5LRhPJH/ptjEUeLvyOhNSQbARB1Hd83xNcOjAOoo/Qr8D SUBKO4UscVLdGbUs3WLxwoAirvGECWY1aNgwSDvw2e6rm46REWlotVo1i3Oz3zBW3oUq 2yA1C+Te1Oaqc7XfT2IYQRmnOjn0uirKZdg/9EIeEBdL4gPcshkOvACVPfSJLekTj4Q/ vyWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=IkuAljx6LfRdnXm1F6THBKhs4+lwZTt5W3/4NlDeXvw=; fh=x+/sfya+TES1qlBiDsEdYFy6khw7IV+tu17R0mskoJ0=; b=BZtVJGIMptPMg1ebIdlgKRsmA3TtOAstqX6rpQhuaw0xTzmThmgDyLUQD7cKADYKA8 GfE6wvPuFqHxIcWg7kW10YUxPO2WwETPFIKDANISDXPa+Ucr0gydHF5aXNWgNDv7sQtR Hct66qJY99zQDhsiqyfpWevuq7WmwAK7TlScSM8KRVj1TKEDJxyFKVeW3Ojx3teg8Z9X TwhJltfyx9Uvpan20uW0bmpn6lLl36PD1V+c9y6ltnZ0miTCI39T84Au6p/44QMHUhFg 0HEP/RuOU3zXFe1TTdrAH41dXTT9fpPvmJlGAw+/o0l/kclsxzszFUmBh2RRTK9ZCiMV G3Zg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UXmMNqt5; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id az16-20020a05620a171000b0077892daf07dsi6695177qkb.615.2023.10.30.14.33.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 14:33:05 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UXmMNqt5; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 31382385842C for ; Mon, 30 Oct 2023 21:33:05 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by sourceware.org (Postfix) with ESMTPS id D8CD23858407 for ; Mon, 30 Oct 2023 21:32:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D8CD23858407 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D8CD23858407 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1135 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698701579; cv=none; b=JGYlhCX+YytQdOQiXPAQxRd1mGrpE9ef1Phx45hZ5neiceMDZyyCkOTZ2wguo+WdFUy/HatkulnAi09LACRTbD88N9l7zcNypXbfbcqxqR0Pd4oL4J3uhEzsWDRno304jw+82NtUM/B2S94HUjXIN3NCiOycUhBKzAxSniX6tXY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698701579; c=relaxed/simple; bh=MO/oY0AftvQYXdF9M7NHgOfWxJGlPizqN4ZmCmo8A9s=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=DWvCqI1tj7LeMobR9srzsJ8DVTzNfF7ztVCzjBrHc5iK6UWr4DBtLK60avnp16J8Ppuc7bUMYOXs2DtgM/XhWnt0u78Jn6spF/B0KzrRUlTMw1NBVwj4xEPJBW1flsukGxs1RnpmXEX8dPFwcoSqimPWDLPKC8WsP9X/Tsr8Z5U= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-5a7e5dc8573so46801117b3.0 for ; Mon, 30 Oct 2023 14:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698701569; x=1699306369; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=IkuAljx6LfRdnXm1F6THBKhs4+lwZTt5W3/4NlDeXvw=; b=UXmMNqt5KuRYLh5/7RRna3da1IQmylDoW/m7zjQ8OYZJIImrJwVYNBUpy8Tn+8kPe5 XhfGmzENbohIngqUHaJXlLcmE958SNlbQ5cQC2KbO3mb8YK5U3EuytK5quImx3rKdHDx LXmMeRTOPYyCd4ZRFKr3jrgz27pFGKrUh3kz1ciQhwJd2HnWnOaOtiZcX84eN9yoCRL6 sw57MymHzjDqE7Stm6z+e9Iw1DtJtmmbYf1yo38HZmTFFryyTK0kMtqF/1BqtXAwvqwS JOfkpDfNimmgTCHQZVx30bzoGiOPeFx9bSJw47dlcdM5+f+j4+Zm5kP4jz3sraP8AlBv hsDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698701569; x=1699306369; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IkuAljx6LfRdnXm1F6THBKhs4+lwZTt5W3/4NlDeXvw=; b=Hxneh0TeXkwQTq6RFbZ/u8N68Sq9nG5dn8mLV0fJtOi6JcBGoyPLk3RSxY9ERqlp8C Ww8omjDctLlnxy82citgP9mvC8lf5nKZxKAulMVcA9YSp3CVz9i+bP5bTT5gLhW0e3yD NEPeNNk9HMpxKUdvzDG1dAMutw7v7+/XjEo7lkiBHVBuVTJ6rbQaK2bWLJSfIEi/MWoP 7lLJhK9uGksBf+KAjNDrNxSPS4XVLHuatlp6hm4po8FOeUnQDLq963V1ygmoOg/Kcw5I sK+k820ABMO1BTbm8IFEg4fuqrD1GfzqRlkQXHUOgMi8vl0ziZUWnmTBT/4orrWj2wU8 bv3w== X-Gm-Message-State: AOJu0YzCMa4aSu1I/M+i/3cYcXyipkOSWErY4CdAFW0Eodq0zJXkushi bS5LkDX5Oz0/ifT2/NPPHCbeFlpsryy3iRHIph/7nA== X-Received: by 2002:a81:790e:0:b0:5a7:d461:a2b7 with SMTP id u14-20020a81790e000000b005a7d461a2b7mr9421917ywc.43.1698701569488; Mon, 30 Oct 2023 14:32:49 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c0:3d3c:883c:5760:462b:b60b]) by smtp.gmail.com with ESMTPSA id x11-20020a817c0b000000b005a0f9718a5fsm178739ywc.78.2023.10.30.14.32.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 14:32:48 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org, Joseph Myers Subject: [PATCH 0/6] Update from Linux 6.6 Date: Mon, 30 Oct 2023 18:32:39 -0300 Message-Id: <20231030213245.2626895-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patch=linaro.org@sourceware.org It adds the new Linux 6.6 syscalls, constants, and fchmodat2 usage to fix 26401. Adhemerval Zanella (6): Update syscall lists for Linux 6.6 Update kernel version to 6.5 in header constant tests linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h linux: Add HWCAP2_HBC from Linux 6.6 to AArch64 bits/hwcap.h linux: Sync Linux 6.6 elf.h linux: Use fchmodat2 on fchmod for flags different than 0 (BZ 26401) elf/elf.h | 6 + io/tst-lchmod.c | 4 +- .../unix/sysv/linux/aarch64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h | 1 + sysdeps/unix/sysv/linux/alpha/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/arc/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/arm/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/csky/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/fchmodat.c | 120 ++++++++++-------- sysdeps/unix/sysv/linux/hppa/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/i386/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/ia64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/kernel-features.h | 8 ++ .../unix/sysv/linux/loongarch/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/m68k/arch-syscall.h | 1 + .../unix/sysv/linux/microblaze/arch-syscall.h | 1 + .../sysv/linux/mips/mips32/arch-syscall.h | 1 + .../sysv/linux/mips/mips64/n32/arch-syscall.h | 1 + .../sysv/linux/mips/mips64/n64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/nios2/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/or1k/arch-syscall.h | 1 + .../linux/powerpc/powerpc32/arch-syscall.h | 1 + .../linux/powerpc/powerpc64/arch-syscall.h | 1 + .../unix/sysv/linux/riscv/rv32/arch-syscall.h | 1 + .../unix/sysv/linux/riscv/rv64/arch-syscall.h | 1 + .../sysv/linux/s390/s390-32/arch-syscall.h | 1 + .../sysv/linux/s390/s390-64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/sh/arch-syscall.h | 1 + .../sysv/linux/sparc/sparc32/arch-syscall.h | 1 + .../sysv/linux/sparc/sparc64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/sys/mount.h | 2 + sysdeps/unix/sysv/linux/syscall-names.list | 2 + sysdeps/unix/sysv/linux/tst-mman-consts.py | 2 +- sysdeps/unix/sysv/linux/tst-mount-consts.py | 4 +- sysdeps/unix/sysv/linux/tst-pidfd-consts.py | 2 +- .../unix/sysv/linux/x86_64/64/arch-syscall.h | 2 + .../unix/sysv/linux/x86_64/x32/arch-syscall.h | 1 + 37 files changed, 120 insertions(+), 59 deletions(-)