From: Karel Zak Date: Tue, 10 Jan 2023 13:48:06 +0000 (+0100) Subject: include: add MOVE_MOUNT_SET_GROUP fallback X-Git-Tag: v2.39-rc1~170 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92ba5cb2ee3100456b293e034e227c4187e6b6e3;p=thirdparty%2Futil-linux.git include: add MOVE_MOUNT_SET_GROUP fallback Addresses: https://github.com/torvalds/linux/commit/9ffb14ef61bab83fa818736bf3e7e6b6e182e8e2 Signed-off-by: Karel Zak --- diff --git a/include/mount-api-utils.h b/include/mount-api-utils.h index fd65bfe74d..ad29ff88ad 100644 --- a/include/mount-api-utils.h +++ b/include/mount-api-utils.h @@ -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