]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/mount-util.h
execute: split out mounting of credentials fs
[thirdparty/systemd.git] / src / shared / mount-util.h
index 7214cf1e52e61a9dce23952ce6cea12d9a06ae88..7ee6750044bca8e358409d2ad33af589bc07a821 100644 (file)
@@ -132,6 +132,15 @@ int remount_and_move_sub_mounts(
                 const char *options);
 int remount_sysfs(const char *where);
 
+int bind_mount_submounts(
+                const char *source,
+                const char *target);
+
 /* Creates a mount point (not parents) based on the source path or stat - ie, a file or a directory */
 int make_mount_point_inode_from_stat(const struct stat *st, const char *dest, mode_t mode);
 int make_mount_point_inode_from_path(const char *source, const char *dest, mode_t mode);
+
+int trigger_automount_at(int dir_fd, const char *path);
+
+unsigned long credentials_fs_mount_flags(bool ro);
+int mount_credentials_fs(const char *path, size_t size, bool ro);