diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-01-09 18:35:22 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-01-09 18:38:18 +0100 |
commit | 99d9de1cc82e021be12d85352ee57e81860b282f (patch) | |
tree | 4c08af46099591a157cd651dfdb833ff5a98c917 /src/basic/cgroup-util.h | |
parent | 540f9616974c11cc76eb0c9cc0d81c80f356f54c (diff) |
Prep 235: Enabled sd_peer_get_slice() and sd_pid_get_slice() to at least try to work. This is considered experimental.
Diffstat (limited to 'src/basic/cgroup-util.h')
-rw-r--r-- | src/basic/cgroup-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index 7b95370d3..419d5f4bd 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -226,7 +226,9 @@ int cg_pid_get_owner_uid(pid_t pid, uid_t *uid); int cg_pid_get_unit(pid_t pid, char **unit); int cg_pid_get_user_unit(pid_t pid, char **unit); int cg_pid_get_machine_name(pid_t pid, char **machine); +#endif // 0 int cg_pid_get_slice(pid_t pid, char **slice); +#if 0 /// UNNEEDED by elogind int cg_pid_get_user_slice(pid_t pid, char **slice); int cg_path_decode_unit(const char *cgroup, char **unit); |