summaryrefslogtreecommitdiff
path: root/src/basic/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-17 15:12:15 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-17 15:12:15 +0200
commitf90c90b4a17e75bdceb5ee2a656910cc1ca63f9a (patch)
treec0ed59c1b51b9ba921d6789c6ef06136b19cdb4f /src/basic/util.h
parentaaa2a3abf9b3f027918b60fe0d0340fcd4874291 (diff)
parent671c34195896e89f935d842b13f52a748bd8a5b4 (diff)
Merge pull request #977 from richardmaw-codethink/machinectl-userns-login-v2
Fix machinectl login with containers in user namespaces (v2)
Diffstat (limited to 'src/basic/util.h')
-rw-r--r--src/basic/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/util.h b/src/basic/util.h
index 098f9edcc1..8f21d56ed8 100644
--- a/src/basic/util.h
+++ b/src/basic/util.h
@@ -803,8 +803,8 @@ int get_proc_cmdline_key(const char *parameter, char **value);
int container_get_leader(const char *machine, pid_t *pid);
-int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *root_fd);
-int namespace_enter(int pidns_fd, int mntns_fd, int netns_fd, int root_fd);
+int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *userns_fd, int *root_fd);
+int namespace_enter(int pidns_fd, int mntns_fd, int netns_fd, int userns_fd, int root_fd);
int getpeercred(int fd, struct ucred *ucred);
int getpeersec(int fd, char **ret);