summaryrefslogtreecommitdiffstats
path: root/src/shared/mount-util.h
diff options
context:
space:
mode:
authorKrzesimir Nowak <knowak@microsoft.com>2024-01-23 10:44:23 +0100
committerKrzesimir Nowak <knowak@microsoft.com>2024-02-22 19:06:22 +0100
commit1927bcdc67fa620d5ae5a4b8b6974524263e34af (patch)
treed3e3abe9eb417a2c6d49f59e1200777240a3612e /src/shared/mount-util.h
parentMerge pull request #31445 from keszybz/slow-tests (diff)
downloadsystemd-1927bcdc67fa620d5ae5a4b8b6974524263e34af.tar.xz
systemd-1927bcdc67fa620d5ae5a4b8b6974524263e34af.zip
mount-util: Add a helper for remounting a bind mount
Diffstat (limited to 'src/shared/mount-util.h')
-rw-r--r--src/shared/mount-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/mount-util.h b/src/shared/mount-util.h
index 2f9f394ab0..26d96b27b7 100644
--- a/src/shared/mount-util.h
+++ b/src/shared/mount-util.h
@@ -26,6 +26,7 @@ static inline int bind_remount_recursive(const char *prefix, unsigned long new_f
}
int bind_remount_one_with_mountinfo(const char *path, unsigned long new_flags, unsigned long flags_mask, FILE *proc_self_mountinfo);
+int bind_remount_one(const char *path, unsigned long new_flags, unsigned long flags_mask);
int mount_switch_root_full(const char *path, unsigned long mount_propagation_flag, bool force_ms_move);
static inline int mount_switch_root(const char *path, unsigned long mount_propagation_flag) {