| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
| 2020-10-10 | Add doc comments | LinkTed | -1/+21 | |
| 2020-10-10 | Add doc(cfg(...)) | LinkTed | -0/+24 | |
| 2020-10-10 | Reduce impl trait by using macro in `raw_fd.rs` | LinkTed | -61/+34 | |
| 2020-10-10 | Move conditional compilation to the upper module and sort the target OS list ↵ | LinkTed | -189/+199 | |
| alphabetically | ||||
| 2020-10-10 | Remove unnecessary path | LinkTed | -1/+1 | |
| 2020-10-10 | Use `fill` instead of `memset` | LinkTed | -9/+16 | |
| 2020-10-10 | Remove inner function in `bind`, `connect` and `send_to` | LinkTed | -49/+33 | |
| 2020-10-10 | Remove lifetime annotation in `messages` function | LinkTed | -1/+1 | |
| 2020-10-10 | Remove `Clone` trait bound in `add_to_ancillary_data` | LinkTed | -1/+1 | |
| 2020-10-10 | Add integer overflow check | LinkTed | -1/+9 | |
| 2020-10-10 | Replace `TryFrom` of `AncillaryData` with a private method. | LinkTed | -23/+18 | |
| 2020-10-10 | Using `read_unaligned` instead of `memcpy`. | LinkTed | -8/+6 | |
| 2020-10-10 | Move `add_to_ancillary_data` and `AncillaryDataIter` to ancillary.rs | LinkTed | -5/+86 | |
| 2020-10-10 | Add UCred struct | LinkTed | -9/+53 | |
| 2020-10-10 | Add AncillaryError | LinkTed | -29/+44 | |
| 2020-10-10 | Split net.rs into multiple files | LinkTed | -2635/+3297 | |
| 2020-10-10 | unix: Extend UnixStream and UnixDatagram to send and receive file descriptors | LinkTed | -0/+1019 | |
| Add the functions `recv_vectored_fds` and `send_vectored_fds` to send and receive file descriptors, by using `recvmsg` and `sendmsg` system call. | ||||
| 2020-10-03 | Rollup merge of #77182 - GuillaumeGomez:missing-examples-fd-traits, r=pickfire | Jonas Schievink | -0/+40 | |
| Add missing examples for Fd traits Not sure what happened here... This is a reopening of #77142 r? @Dylan-DPC | ||||
| 2020-10-02 | Simplify fd examples | Guillaume Gomez | -19/+16 | |
| 2020-10-01 | Auto merge of #76969 - withoutboats:rawfd-refexive-traits, r=dtolnay | bors | -0/+19 | |
| Make RawFd implement the RawFd traits This PR makes `RawFd` implement `AsRawFd`, `IntoRawFd` and `FromRawFd`, so it can be passed to interfaces that use one of those traits as a bound. | ||||
| 2020-09-25 | Add missing examples for Fd traits | Guillaume Gomez | -0/+43 | |
| 2020-09-22 | Revert "Function to convert OpenOptions to c_int" | Joshua Nelson | -29/+0 | |
| 2020-09-22 | Auto merge of #76110 - FedericoPonzi:convert-openoptions-cint, r=JoshTriplett | bors | -0/+29 | |
| Function to convert OpenOptions to c_int Fixes: #74943 The creation_mode and access_mode function were already available in the OpenOptions struct, but currently private. I've added a new free functions to unix/fs.rs which takes the OpenOptions, and returns the c_int to be used as parameter for the `open` call. | ||||
| 2020-09-22 | enable unstable open_options_ext_as_flags feature in doc comments | Federico Ponzi | -0/+1 | |
| 2020-09-20 | fix typos | Without Boats | -2/+2 | |
| 2020-09-20 | Make RawFd implement the RawFd traits | Without Boats | -0/+19 | |
| 2020-09-19 | Add tracking issue for feature(unix_socket_peek) | rijenkii | -3/+3 | |
| 2020-09-16 | Sets as_flags as unstable | Federico Ponzi | -1/+1 | |
| 2020-09-15 | Auto merge of #75148 - joechrisellis:master, r=Amanieu | bors | -0/+185 | |
| Implementation of peer credentials for Unix sockets The code in `ucred.rs` is based on the work done in [PR 13](https://github.com/tokio-rs/tokio-uds/pull/13) in the tokio-uds repository on GitHub. This commit is effectively a port to the stdlib, so credit to Martin Habovštiak (`@Kixunil)` and contributors for the meat of this work. 🥇 Happy to make changes as needed. 🙂 | ||||
