summaryrefslogtreecommitdiff
path: root/src/shared/mount-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/mount-util.h')
-rw-r--r--src/shared/mount-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/mount-util.h b/src/shared/mount-util.h
index 089fd69e29..fa36dd7875 100644
--- a/src/shared/mount-util.h
+++ b/src/shared/mount-util.h
@@ -97,3 +97,5 @@ static inline char* umount_and_rmdir_and_free(char *p) {
return mfree(p);
}
DEFINE_TRIVIAL_CLEANUP_FUNC(char*, umount_and_rmdir_and_free);
+
+int bind_mount_in_namespace(pid_t target, const char *propagate_path, const char *incoming_path, const char *src, const char *dest, bool read_only, bool make_file_or_directory);