From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id E2B323857725; Fri, 3 Nov 2023 13:02:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E2B323857725 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699016556; bh=nPfs904w0AMHk9sNwSCJoSbla0UEU3NWAkvYXtQ0yc0=; h=From:To:Subject:Date:From; b=ItpLeLBKh04TkZ6O4LC7YA95REpxq5xUQMK5y6SkEpidNPq7A4udiLxAisJsIgLYl zU2qiAowPSFDVY09XKvNN1ltrQ42cGHiGkEOq3HxC7Xk7QLOkUjSv3HC1eKca6rr25 +nxvSzt+RNorPWHOBYVYxymOz5Pti4bMqI3BwqN0= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/master X-Git-Oldrev: cb8c78b2ffa0b77ae453b2d328d7e2fe5186ef2a X-Git-Newrev: 10b4c8b96fe0602ab5acb1d92bd5ce451803071b Message-Id: <20231103130236.E2B323857725@sourceware.org> Date: Fri, 3 Nov 2023 13:02:36 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=10b4c8b96fe0602ab5acb1d92bd5ce451803071b commit 10b4c8b96fe0602ab5acb1d92bd5ce451803071b Author: Adhemerval Zanella Date: Tue Oct 31 13:32:36 2023 -0300 linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h 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). Diff: --- 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