about summary refs log tree commit diff
path: root/library/std/src/sys/unix/ext/ucred.rs
AgeCommit message (Collapse)AuthorLines
2021-05-03Move `std::sys::unix::ext` to `std::os::unix`Christiaan Dirkx-126/+0
2020-11-24ext/ucred: fmt checkWilliam Woodruff-21/+7
2020-11-24ext/ucred: Support PID in peer creds on macOSWilliam Woodruff-4/+47
2020-09-14Fix peer credentials for AndroidJoe Ellis-6/+5
2020-09-14Add documentation to public fields of UCred structJoe Ellis-1/+8
2020-09-14Move Unix peer credentials tests to their own fileJoe Ellis-20/+0
2020-09-14Add pid as an option to UCred structJoe Ellis-3/+5
Currently, PID will be populated for Linux, and set to None for BSDs.
2020-09-14Use `u32::MAX` instead of `u32::max_value`Joe Ellis-1/+1
Co-authored-by: lzutao <taolzu@gmail.com>
2020-09-14Add basic test for Unix peer credentialsJoe Ellis-0/+20
2020-09-14Remove use of `MaybeUninit` in `ucred.rs`Joe Ellis-5/+2
We can simply init the struct directly. There is no real need to use uninit memory here.
2020-09-14Implementation of peer credentials for Unix socketsJoe Ellis-0/+92
The code in `ucred.rs` is based on the work done in PR 13 in the tokio-uds repository on GitHub. Link below for reference: https://github.com/tokio-rs/tokio-uds/pull/13 Credit to Martin Habovštiak (GitHub username Kixunil) and contributors for this work!