diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-17 01:03:09 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-17 01:05:37 +0100 |
commit | a4475f577bd0daf762d6c3b4e58bc484e0cb74af (patch) | |
tree | 5dca2abf91be82c72179b9f0ba745d32d4fdc85f /src/shared/util.h | |
parent | d003f514dab2dbf1a66e11800a50aeaf039d036c (diff) |
bus: when entering an existing namespace to connect to a container's system bus also switch over PID namespace
This is necessary to ensure that kdbus can collect creds of the
destination namespace when connecting.
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index 6fc77808d4..57689e9cf3 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -793,5 +793,5 @@ int proc_cmdline(char **ret); int container_get_leader(const char *machine, pid_t *pid); -int namespace_open(pid_t pid, int *namespace_fd, int *root_fd); -int namespace_enter(int namespace_fd, int root_fd); +int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *root_fd); +int namespace_enter(int pidns_fd, int mntns_fd, int root_fd); |