]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include: add MOVE_MOUNT_SET_GROUP fallback
authorKarel Zak <kzak@redhat.com>
Tue, 10 Jan 2023 13:48:06 +0000 (14:48 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Jan 2023 13:48:06 +0000 (14:48 +0100)
Addresses: https://github.com/torvalds/linux/commit/9ffb14ef61bab83fa818736bf3e7e6b6e182e8e2
Signed-off-by: Karel Zak <kzak@redhat.com>
include/mount-api-utils.h

index fd65bfe74d3fbe1c5cef04653f87772c05db0284..ad29ff88ad64f694c4a88165073799857dc35f5e 100644 (file)
@@ -50,6 +50,10 @@ static inline int open_tree(int dfd, const char *filename, unsigned int flags)
 # define MOVE_MOUNT_T_EMPTY_PATH 0x00000040 /* Empty to path permitted */
 #endif
 
+#ifndef MOVE_MOUNT_SET_GROUP
+# define MOVE_MOUNT_SET_GROUP  0x00000100 /* Set sharing group instead */
+#endif
+
 #ifndef MOVE_MOUNT__MASK
 # define MOVE_MOUNT__MASK 0x00000077
 #endif