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/systemd/sd-bus.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/systemd/sd-bus.h')
-rw-r--r-- | src/systemd/sd-bus.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemd/sd-bus.h b/src/systemd/sd-bus.h index e75374dbb..9b507eefb 100644 --- a/src/systemd/sd-bus.h +++ b/src/systemd/sd-bus.h @@ -360,10 +360,12 @@ int sd_bus_creds_get_cmdline(sd_bus_creds *c, char ***cmdline); int sd_bus_creds_get_cgroup(sd_bus_creds *c, const char **cgroup); #if 0 /** unsupported by elogind **/ int sd_bus_creds_get_unit(sd_bus_creds *c, const char **unit); +#endif // 0 int sd_bus_creds_get_slice(sd_bus_creds *c, const char **slice); +#if 0 /// UNNEEDED by elogind int sd_bus_creds_get_user_unit(sd_bus_creds *c, const char **unit); -int sd_bus_creds_get_user_slice(sd_bus_creds *c, const char **slice); #endif /** 0 **/ +int sd_bus_creds_get_user_slice(sd_bus_creds *c, const char **slice); int sd_bus_creds_get_session(sd_bus_creds *c, const char **session); int sd_bus_creds_get_owner_uid(sd_bus_creds *c, uid_t *uid); int sd_bus_creds_has_effective_cap(sd_bus_creds *c, int capability); |