nix
nix copied to clipboard
Rust friendly bindings to *nix APIs
## What does this PR do ## Checklist: - [x] I have read `CONTRIBUTING.md` - [x] I have written necessary tests and rustdoc comments - [ ] A change log...
My IO layer is built around io_uring, where multishot results gives access to control messages buffer as raw bytes and it is up to the app to parse it. I...
Hi, I've found a memory issue in this crate for potential vulnerabilities. It seems that the `InterfaceAddress` object produced by the `InterfaceAddressIterator` may lead to reading from uninitialized memory. This...
## What does this PR do `std::net::Shutdown` and nix's `Shutdown` are basically the same. It is possible in theory to completely the `nix` version in favour of `std`'s, but it...
## What does this PR do Another wrapper for `accept4` that returns the remote peer's address. I've copied the same `cfg`s from `accept4`. ## Checklist: - [x] I have read...
adding CLONE_PIDFD flag to set pid fd (with cloexec) on last argument. ## What does this PR do ## Checklist: - [ ] I have read `CONTRIBUTING.md` - [ ]...
## What does this PR do While trying to collect the ACK timestamps, it appeared `SOF_TIMESTAMPING_TX_ACK` was missing from `TimestampingFlag`. It was already added to `libc` a few years ago...
## What does this PR do Currently `recvmmsg` uses a single lifetime to represent several different things: - preallocated `MultiHdr` - separately allocated `IoSliceMut` - iterator used to give access...
## What does this PR do Due to the requirement of https://github.com/nix-rust/nix/pull/2525#discussion_r1835902077, try bumping the remaining Ubuntu 20.04 images to the latest version, if we are lucky, closes #2418. ##...
## What does this PR do Add `CLONE_NEWTIME` for Linux. Related to #2574 This PR only adds it for the GNU target, the musl support is blocked by https://github.com/rust-lang/libc/pull/4226 ##...