diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-22 16:49:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 16:49:42 +0000 |
commit | 8cff207a136258977b1d944955181fd477b11ccc (patch) | |
tree | 527ff9f58cb9fc2a12dd45b709fb7da5aad10ad0 /src/fcntl.rs | |
parent | d07b7f81a046ded5bd25cde744bbf47a884e3e93 (diff) | |
parent | 7c3a3535fc1502fb22867683a2ece20ff29bf314 (diff) | |
download | nix-8cff207a136258977b1d944955181fd477b11ccc.zip |
Merge #1342
1342: feat(unistd): Add getpeereid(3) r=asomers a=woodruffw
`getpeereid(3)` is not POSIX, but it's present on many BSD-derived Unices. It's also the standard mechanism on those OSes for retrieving socket peer credentials (compare `getsockopt` + `SO_PEERCRED` on Linux, which `nix` already supports).
Closes #1339.
Co-authored-by: William Woodruff <william@yossarian.net>
Diffstat (limited to 'src/fcntl.rs')
0 files changed, 0 insertions, 0 deletions