chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: when connecting to a container's kdbus instance, enter namespace first
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index 504f63a28fe02bc5711be3492c9a4054784b1455..d5fa81c6a5a7e230c8696dc3e46c878ffe8efee0 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-789,3
+789,8
@@
static inline void qsort_safe(void *base, size_t nmemb, size_t size,
}
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);