diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-05-18 20:48:53 +0900 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-05-18 20:52:49 +0900 |
commit | 878cd7e95ca303f9851d227a22d2022bd49944b0 (patch) | |
tree | 4f068a01ef22275c5ab7a6adb7dfa00c560a7b79 /src/shared/util.h | |
parent | 4eaea66423ca58dfd7cfd1099ed902d7c81d8622 (diff) |
machined: add logic to query IP addresses of containers
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 f2ce4f0d6e..7a7d15c82c 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -910,8 +910,8 @@ int parse_proc_cmdline(int (*parse_word)(const char *key, const 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 *root_fd); -int namespace_enter(int pidns_fd, int mntns_fd, int root_fd); +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); bool pid_is_alive(pid_t pid); bool pid_is_unwaited(pid_t pid); |