diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-01-09 18:52:14 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-01-09 18:52:14 +0100 |
commit | 1355c7e45cd8ac0f4053ae00111a4d2e49795812 (patch) | |
tree | 8426874e5e6d1198b916be7a22119251c0db560d /src/basic/cgroup-util.h | |
parent | 99d9de1cc82e021be12d85352ee57e81860b282f (diff) |
Prep 235: Enabled sd_bus_creds_get_slice(), sd_bus_creds_get_user_slice(), sd_peer_get_user_slice() and sd_pid_get_user_slice() to try to work with eloginds session id to user mapping.
Diffstat (limited to 'src/basic/cgroup-util.h')
-rw-r--r-- | src/basic/cgroup-util.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index 419d5f4bd..8bf232c13 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -213,9 +213,7 @@ int cg_path_get_user_unit(const char *path, char **unit); int cg_path_get_machine_name(const char *path, char **machine); #endif // 0 int cg_path_get_slice(const char *path, char **slice); -#if 0 /// UNNEEDED by elogind int cg_path_get_user_slice(const char *path, char **slice); -#endif // 0 int cg_shift_path(const char *cgroup, const char *cached_root, const char **shifted); int cg_pid_get_path_shifted(pid_t pid, const char *cached_root, char **cgroup); @@ -228,9 +226,9 @@ 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); +#if 0 /// UNNEEDED by elogind int cg_path_decode_unit(const char *cgroup, char **unit); #endif // 0 |