summaryrefslogtreecommitdiff
path: root/src/basic/util.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-01-04 12:55:04 +0100
committerSven Eden <yamakuzure@gmx.net>2017-03-14 10:19:06 +0100
commit903ff64069e63a831ad1036182d4e56421e0dc86 (patch)
treef8e17823c3a45441a382c41f15c6b92a1acbf619 /src/basic/util.c
parent16d45749376d3f995593cf45b4d4b87dce2aaf02 (diff)
Prep v225: Added needed udev support and re-enabled some masked cgroup functions.
Diffstat (limited to 'src/basic/util.c')
-rw-r--r--src/basic/util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/basic/util.c b/src/basic/util.c
index d5c758e6f..45d594765 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -4979,8 +4979,6 @@ int get_proc_cmdline_key(const char *key, char **value) {
}
-/// UNNEEDED by elogind
-#if 0
int container_get_leader(const char *machine, pid_t *pid) {
_cleanup_free_ char *s = NULL, *class = NULL;
const char *p;
@@ -5014,7 +5012,6 @@ int container_get_leader(const char *machine, pid_t *pid) {
*pid = leader;
return 0;
}
-#endif // 0
int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *userns_fd, int *root_fd) {
_cleanup_close_ int pidnsfd = -1, mntnsfd = -1, netnsfd = -1, usernsfd = -1;