]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/mount-util.h
nspawn: make sure idmapped logic works if DDI contains only /usr/ tree
[thirdparty/systemd.git] / src / shared / mount-util.h
index f06fd6de8c68ed1492b47602e93c11bc31ed3b48..ef311049008249b6aad7009a11d56ca089f6f6d0 100644 (file)
@@ -124,8 +124,8 @@ typedef enum RemountIdmapping {
 } RemountIdmapping;
 
 int make_userns(uid_t uid_shift, uid_t uid_range, uid_t owner, RemountIdmapping idmapping);
-int remount_idmap_fd(const char *p, int userns_fd);
-int remount_idmap(const char *p, uid_t uid_shift, uid_t uid_range, uid_t owner, RemountIdmapping idmapping);
+int remount_idmap_fd(char **p, int userns_fd);
+int remount_idmap(char **p, uid_t uid_shift, uid_t uid_range, uid_t owner, RemountIdmapping idmapping);
 
 int bind_mount_submounts(
                 const char *source,