| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-01-21 | Add setgroups to std::os::unix::process::CommandExt | slo1 | -0/+18 | |
| 2021-01-13 | Fix typo saeled -> sealed | David Tolnay | -1/+1 | |
| 2021-01-13 | ExitStatusExt unix: Retrospectively seal this trait | Ian Jackson | -1/+15 | |
| As discussed in #79982. I think the "new interfaces", ie the new trait and impl, must be insta-stable. This seems OK because we are, in fact, adding a new restriction to the stable API. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||||
| 2021-01-13 | unix ExitStatus: Add tracking issue to new methods | Ian Jackson | -4/+4 | |
| Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||||
| 2021-01-13 | Replace `Ie` with `In other words` | Ian Jackson | -1/+1 | |
| Co-authored-by: Joshua Nelson <joshua@yottadb.com> | ||||
| 2021-01-13 | Replace `Ie` with `In other words` | Ian Jackson | -1/+1 | |
| Co-authored-by: Joshua Nelson <joshua@yottadb.com> | ||||
| 2021-01-13 | unix ExitStatus: Provide .continued() | Ian Jackson | -0/+11 | |
| Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||||
| 2021-01-13 | unix ExitStatus: Provide .stopped_signal() | Ian Jackson | -0/+11 | |
| Necessary to handle WIFSTOPPED. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||||
| 2021-01-13 | unix ExitStatus: Provide .core_dumped | Ian Jackson | -0/+8 | |
| This is essential for proper reporting of child process status on Unix. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||||
| 2021-01-13 | unix ExitStatus: Provide .into_raw() | Ian Jackson | -0/+8 | |
| Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||||
| 2021-01-13 | unix ExitStatus: Clarify docs for .signal() | Ian Jackson | -0/+2 | |
| We need to be clear that this never returns WSTOPSIG. That is, if WIFSTOPPED, the return value is None. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> | ||||
| 2020-12-16 | Fix failing build of std on armv5te-unknown-linux-uclibceabi due to missing ↵ | Ondrej Perutka | -1/+5 | |
| cmsg_len_zero | ||||
| 2020-12-09 | Auto merge of #79387 - woodruffw-forks:ww/peer-cred-pid-macos, r=Amanieu | bors | -15/+57 | |
| ext/ucred: Support PID in peer creds on macOS This is a follow-up to https://github.com/rust-lang/rust/pull/75148 (RFC: https://github.com/rust-lang/rust/issues/42839). The original PR used `getpeereid` on macOS and the BSDs, since they don't (generally) support the `SO_PEERCRED` mechanism that Linux supplies. This PR splits the macOS/iOS implementation of `peer_cred()` from that of the BSDs, since macOS supplies the `LOCAL_PEERPID` sockopt as a source of the missing PID. It also adds a `cfg`-gated tests that ensures that platforms with support for PIDs in `UCred` have the expected data. | ||||
| 2020-12-02 | Auto merge of #69864 - LinkTed:master, r=Amanieu | bors | -1771/+3058 | |
| unix: Extend UnixStream and UnixDatagram to send and receive file descriptors Add the functions `recv_vectored_fds` and `send_vectored_fds` to `UnixDatagram` and `UnixStream`. With this functions `UnixDatagram` and `UnixStream` can send and receive file descriptors, by using `recvmsg` and `sendmsg` system call. | ||||
| 2020-11-26 | Add comment for the previous android bug fix | LinkTed | -0/+4 | |
| 2020-11-24 | Bug fix for android platform, because of the wrong behavior of CMSG_NXTHDR | LinkTed | -0/+19 | |
| 2020-11-24 | ext/ucred: fmt check | William Woodruff | -26/+8 | |
| 2020-11-24 | ext/ucred: Support PID in peer creds on macOS | William Woodruff | -5/+65 | |
| 2020-11-14 | Disambiguate symlink argument names | David Tolnay | -3/+3 | |
| 2020-11-04 | Fix docs for MacOs (again) | LinkTed | -1/+2 | |
| 2020-11-03 | Fix docs for MacOs (correction) | LinkTed | -1/+2 | |
| 2020-10-28 | Fix test cases for MacOs | LinkTed | -2/+28 | |
| 2020-10-17 | Fix cannot find type `ucred` for MacOs by using fake definitions | LinkTed | -1/+1 | |
| 2020-10-16 | Take some of sys/vxworks/process/* from sys/unix instead. | Mara Bos | -4/+20 | |
| 2020-10-16 | Take sys/vxworks/{fd,fs,io} from sys/unix instead. | Mara Bos | -0/+7 | |
| 2020-10-11 | Fix unresolved imports for `recv_vectored_with_ancillary_from`, ↵ | LinkTed | -0/+1 | |
| `send_vectored_with_ancillary_to` and `SocketAncillary` | ||||
| 2020-10-10 | Fix unresolved link to `SocketAncillary` | LinkTed | -0/+2 | |
| 2020-10-10 | Fix `libc` is ambiguous for Windows | LinkTed | -9/+6 | |
| 2020-10-10 | Fix import errors for `#[cfg(doc)]` target | LinkTed | -2/+4 | |
| 2020-10-10 | Add fake definitions for Windows | LinkTed | -0/+10 | |
| 2020-10-10 | Fix imports for MacOs | LinkTed | -8/+4 | |
| 2020-10-10 | Change imports for `cfg(doc)` | LinkTed | -30/+29 | |
| 2020-10-10 | Remove `passcred` for `emscripten` | LinkTed | -4/+4 | |
| 2020-10-10 | Remove unnecessary trailing semicolon | LinkTed | -1/+1 | |
| 2020-10-10 | Fix type mismatching for different OSes. | LinkTed | -41/+105 | |
| 2020-10-10 | Remove `SocketCred` for `emscripten` | LinkTed | -13/+9 | |
| 2020-10-10 | Fix unused import for `IoSliceMut` for macos | LinkTed | -0/+9 | |
| 2020-10-10 | Add conditional compilation for import | LinkTed | -0/+1 | |
| 2020-10-10 | Fix cfg condition for test | LinkTed | -1/+1 | |
| 2020-10-10 | Remove `target_os`, which does not have `SO_PASSCRED` constant in `libc` | LinkTed | -56/+5 | |
| 2020-10-10 | Remove `target_os`, which does not have `cmsghdr` struct in `libc` | LinkTed | -12/+0 | |
| 2020-10-10 | Remove `target_os`, which does not have `MSG_CMSG_CLOEXEC` constant in `libc` | LinkTed | -54/+31 | |
| 2020-10-10 | Add the code of the tracking issue | LinkTed | -36/+36 | |
| 2020-10-10 | Replace `assert` with `unreachable` | LinkTed | -3/+3 | |
| 2020-10-10 | Remove unsupported target_os for SocketCred | LinkTed | -125/+7 | |
| 2020-10-10 | Change standard types to libc types | LinkTed | -6/+8 | |
| 2020-10-10 | Change name of struct to SocketCred | LinkTed | -9/+9 | |
| 2020-10-10 | Change API to unsafe and add doc comments | LinkTed | -3/+20 | |
| 2020-10-10 | Add `set_passcred` and `passcred` methods to `UnixStream` and `UnixDatagram` | LinkTed | -11/+121 | |
| 2020-10-10 | Rename `test.rs` to `tests.rs` | LinkTed | -625/+19 | |
