diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-12-13 19:21:30 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-12-13 19:21:30 +0100 |
commit | 6ce305d6240b20ff7be3d75264f2d5a33be04e85 (patch) | |
tree | cdb844c0c6c631bb2c968394d6e68baf3a7d874b /src/basic/cgroup-util.h | |
parent | 9a24280760cd70177b3ec30e679a8eb65d87ffa4 (diff) |
Prep 235: Implement an alternative approach for sd_pid_get_owner_uid(), making test-login to no longer fail.
Diffstat (limited to 'src/basic/cgroup-util.h')
-rw-r--r-- | src/basic/cgroup-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index 1f1a33873..e8423dd0d 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -206,8 +206,8 @@ int cg_is_empty_recursive(const char *controller, const char *path); int cg_get_root_path(char **path); int cg_path_get_session(const char *path, char **session); -#if 0 /// UNNEEDED by elogind int cg_path_get_owner_uid(const char *path, uid_t *uid); +#if 0 /// UNNEEDED by elogind int cg_path_get_unit(const char *path, char **unit); int cg_path_get_user_unit(const char *path, char **unit); int cg_path_get_machine_name(const char *path, char **machine); @@ -219,8 +219,8 @@ int cg_shift_path(const char *cgroup, const char *cached_root, const char **shif int cg_pid_get_path_shifted(pid_t pid, const char *cached_root, char **cgroup); int cg_pid_get_session(pid_t pid, char **session); -#if 0 /// UNNEEDED by elogind int cg_pid_get_owner_uid(pid_t pid, uid_t *uid); +#if 0 /// UNNEEDED by elogind 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); |