diff options
author | Krzesimir Nowak <knowak@microsoft.com> | 2024-01-23 10:44:23 +0100 |
---|---|---|
committer | Krzesimir Nowak <knowak@microsoft.com> | 2024-02-22 19:06:22 +0100 |
commit | 1927bcdc67fa620d5ae5a4b8b6974524263e34af (patch) | |
tree | d3e3abe9eb417a2c6d49f59e1200777240a3612e /src/shared/mount-util.h | |
parent | Merge pull request #31445 from keszybz/slow-tests (diff) | |
download | systemd-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.h | 1 |
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) { |