From patchwork Tue Oct 31 16:32:36 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: 739591 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp1744892wrt; Tue, 31 Oct 2023 09:33:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG8vacNtLd65HagUCkPg0aFhezi+ngA/lsOuWGxY1zhM7PMhK6DI0Vrq9la5LpAecr7wSVI X-Received: by 2002:ad4:5961:0:b0:656:51b9:990e with SMTP id eq1-20020ad45961000000b0065651b9990emr16070627qvb.57.1698770004862; Tue, 31 Oct 2023 09:33:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698770004; cv=pass; d=google.com; s=arc-20160816; b=glrSvtYwmHMj9aLWHHZ09/d/Mi/iq2Q8pwBLMQan7EPOvXb0T9ffR1f0gmbKRLs8Wo HFpp950ei3ZxJ2l0hgkk79BowhEH4NeGNXN29qvtWw8OFGyS5utsbnxHoSJEdbXImrpl gWjdf9t5WeGkp+ybrYiQzc1rD50NaSAWilziEIMDNe0I05/SeN/iAsLeY6lXb3XgUp4U qjnco6he5LfQjdCYSZzmneIIbNeFhbvmlESVZFxLGhGyQTEQdy8RiyTZugQWpK7a0scf +y/NMzqfwgKFcXqsNuLcnDXyatFu/+ANHfS9FKOK32IWsbbGKamoY52Z6KzcwX4XoAx/ aoXQ== 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=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=VJfjgeWpc7Z5+7jh1Lolo/V8manrZdCelgWiKe4ynWIbTeKgfQ52j3p+AoJcxAVdDR 9bPsRICxFUOZBZhdLyBNDa9F4mORrohKR3qaIY4Y9GXC8nUnvBpUuiqML5EZm4N8TOfS aHDpo+3C/eSWT3Kpr3S4CI+bSJJ6ZjZ7GYgXx7GKZF0nW2EX8rCSy6aCAp9k0kGpzP9Y bnEANWZiBecHAfAaIw/nOpEDVdaGvxDgXniwnA2HfS+zsEOpRwwAM1WDVqVFhl1DouA2 sypBE5W8rdLZ5kt3fqvcxm3a8kGEnbZcJgdaPFWDMeTTat3gGqiSRcyZSXRHVmeXpofi m8dA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BAohqTc3; 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 s4-20020a05620a29c400b0076d763ffd49si1455584qkp.66.2023.10.31.09.33.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 09:33:24 -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=BAohqTc3; 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 7EC04385B53C for ; Tue, 31 Oct 2023 16:33:20 +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 025F3385842E for ; Tue, 31 Oct 2023 16:32:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 025F3385842E 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 025F3385842E 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=1698769973; cv=none; b=XJjxypbT4IYaHGnaWMtFXJfSbeh1EjorlCKhj17+MO+Zn0ed/8/w0gVlmHKqCrkismTKxRJdWY01pyeyhnHxkbjznf3aYbV+9YZzqlS0kC0orV0vDzdEts7vOt4cFv8Pe1D6R9qOge7n8ZKbBWPZZTB8yvFmNXQAMxQy8LwQ4Us= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698769973; c=relaxed/simple; bh=W2JeisRiDunqTh6UGWwDNcmqiHXNFDUbR5o8JSelvi0=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=ScwO5ZI8Vx+FBbQ64mgWnqcVvAdz3Fe4tvtX6BICvwpRlsMvIEeItxHLLgalrhP9kmZCG5DhLnNC2igdfE5SGILwvCGuOPn/etW/Y9mg2vNe4yE+Jm0v6F4M5cNVyNx0bm5WYe87V618shpr7AaxfCN9PkatLcohqVC0Wi5DEyw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-5a8ada42c2aso58165017b3.3 for ; Tue, 31 Oct 2023 09:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698769971; x=1699374771; 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=BAohqTc3d4ujU/C8g4V6b3TvKtaXJAnxD3MqbJY1jZhpqXnMg9RRoO0cWC2IHNktNn Y5fJfxeuI+o2dS4HUzDa6vyMLDoNQgwbjrN+iKYwCZMTNR+2CmePZfLEVxYqji0rMFxm 6XXJEhkEBteLzsle9j0hGLAPapqSGdoEMDXKfHxRji5B/d8vQ4EBPNDAMEaYqaqpFs59 qD2NniBS6QvSNKruhvy8CLv2DPRipKgkKQ+aGt2opXaodMv6Ibj93MT0KASMSyP1X4/W nq+WP4soBDqimZynu5md2zJpIRiF5X1X5gGDyshIdj9CU0lsrpulVyVJrERyIES7+Y+q Nyvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698769971; x=1699374771; 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=C6AiSeFOykHOmdwYwwOyI11dNuxu2liRwKX5AsLE2ButXzXwCOTAGhGGW99enpgE+X lVSq/6qPH35n8toT4QHRrnSpLQTtopuib8hf5BVhZGtIUty2o32zGRSOmnSFLd3PTh6P +jtUVemvkalCUMXwcPPVhPRl+VEx7WMv/ry1HAtZ4Wt0lyuSiz7NXdc78+D5QnM5jqbq XIg+HEf9uxUDYa/trpSy4cC5lKWizryXsqLBY4HYx6B9o6S4l4L6IBSbgfkapi4CRsMQ rKrOshg/HXpr8GxKa0tY54ABgn2ewf4s/XzNXOkIDfx2HdiIPDlvR36cdYWejs/fsX81 a0hw== X-Gm-Message-State: AOJu0YwimwONTvDdnYqq0vg6VwNjQcUoOEPygdmmyPVpboF2yNHW5q/D C7kRx52Z4vm263msLiPHutPgN1pNVau+BaIsuFGQHw== X-Received: by 2002:a81:a749:0:b0:595:be7:a38 with SMTP id e70-20020a81a749000000b005950be70a38mr12694768ywh.49.1698769970681; Tue, 31 Oct 2023 09:32:50 -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.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 09:32:49 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH v2 4/7] linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h Date: Tue, 31 Oct 2023 13:32:36 -0300 Message-Id: <20231031163239.4020952-5-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231031163239.4020952-1-adhemerval.zanella@linaro.org> References: <20231031163239.4020952-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.6 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, T_SCC_BODY_TEXT_LINE 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