diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-11-23 17:58:01 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-01-02 17:57:34 +0100 |
commit | da5e0c442bc1f0e1e47ab92b0196e99e7c4ffafd (patch) | |
tree | b1ef5648ab93846e0ee3d9444bb08c79f12a9b9c /src/basic/socket-util.h | |
parent | process-util: add new pid{ref,}_get_start_time() helper (diff) | |
download | systemd-da5e0c442bc1f0e1e47ab92b0196e99e7c4ffafd.tar.xz systemd-da5e0c442bc1f0e1e47ab92b0196e99e7c4ffafd.zip |
socket-util: add helper for getting peer pidfd
Diffstat (limited to 'src/basic/socket-util.h')
-rw-r--r-- | src/basic/socket-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h index 9a11df834d..032d73857e 100644 --- a/src/basic/socket-util.h +++ b/src/basic/socket-util.h @@ -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, |