projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cd02cb
)
sd-login: correct prototype of sd_peer_get_cgroup
author
Jason Francis
<zxzax@protonmail.com>
Mon, 19 Apr 2021 16:13:03 +0000
(12:13 -0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 15 May 2021 18:25:18 +0000
(20:25 +0200)
(cherry picked from commit
a8310e39e996b9b5f63d897879aecf8988261bdb
)
(cherry picked from commit
fa7f835f79d4da8ee6d7403be43a0ba4d24b9fb2
)
(cherry picked from commit
60d3eeef5e803997e1c9356d543d460a61f1b4dc
)
src/systemd/sd-login.h
patch
|
blob
|
history
diff --git
a/src/systemd/sd-login.h
b/src/systemd/sd-login.h
index e18f01bb671de665892c01c4e333a80a34dccf01..89002bd8641755496db20bf5733f20d92504997b 100644
(file)
--- a/
src/systemd/sd-login.h
+++ b/
src/systemd/sd-login.h
@@
-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 pi
d, char **cgroup);
+int sd_peer_get_cgroup(
int f
d, char **cgroup);
/* Get state from UID. Possible states: offline, lingering, online, active, closing */
int sd_uid_get_state(uid_t uid, char **state);