mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-08-26 17:50:11 +03:00
sd-login: correct prototype of sd_peer_get_cgroup
(cherry picked from commita8310e39e9
) (cherry picked from commitfa7f835f79
) (cherry picked from commit60d3eeef5e
)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
9cd02cbcb7
commit
2618ec8e46
@ -110,7 +110,7 @@ int sd_peer_get_machine_name(int fd, char **machine);
|
||||
|
||||
/* Similar to sd_pid_get_cgroup(), but retrieves data about the peer
|
||||
* of a connected AF_UNIX socket. */
|
||||
int sd_peer_get_cgroup(pid_t pid, char **cgroup);
|
||||
int sd_peer_get_cgroup(int fd, char **cgroup);
|
||||
|
||||
/* Get state from UID. Possible states: offline, lingering, online, active, closing */
|
||||
int sd_uid_get_state(uid_t uid, char **state);
|
||||
|
Reference in New Issue
Block a user