socket-util: add helper for getting peer pidfd

This commit is contained in:
Lennart Poettering
2024-01-02 17:57:34 +01:00
parent 3dee63b762
commit da5e0c442b
3 changed files with 20 additions and 0 deletions
+1
View File
@@ -152,6 +152,7 @@ bool address_label_valid(const char *p);
int getpeercred(int fd, struct ucred *ucred);
int getpeersec(int fd, char **ret);
int getpeergroups(int fd, gid_t **ret);
int getpeerpidfd(int fd);
ssize_t send_many_fds_iov_sa(
int transport_fd,