From patchwork Mon Oct 30 21:32:40 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: 739295 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp1341442wrt; Mon, 30 Oct 2023 14:33:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHLj+sK81mPD/9lDj8TuCktRV7/jRmJ7jAWaQDqUWp/QY8TdBUwl2QUWXtOrzUDGPTX3tVI X-Received: by 2002:aca:1b07:0:b0:3ab:84f0:b491 with SMTP id b7-20020aca1b07000000b003ab84f0b491mr12130478oib.19.1698701586917; Mon, 30 Oct 2023 14:33:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698701586; cv=pass; d=google.com; s=arc-20160816; b=uNcfePwZ+wWc40SQYZgJPCqbnpCfCO/FH3G7EWKHy/slp83tWfLrjTQjTjrdvJrLYY lhY9B48zSK+vI24bueFQxMDUqjZvSFa98nluYm/jysy+2F7N6z/G6GES7g3PIM7POpe2 f1flPU84KT2jooBxuO9lb95LFcWug1GPhTIA/esGtLlyX541EA5i+bqTG9/Awl9KINT4 vKurDwLY8DoYmzHrdFxUC1+40rpoOB5ebHnfDK6zgl5h/5rn17RS1jmqGQbIqVj5JGGi BFSydsObAg/OJiB+/10NhO5ICadGqZvvg+B0yFtJmlFjuLHojXw9v0A4ZBxBZAFPCejd Z0+A== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=9mxGNjbjuThfHVmEfLwSiG+dcAXH6EbK0c4exW5YsXU=; fh=x+/sfya+TES1qlBiDsEdYFy6khw7IV+tu17R0mskoJ0=; b=spjtnkBnQsLNbWxBwmTw2GYmRA+eNHf639MXqJdIu497/dQChQaxeh0m9HUiWCJOYe hkf6wznmJfHjEc5lhswMihuCV5tutaCf0xXFyLAui71SmuK7E/d8G0TLTF20wygmUSZM QfJ+ObDdo1tdsVdKGfu+5CcAz/2u/mFGkKULxOphhrY/JJTN0OrUGrNN9Qt97puiGMKD ldeJNiXmj5CYLchaBEZ9xW0BryrMZ8dINxOQROyNLfp9kX8nogzYRC0lf/4/uNeyarA3 pZ0CerBTJ1oWFWFxKUMf+wVizIZ4IStNEK/xMV8LnC8BKhVd/yIytiJQc1OuPV1vLipC ynZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AeUKjCNB; 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 q10-20020a05620a0d8a00b00778b2ed7e06si6539026qkl.84.2023.10.30.14.33.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 14:33:06 -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=AeUKjCNB; 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 8F568385841B for ; Mon, 30 Oct 2023 21:33:06 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by sourceware.org (Postfix) with ESMTPS id A3A9B3858D28 for ; Mon, 30 Oct 2023 21:32:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A3A9B3858D28 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 A3A9B3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::112c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698701579; cv=none; b=lIRv8L5eXq8jIFHLqxpjFHCf8uysEEXQk4bE5vgmqMYH4SMIVnnwoWvDD49ceUxAHJbGE3HkN+s8mhoOHriMpltczTGS6yZ8JGdKSi1dFj6n1wPzQ2ldg1jzSo5KS4Fy39vsqTa8YBdC+6ieHTou3y9RHcI8s+EeQyzjS3jKcXo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698701579; c=relaxed/simple; bh=6l1OIpBwqsnwlBZ82v3j+TIMU1gmR4HBopHHetsp1ac=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=H8oPJXXNX54+aD7fNVD6gFWLXDcztcT0LX+Uuw+6vbbpeajWgSJuWQPRtGstPlmIFRKNwG9WCnrbGoY9BhE8ILDWSwc49rcBkwtcHTDJwSRTPsuktaqSp3+8EcJB6K1JvN7lXOEy3YHrtyoJhrqlmq8OR8/6DLj1n3q7mrbKgkk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-5a87ac9d245so47616567b3.3 for ; Mon, 30 Oct 2023 14:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698701571; x=1699306371; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=9mxGNjbjuThfHVmEfLwSiG+dcAXH6EbK0c4exW5YsXU=; b=AeUKjCNBlkxUZUrzRuuTyl2OtOQkiE51hmPv86PJDm0pw3cNlIDP6Wdeoc9OyZ+m9W Soi1uz/Gdf/mqJ3d5UqJeFmEyOV15GhhYHNGUBXaRv2IUTfMyLGBcOaNnTPje7nrtDej T3EHQzocXn7IwJhorMDmixyG2kyVIMqfypWHWzqMoGcjVEv6vXAJL9bRGeJvofwi5vST nqAJe7Q2pEQl4pRtb6PnUJrKXGhQRGc6hXjyLC8+XjNYKID5eTHWBz0CJEzzvxEK0iz9 clgbhUW1H/XuyMcUgaMeCVkbAH7znHrUAyLxlYfKBAEmCFCJ/eePbHo8abCeNTmpZrn7 vCEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698701571; x=1699306371; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9mxGNjbjuThfHVmEfLwSiG+dcAXH6EbK0c4exW5YsXU=; b=HSQtvxVTK/iizf+tJHDW7GDJcdZVR53bUxZlQVuF5oUjCJPx92Bu+Fsjz7ihy6XhK0 /uap6IJn9Yo2+uNXnHQaLOCtnsfJP/2izv7T8yExVX8l66VwbvrJpCN+5UZPPz6P5szf zgeo4Auts9R6UPbPGStgedeOtrmsYl/F+hxUDJlCqidCm+TxptpPyJQXGQuhcq1g7wOd i16Y+Oztb9KZIRCDQz3GYF5qz+yNrCIDjvvhU7kMax0oAzhZwTqg8kBxGTDwn46o5U3b PtHAcqtxkwiqqfc4TTlaFvfUzZYfWrHpxpTLHculbzIKbSbObcF2MnJKFvLMpyVzzGUN HOdA== X-Gm-Message-State: AOJu0Yy8zXI9/FAHHB7SVs2GjNZj1IE6t4ysQHLbFpigBz76XNlJxIyx eFDLpe1M7kdcWvxgoEHmBiqvXFSMZub+ikblhyfbjA== X-Received: by 2002:a81:af4d:0:b0:5a8:7cb2:15d0 with SMTP id x13-20020a81af4d000000b005a87cb215d0mr9473344ywj.11.1698701571064; Mon, 30 Oct 2023 14:32:51 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 14:32:50 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org, Joseph Myers Subject: [PATCH 1/6] Update syscall lists for Linux 6.6 Date: Mon, 30 Oct 2023 18:32:40 -0300 Message-Id: <20231030213245.2626895-2-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231030213245.2626895-1-adhemerval.zanella@linaro.org> References: <20231030213245.2626895-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 Linux 6.5 has one new syscall for all architectures, fchmodat2, and the map_shadow_stack on x86_64. --- sysdeps/unix/sysv/linux/aarch64/arch-syscall.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/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/loongarch/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/m68k/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/microblaze/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h | 1 + sysdeps/unix/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 + sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/sh/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/syscall-names.list | 2 ++ sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h | 2 ++ sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h | 1 + 28 files changed, 30 insertions(+) diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h index 8f21ee66a0..746991aa2f 100644 --- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h @@ -44,6 +44,7 @@ #define __NR_fchdir 50 #define __NR_fchmod 52 #define __NR_fchmodat 53 +#define __NR_fchmodat2 452 #define __NR_fchown 55 #define __NR_fchownat 54 #define __NR_fcntl 25 diff --git a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h index c5802a5fec..32efe51267 100644 --- a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h @@ -56,6 +56,7 @@ #define __NR_fchdir 13 #define __NR_fchmod 124 #define __NR_fchmodat 461 +#define __NR_fchmodat2 562 #define __NR_fchown 123 #define __NR_fchownat 453 #define __NR_fcntl 92 diff --git a/sysdeps/unix/sysv/linux/arc/arch-syscall.h b/sysdeps/unix/sysv/linux/arc/arch-syscall.h index f23f9e1154..1d2879e877 100644 --- a/sysdeps/unix/sysv/linux/arc/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arc/arch-syscall.h @@ -48,6 +48,7 @@ #define __NR_fchdir 50 #define __NR_fchmod 52 #define __NR_fchmodat 53 +#define __NR_fchmodat2 452 #define __NR_fchown 55 #define __NR_fchownat 54 #define __NR_fcntl64 25 diff --git a/sysdeps/unix/sysv/linux/arm/arch-syscall.h b/sysdeps/unix/sysv/linux/arm/arch-syscall.h index 7edf574899..6711981e78 100644 --- a/sysdeps/unix/sysv/linux/arm/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arm/arch-syscall.h @@ -64,6 +64,7 @@ #define __NR_fchdir 133 #define __NR_fchmod 94 #define __NR_fchmodat 333 +#define __NR_fchmodat2 452 #define __NR_fchown 95 #define __NR_fchown32 207 #define __NR_fchownat 325 diff --git a/sysdeps/unix/sysv/linux/csky/arch-syscall.h b/sysdeps/unix/sysv/linux/csky/arch-syscall.h index d74a06e063..92d9a703ea 100644 --- a/sysdeps/unix/sysv/linux/csky/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/csky/arch-syscall.h @@ -50,6 +50,7 @@ #define __NR_fchdir 50 #define __NR_fchmod 52 #define __NR_fchmodat 53 +#define __NR_fchmodat2 452 #define __NR_fchown 55 #define __NR_fchownat 54 #define __NR_fcntl64 25 diff --git a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h index 5568b94cd3..fbac124b70 100644 --- a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h @@ -63,6 +63,7 @@ #define __NR_fchdir 133 #define __NR_fchmod 94 #define __NR_fchmodat 286 +#define __NR_fchmodat2 452 #define __NR_fchown 95 #define __NR_fchownat 278 #define __NR_fcntl 55 diff --git a/sysdeps/unix/sysv/linux/i386/arch-syscall.h b/sysdeps/unix/sysv/linux/i386/arch-syscall.h index 3af21a15cb..8961788a96 100644 --- a/sysdeps/unix/sysv/linux/i386/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/i386/arch-syscall.h @@ -67,6 +67,7 @@ #define __NR_fchdir 133 #define __NR_fchmod 94 #define __NR_fchmodat 306 +#define __NR_fchmodat2 452 #define __NR_fchown 95 #define __NR_fchown32 207 #define __NR_fchownat 298 diff --git a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h index 39b270e642..1ef762d693 100644 --- a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h @@ -55,6 +55,7 @@ #define __NR_fchdir 1035 #define __NR_fchmod 1099 #define __NR_fchmodat 1292 +#define __NR_fchmodat2 1476 #define __NR_fchown 1100 #define __NR_fchownat 1284 #define __NR_fcntl 1066 diff --git a/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h b/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h index fdefe8bb6f..3664e6f7c8 100644 --- a/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h @@ -44,6 +44,7 @@ #define __NR_fchdir 50 #define __NR_fchmod 52 #define __NR_fchmodat 53 +#define __NR_fchmodat2 452 #define __NR_fchown 55 #define __NR_fchownat 54 #define __NR_fcntl 25 diff --git a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h index 315e49cd33..2053d5d392 100644 --- a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h @@ -67,6 +67,7 @@ #define __NR_fchdir 133 #define __NR_fchmod 94 #define __NR_fchmodat 299 +#define __NR_fchmodat2 452 #define __NR_fchown 95 #define __NR_fchown32 207 #define __NR_fchownat 291 diff --git a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h index 54af12780c..6865b1693c 100644 --- a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h @@ -67,6 +67,7 @@ #define __NR_fchdir 133 #define __NR_fchmod 94 #define __NR_fchmodat 306 +#define __NR_fchmodat2 452 #define __NR_fchown 95 #define __NR_fchown32 207 #define __NR_fchownat 298 diff --git a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h index a2aa1ffa1b..b13ace8e1c 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h @@ -67,6 +67,7 @@ #define __NR_fchdir 4133 #define __NR_fchmod 4094 #define __NR_fchmodat 4299 +#define __NR_fchmodat2 4452 #define __NR_fchown 4095 #define __NR_fchownat 4291 #define __NR_fcntl 4055 diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h index 5bec858040..b7a7c0dfa7 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h @@ -64,6 +64,7 @@ #define __NR_fchdir 6079 #define __NR_fchmod 6089 #define __NR_fchmodat 6262 +#define __NR_fchmodat2 6452 #define __NR_fchown 6091 #define __NR_fchownat 6254 #define __NR_fcntl 6070 diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h index 0166371ee2..e5d7f91f48 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h @@ -59,6 +59,7 @@ #define __NR_fchdir 5079 #define __NR_fchmod 5089 #define __NR_fchmodat 5258 +#define __NR_fchmodat2 5452 #define __NR_fchown 5091 #define __NR_fchownat 5250 #define __NR_fcntl 5070 diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h index 29a4cfa988..89950cc33a 100644 --- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h @@ -49,6 +49,7 @@ #define __NR_fchdir 50 #define __NR_fchmod 52 #define __NR_fchmodat 53 +#define __NR_fchmodat2 452 #define __NR_fchown 55 #define __NR_fchownat 54 #define __NR_fcntl64 25 diff --git a/sysdeps/unix/sysv/linux/or1k/arch-syscall.h b/sysdeps/unix/sysv/linux/or1k/arch-syscall.h index f5a3729663..4c07d9c204 100644 --- a/sysdeps/unix/sysv/linux/or1k/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/or1k/arch-syscall.h @@ -49,6 +49,7 @@ #define __NR_fchdir 50 #define __NR_fchmod 52 #define __NR_fchmodat 53 +#define __NR_fchmodat2 452 #define __NR_fchown 55 #define __NR_fchownat 54 #define __NR_fcntl64 25 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h index 3a212a0269..64683bcb76 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h @@ -66,6 +66,7 @@ #define __NR_fchdir 133 #define __NR_fchmod 94 #define __NR_fchmodat 297 +#define __NR_fchmodat2 452 #define __NR_fchown 95 #define __NR_fchownat 289 #define __NR_fcntl 55 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h index 1038ead227..af1bbf32e8 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h @@ -60,6 +60,7 @@ #define __NR_fchdir 133 #define __NR_fchmod 94 #define __NR_fchmodat 297 +#define __NR_fchmodat2 452 #define __NR_fchown 95 #define __NR_fchownat 289 #define __NR_fcntl 55 diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h index 57b043ffb5..56e3088cbf 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h @@ -43,6 +43,7 @@ #define __NR_fchdir 50 #define __NR_fchmod 52 #define __NR_fchmodat 53 +#define __NR_fchmodat2 452 #define __NR_fchown 55 #define __NR_fchownat 54 #define __NR_fcntl64 25 diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h index 1041a0f8c9..508161b47a 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h @@ -44,6 +44,7 @@ #define __NR_fchdir 50 #define __NR_fchmod 52 #define __NR_fchmodat 53 +#define __NR_fchmodat2 452 #define __NR_fchown 55 #define __NR_fchownat 54 #define __NR_fcntl 25 diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h index 70d4c6782e..1498ebf42e 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h @@ -65,6 +65,7 @@ #define __NR_fchdir 133 #define __NR_fchmod 94 #define __NR_fchmodat 299 +#define __NR_fchmodat2 452 #define __NR_fchown 95 #define __NR_fchown32 207 #define __NR_fchownat 291 diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h index 65a8a9e316..624d71b56d 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h @@ -56,6 +56,7 @@ #define __NR_fchdir 133 #define __NR_fchmod 94 #define __NR_fchmodat 299 +#define __NR_fchmodat2 452 #define __NR_fchown 207 #define __NR_fchownat 291 #define __NR_fcntl 55 diff --git a/sysdeps/unix/sysv/linux/sh/arch-syscall.h b/sysdeps/unix/sysv/linux/sh/arch-syscall.h index 94aad0f119..37211f5f8c 100644 --- a/sysdeps/unix/sysv/linux/sh/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sh/arch-syscall.h @@ -64,6 +64,7 @@ #define __NR_fchdir 133 #define __NR_fchmod 94 #define __NR_fchmodat 306 +#define __NR_fchmodat2 452 #define __NR_fchown 95 #define __NR_fchown32 207 #define __NR_fchownat 298 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h index d630306c75..8093abcc9c 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h @@ -66,6 +66,7 @@ #define __NR_fchdir 176 #define __NR_fchmod 124 #define __NR_fchmodat 295 +#define __NR_fchmodat2 452 #define __NR_fchown 123 #define __NR_fchown32 32 #define __NR_fchownat 287 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h index 930f29b4d2..d25ccfb571 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h @@ -60,6 +60,7 @@ #define __NR_fchdir 176 #define __NR_fchmod 124 #define __NR_fchmodat 295 +#define __NR_fchmodat2 452 #define __NR_fchown 123 #define __NR_fchownat 287 #define __NR_fcntl 92 diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list index cf6f70ecd9..52d5948d84 100644 --- a/sysdeps/unix/sysv/linux/syscall-names.list +++ b/sysdeps/unix/sysv/linux/syscall-names.list @@ -117,6 +117,7 @@ fanotify_mark fchdir fchmod fchmodat +fchmodat2 fchown fchown32 fchownat @@ -246,6 +247,7 @@ lsetxattr lstat lstat64 madvise +map_shadow_stack mbind membarrier memfd_create diff --git a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h index 58646cf0bd..5e4c9e901c 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h @@ -59,6 +59,7 @@ #define __NR_fchdir 81 #define __NR_fchmod 91 #define __NR_fchmodat 268 +#define __NR_fchmodat2 452 #define __NR_fchown 93 #define __NR_fchownat 260 #define __NR_fcntl 72 @@ -153,6 +154,7 @@ #define __NR_lsetxattr 189 #define __NR_lstat 6 #define __NR_madvise 28 +#define __NR_map_shadow_stack 453 #define __NR_mbind 237 #define __NR_membarrier 324 #define __NR_memfd_create 319 diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h index 604bcdfa5b..dd5e196272 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h @@ -55,6 +55,7 @@ #define __NR_fchdir 1073741905 #define __NR_fchmod 1073741915 #define __NR_fchmodat 1073742092 +#define __NR_fchmodat2 1073742276 #define __NR_fchown 1073741917 #define __NR_fchownat 1073742084 #define __NR_fcntl 1073741896