summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn-mount.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-30 12:48:17 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-30 12:48:17 +0200
commit403af78c8049358496ec10920b3aaf741056daf9 (patch)
tree020b2f65bbc4eef958be5a914e096cfe12440113 /src/nspawn/nspawn-mount.h
parentdb3b1dedb27b631f6685eda394977249804966c6 (diff)
nspawn: fix user namespace support
We didn#t actually pass ownership of /run to the UID in the container since some releases, let's fix that.
Diffstat (limited to 'src/nspawn/nspawn-mount.h')
-rw-r--r--src/nspawn/nspawn-mount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn-mount.h b/src/nspawn/nspawn-mount.h
index 5abd44cc4b..da4986add0 100644
--- a/src/nspawn/nspawn-mount.h
+++ b/src/nspawn/nspawn-mount.h
@@ -57,7 +57,7 @@ int tmpfs_mount_parse(CustomMount **l, unsigned *n, const char *s);
int custom_mount_compare(const void *a, const void *b);
-int mount_all(const char *dest, bool userns, uid_t uid_shift, uid_t uid_range, const char *selinux_apifs_context);
+int mount_all(const char *dest, bool use_userns, bool in_userns, uid_t uid_shift, uid_t uid_range, const char *selinux_apifs_context);
int mount_cgroups(const char *dest, bool unified_requested, bool userns, uid_t uid_shift, uid_t uid_range, const char *selinux_apifs_context);
int mount_systemd_cgroup_writable(const char *dest, bool unified_requested);