nix
nix copied to clipboard
Rust friendly bindings to *nix APIs
`IPV6_PKTINFO` was missing from `sockopt` so I added it and the documentation for `IPV6_RECVPKTINFO` incorrectly said it was enabling the flag for `IPV6_PKTINFO` so I corrected that.
- Using the PROC_TRACE_CTL ability to enable/disable process tracing. - Using the PROC_PDEATHSIG_CTL ability to deliver a signal on parent process exit.
Futex
Add futex interface.
## What does this PR do Provide safe mechanisms to ignore or reset a signal's action to the default. Fixes #587. ## Checklist: - [x] I have read `CONTRIBUTING.md` -...
Still a soft WIP, but ready for a first review and open for suggestions. A changelog will be provided when we agreed on the changes. This PR changes virtually everything...
Socket options IP_ADD_SOURCE_MEMBERSHIP / IP_DROP_SOURCE_MEMBERSHIP is used to manage source-specific multicast group; related constant and struct is defined in libc crate, but not in nix.
Hi! Thank you for your great work! ## What does this PR do While upgrading to more recent version of nix I've faced an issue on a system that has...
With the latest nightly compilers, the standard library fails to build for armv7-unknown-linux-uclibceabihf . Until Rust fixes that problem, we must disable CI on this target. https://github.com/rust-lang/rust/issues/118190 cc @JonathanWoollett-Light
## What does this PR do Adds the new `IPPROTO_IP` variant to `SockProtocol` as described in #1953 ## Checklist: - [x] I have read `CONTRIBUTING.md` - [x] I have written...
```rust fn main() { println!("{:?}", nix::unistd::gethostname()); } ``` ``` = note: /root/build/release/deps/libnix-fca8cee73dd370df.rlib(nix-fca8cee73dd370df.nix.9961a42b-cgu.2.rcgu.o): In function `nix::sys::memfd::memfd_create::hbef039c9926ba4f0': nix.9961a42b-cgu.2:(.text._ZN3nix3sys5memfd12memfd_create17hbef039c9926ba4f0E+0x5): undefined reference to `memfd_create' collect2: error: ld returned 1 exit status = help: some...