]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/mount-util.h
mount-util: introduce remount_sysfs()
[thirdparty/systemd.git] / src / shared / mount-util.h
index 7554bf828e123f0595738154a253f4dd6f497adc..84ea4b6392773f388e132b7f0c5f877ccd1c9043 100644 (file)
@@ -105,6 +105,14 @@ typedef enum RemountIdmapping {
 
 int remount_idmap(const char *p, uid_t uid_shift, uid_t uid_range, uid_t owner, RemountIdmapping idmapping);
 
+int remount_and_move_sub_mounts(
+                const char *what,
+                const char *where,
+                const char *type,
+                unsigned long flags,
+                const char *options);
+int remount_sysfs(const char *where);
+
 /* 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);