From patchwork Mon Oct 30 21:32:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 739296 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp1341483wrt; Mon, 30 Oct 2023 14:33:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEKNQ7XGzfCyJVtT0dayfGiMhwLGLOdzQoiXIJTEmfMDDO1ouiPswPY+laOwVQoyQ/TDTEG X-Received: by 2002:a05:6808:14d0:b0:3b2:f363:bbc9 with SMTP id f16-20020a05680814d000b003b2f363bbc9mr13232781oiw.53.1698701594827; Mon, 30 Oct 2023 14:33:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698701594; cv=pass; d=google.com; s=arc-20160816; b=UY36Dsm9/KvSQSlDX1hCDhKNdyojdTmDdVME4eXNGLkaxMykiwS8Zk05ooK+LTHLby bNVnDEA1N0e2hmr7NctbwgXG7EDgEQMZZptNe6fMAsVLPCu5usKMHvevB1Dq0A8D3RVJ xZopqUhjBFK5FuMrT/LpfYYUlUWHthJQSOLLbXI6FjcxlFejnmh56cItIiCCrsMcsy2r dnfb6c2NpBQSoOMkeSGGQUdE5I17pkt7c0Pgi/+KsUTWgMtnavJek1SplZTjPG7xamT0 g2jtx40DUxbFveyU1Jmw6ovYwAer59rScn5URG82jqnki8cYtUP7+RKqerNbSRW+YKc7 XI/w== 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=8uTrA61A+usaiYz+Y9VvvbYq1hEP5GMnt1gHxoYDtJI=; fh=x+/sfya+TES1qlBiDsEdYFy6khw7IV+tu17R0mskoJ0=; b=0ZT0bibcgnzUzswVDkaUCmj31mxiYJvjYJYmMC9zHbNQuuFTVtbMARbGLNHHFWEbXF 9DRey7S6DuiR2L/p/+lq6+4H2mbtu5YPD+aWFRPY3YNo88L1BMywsMS0vmUW3TJoSLi3 ZURzHFeL4Zv+2mPKTPWFfI4QFILWckry2E7Vl8S0NCnpwO8RQQ6LJ59JfkCnWnlIIe6O ex1NP0oUanlSv6SJPvqCL0c55gsCBFRPLbu0fpPx5HO1TxrEWcrNpsaw/HhlNZcImmo3 GUQCP38xMjJmeTQcajOm04qvYK354DkG3wEYPBvsrpE2YK98THyvWUnIwXaUi8f2u7dX tAbA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ajtpeL90; 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 j25-20020a37ef19000000b00767b3a5d245si6335214qkk.125.2023.10.30.14.33.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 14:33:14 -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=ajtpeL90; 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 7ACA2385840D for ; Mon, 30 Oct 2023 21:33:14 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by sourceware.org (Postfix) with ESMTPS id 89AE73858D33 for ; Mon, 30 Oct 2023 21:32:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 89AE73858D33 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 89AE73858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::112d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698701579; cv=none; b=B06qHTiXGn1RdUeex8aDewWHwn34yXRlFtlVtseZgMRSrkNsxbuSpSAsjkClYfo6ByI30820XRXGqdDG++/UlpfF4UxuBB9TFfCSDpsW4ymXg+/COgPsLOJA9za6FTDAdPGmcg8KTH2E1fXwR5PoTSNhbgw9ewtYCxn8/lHZn68= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698701579; c=relaxed/simple; bh=W2JeisRiDunqTh6UGWwDNcmqiHXNFDUbR5o8JSelvi0=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=GzzOU6YY/sViBN/KII6r89kNxcRIbyNv4WfnFNalv0RK8Q3kkAPS6RllfKwIsW6jQf7JNfasKIxvQygi/i2WKYMGCB7+6F4BKiWzbH8n3fQ5YJQSAjmxo9ejr72xq1Hgq0LawqTk2S9S5mIO/0rGZwF5tp1xEavfnNyWCLnmFO8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-5afbdbf3a19so35149327b3.2 for ; Mon, 30 Oct 2023 14:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698701574; x=1699306374; 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=8uTrA61A+usaiYz+Y9VvvbYq1hEP5GMnt1gHxoYDtJI=; b=ajtpeL90MMY8uqcV+wUviGoDugJ8hhgB+xG+nDtVJO1e+ENsuMeRnQMUOnua2GvNNG c9bneOHK9yhWMrR8kuJtL8f3Uq/EMqawWN0yi9CNJ/YakfuV1fyKaDmrgGcvXEh8B7bs 5ztcTUxUL+N2D4wIOW0s2bdPy6dQ5WVBotgAZU6fbQQr3yClkWGonknxOEm5ir0pm/8S HZAq9SlYV5W/md8kghrNzO61z2z4CKY8KNgcSP+NJ9XQ3FwShP5394bM1Y4HyhHKpCjn hlKFFLZSpNiLp1cjj7MAZPYA2/JVTcNsIdEo4FTNM40f2lmAyQIayS5Gd6rHWtbDHXPi h6Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698701574; x=1699306374; 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=8uTrA61A+usaiYz+Y9VvvbYq1hEP5GMnt1gHxoYDtJI=; b=obsjH1tqhA9aWTOGax5yPc3FdGygAdoiQG/+8h7RglFIBkVqKRwEFBtQpbDfw4kZYy ScWR65lQ2/2AO3Fqenclp8d0+KTZKve1dwzWXLKnmifMjNLeivjcgI8/7sBwiKQYS7xy W7hB0ql3A9kgvbwxnJ24UheyHs+LW/VBxW8a3uxAuxRReoMjE3xyO8aA3koBYVlDNDbz irzJGJsLpg+DqdBKGH/RuRt5o17jlP4gS8N8q2IwV+QXakyqC9NY9kcZw9U1zSOKLwMF h9qGEKCnI0BvwDOpx9WqRROCxgBgk+9CKiHUtn+IMRx8PGbfLXDm3hISnCcbdJdW5N3B AvPQ== X-Gm-Message-State: AOJu0YxbPFMZsV+egvwFR5x1c2abzqyxBVwKdl1yv2/nXsbJ8ymMiz32 cwmZep7xo6+gceDSilSR+ZBdwQSuVrGileAxUVARNw== X-Received: by 2002:a81:9ad2:0:b0:5a7:f002:4fe4 with SMTP id r201-20020a819ad2000000b005a7f0024fe4mr11153293ywg.23.1698701574459; Mon, 30 Oct 2023 14:32:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 14:32:53 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org, Joseph Myers Subject: [PATCH 3/6] linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h Date: Mon, 30 Oct 2023 18:32:42 -0300 Message-Id: <20231030213245.2626895-4-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.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 The tst-mount-consts.py does not need to be updated because kernel exports it as an enum (compare_macro_consts can not parse it). --- sysdeps/unix/sysv/linux/sys/mount.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h index a692c0e092..db0ac7a8a4 100644 --- a/sysdeps/unix/sysv/linux/sys/mount.h +++ b/sysdeps/unix/sysv/linux/sys/mount.h @@ -256,6 +256,8 @@ enum fsconfig_command # define FSCONFIG_CMD_CREATE FSCONFIG_CMD_CREATE FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */ # define FSCONFIG_CMD_RECONFIGURE FSCONFIG_CMD_RECONFIGURE + FSCONFIG_CMD_CREATE_EXCL = 8, /* Create new superblock, fail if reusing existing superblock */ +# define FSCONFIG_CMD_CREATE_EXCL FSCONFIG_CMD_CREATE_EXCL }; #endif