From patchwork Tue Oct 31 16:32:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 739586 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp1744619wrt; Tue, 31 Oct 2023 09:32:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZE7VhFX3NyL5k8SOQG/9YCv/rE6xR9259aKH0NmKFdOMjPK1LlfoIrM/Pt+qvCcbt4qvC X-Received: by 2002:a05:620a:170d:b0:778:9341:6707 with SMTP id az13-20020a05620a170d00b0077893416707mr15190646qkb.22.1698769972565; Tue, 31 Oct 2023 09:32:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698769972; cv=pass; d=google.com; s=arc-20160816; b=0CuFElnlNFNs4KWJNzMQn3qbG8paXrgVLgzpRXrTTk0Pk/7EpouQkrJxgtTIHe7zUa 3aF6yUyRdd+u9uh7V95gV7Lk7FbzmHvF5QE6zPo/B9Aa3NiwTgziC+j8UvD8SOWlN0We 8jxEx+x7xvIkvm6EMSFxHkoICfOeScAWWuRy7SGwzxZGNUeu/EVVerCxzsXJfBX/TpVw I/IWOdHMmU98l7nDnH+EvG3IHaAs6sKDLqfadRXpXNBBQrJ9inMulEjy9PlHuKqYu/rX O7o0KXEgeHAE8YzPqkgN8w9dJ1KryxGk9ct+9vZWG5yHBGt5KTDRRfNkaXxdpQ6Gtk55 k3+Q== 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=PbWjzZfqaZd8L/fr3LJ9kLPBDZ0IRatkiELJz58Aiok=; fh=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=SIsmWnpvryeLYDS5w67z3t+bOsxbLThCqPJ9jvWWIkN2ETMFhNDSeqs4ZUoWmGdPtl oT4E0Pdqq/WF8HKxkYJGfoiYdw/ZXefiYpk/+1cQqsByhNLjdyG2+AnaSqRq7TxFp0Fj 2nfnceD+XwTUuW8Vb7DUZJfm1+kvXyAkalO39KoiX3wCzd5ln+SVo/mMYjHIsuLXZl/j ClFyWsYGg075hqZdpad+ooA8GangF8tm1pZ7kNwJ2Ul91g9+RhNwwmKAPnry+YDTp1QZ YmzpXsaPOgP86NQ5Q5FfmNP3du8vvXrvraRj1hnndfdWfyzHUrWYO9dW4HsKjwCF1ndz pdoA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="f3QX/QBY"; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id bp34-20020a05620a45a200b0077419b27782si1381410qkb.339.2023.10.31.09.32.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 09:32:52 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="f3QX/QBY"; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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 3BFDB385770D for ; Tue, 31 Oct 2023 16:32:52 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by sourceware.org (Postfix) with ESMTPS id 1D455385840E for ; Tue, 31 Oct 2023 16:32:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1D455385840E 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 1D455385840E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::112e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698769966; cv=none; b=upyB5+3eg2BMNhSxZ5DmMS7YF6YK47SxaG/ti6HsA0BmpIQfr9ng3BKYvoaPmw2csayJReIX7rSyWhkrOlBNS9cNHUB41UimVHZ5U4gW/LwtuSPt4CoLm9lYxpf02dcDCcFzPAhe2q024pUeJa1gjlC5rY4m0DWjbs8dwn3otQg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698769966; c=relaxed/simple; bh=V1G8R4ZqnrgbT9g61TLQ3b7rljTzLg2blNAfdpNHgKo=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=PzIIcBgGH5+gnCfoZrPsu18LhzbD4KbVbzcUZDyGv93F3F6jgTuxqxF9oZH29H/EZqeJD4KUGg68TdHf3ekQlmhdjh7odS7/1z1UgbCLuBWsn2MWonUafb9wjD+L4JxRfQZfo81hF/TNB9pMYP6TISrGy8D8GpwIUq3Uo8jvhDM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-59b5484fbe6so56515267b3.1 for ; Tue, 31 Oct 2023 09:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698769964; x=1699374764; 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=PbWjzZfqaZd8L/fr3LJ9kLPBDZ0IRatkiELJz58Aiok=; b=f3QX/QBYv+hOUyQgxZIobGIosbXbUJJm/a/C/6y0jd762tC9nv9CUa4/IR7d0HAGjG yorRQg7Z8J9S3oUatlAwCuLowLlxoHUU2YNuRDQBKP3H3uovnycf9G77nEqQWd2Zqehf moRYF4GNcetZOJhGgoIS/JSEHsoZDN4JNHGd/6drm1TOkY9FEjSbc3HpEmtNZrD8HHnw DfYLSeJDyPefPnBYzRsnIHC9Fczt+ryhTdcw7i0gvkUyqiaBWIpV+jNejhruC1ciWxlA N5NeQ3S+w3DBG9IiePHo5+WF3ughPZ1E9RHJxKEGv21z47fNdGiyyeprJmic4mVDs+3Y JcGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698769964; x=1699374764; 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=PbWjzZfqaZd8L/fr3LJ9kLPBDZ0IRatkiELJz58Aiok=; b=ncR/kO/V/FQIyzGsusoR5uVtXsKKxehTDEEF7pnR8a+kQDZl7DE1oCaE0fcLM1dAhE DLQvaZzhefAlHN9+542i5WphYYbENdiZ634ZOjDIDwg/8k3LT7mVQfYnDTP/j7Su9wr+ R/a0nhSZfeY6VFCXFiGyag2b2nVR1ibggLoSnNmtbEB4ojntD43kL0QEzV1rulO5cMzm KQj2NIU1k/pwb+1s10Jrmu2TFopWPFiFH7sjq8HUP0OA+PyibQzQqoeJFJDgLjkKehyR TmCveaH/dpS4QUHl8JHFovTCSELMciV+nHnUcjnX5Ekvwtv2ZNUZhEDP2C6loYP4RTH/ TaAg== X-Gm-Message-State: AOJu0YyLiBsjnk8/aGze2WcrgBH+6/4OcOr9FzIlyLho+COkTSQVSjWD 4Bmztd6Khjenh3fC0T7HC9gdgGWpIzW7WazPc6WCmA== X-Received: by 2002:a81:9ad2:0:b0:5a7:f002:4fe4 with SMTP id r201-20020a819ad2000000b005a7f0024fe4mr13502998ywg.23.1698769963694; Tue, 31 Oct 2023 09:32:43 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c0:3d3c:6c87:9be3:8cfc:976d]) by smtp.gmail.com with ESMTPSA id z76-20020a814c4f000000b0059f650f46b2sm1003638ywa.7.2023.10.31.09.32.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 09:32:42 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH v2 0/7] Updates from Linux 6.6 Date: Tue, 31 Oct 2023 13:32:32 -0300 Message-Id: <20231031163239.4020952-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-5.8 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, T_SCC_BODY_TEXT_LINE 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. Changes from v1: * Add MMAP_ABOVE4G for x86. * Fixed syscall-names.list. Adhemerval Zanella (7): Update syscall lists for Linux 6.6 Update kernel version to 6.6 in header constant tests linux: Add MMAP_ABOVE4G from Linux 6.6 to sys/mman.h 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 | 5 + 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 | 6 +- 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 +- sysdeps/unix/sysv/linux/x86/bits/mman.h | 1 + .../unix/sysv/linux/x86_64/64/arch-syscall.h | 2 + .../unix/sysv/linux/x86_64/x32/arch-syscall.h | 1 + 38 files changed, 122 insertions(+), 61 deletions(-)