about summary refs log tree commit diff
path: root/library/std/src/sys/unix/ext
AgeCommit message (Collapse)AuthorLines
2020-09-14Fix peer credentials for AndroidJoe Ellis-6/+5
2020-09-14Conditionally compile peer credentials feature for supported platformsJoe Ellis-0/+18
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/+16
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/+3
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/+145
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!
2020-09-12Remove Windows details from Unix and VmWorks symlink() docstringsNicholas Bishop-9/+0
This note is not relevant to other operating systems.
2020-09-12Rollup merge of #76583 - CDirkx:os-doc, r=jonas-schievinkRalf Jung-5/+5
Update `std::os` module documentation. Adds missing descriptions for the modules `std::os::linux::fs` and `std::os::windows::io`. Also adds punctuation for consistency with other descriptions.
2020-09-11Add `peek` and `peek_from` to `UnixStream` and `UnixDatagram`rijenkii-20/+192
2020-09-11Update `std::os` module documentation.Christiaan Dirkx-5/+5
Adds missing descriptions for the modules std::os::linux::fs and std::os::windows::io. Also adds punctuation for consistency with other descriptions.
2020-09-04Fix nlink example typoChris Gillespie-1/+1
2020-09-02Convert many files to intra-doc linksJoshua Nelson-2/+5
- Use intra-doc links for `std::io` in `std::fs` - Use intra-doc links for File::read in unix/ext/fs.rs - Remove explicit intra-doc links for `true` in `net/addr.rs` - Use intra-doc links in alloc/src/sync.rs - Use intra-doc links in src/ascii.rs - Switch to intra-doc links in alloc/rc.rs - Use intra-doc links in core/pin.rs - Use intra-doc links in std/prelude - Use shorter links in `std/fs.rs` `io` is already in scope.
2020-09-02Update docs of OpenOptions::as_flagsFederico Ponzi-3/+2
2020-08-31Update OpenOptions::as_flags docs, and minor stylingFederico Ponzi-9/+8
2020-08-31Add as_flag function to the OpenOptionsExt structFederico Ponzi-0/+30
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-379/+377
Also doing fmt inplace as requested.
2020-08-19resolve commentsPrabakaran Kumaresshan-11/+0
2020-08-19Switch to intra-doc links in /src/sys/unix/ext/*.rsPrabakaran Kumaresshan-74/+35
2020-07-27mv std libs to library/mark-0/+3464