nix
nix copied to clipboard
Rust friendly bindings to *nix APIs
error[E0433]: failed to resolve: could not find `ucontext` in `nix` --> src\main.rs:22:39 | 22 | if let Ok(context) = nix::ucontext::UContext::get() { | ^^^^^^^^ could not find `ucontext` in `nix` nix...
The PRs or issues that I am going to work on: * #2314 * #2044 * #2347 * #2055 * #2007 * #2336 * #2327 * #1750
When I tried to run `cargo test` with root privilege, I am seeing following failures. I am not sure if this is known issue, or if I miss something on...
The next version of libc includes some backwards-incompatible changes. Fixes #2342
Nix builds successfully with the most recently released libc: 0.2.153. But the version currently in git contains some backwards-incompatible changes. Here is a simplified build output, on FreeBSD amd64: ```...
`SockFlag::SOCK_NONBLOCK` and `SockFlag::SOCK_CLOEXEC` in 0.9.0 broke macOS/iOS support in 0.10.0 (f067e73bdbb589a0e3c991eab2c26de8bb00e924) This commit solves the issue and also provides test cases to test for continued support. - [X] `SockFlag::SOCK_NONBLOCK` -...
Currently `sendmsg` allocates a new vector for cmsg_buffer every time it is called. It would be nice if it could accept a mutable reference to `Vec` instead so it can...
Currently, the ```nix::sys::signal::sigaction()``` function uses the ```Signal``` enum, which only covers standard signals, but not real-time signals. Using real-time signals with ```nix``` requires using the ```std::mem::transmute()``` function to assign an...
Currently, the ```nix::sys::signal::sigaction()``` function uses the ```Signal``` enum, which only covers standard signals, but not real-time signals. Using real-time signals with ```nix``` requires using the ```std::mem::transmute()``` function to assign an...
## What does this PR do This PR improves the support for setting and retrieving of IP headers values for * Incoming packets IPv4 TTL (IP_RECVTTL) * Incoming packets IPv6...