nix icon indicating copy to clipboard operation
nix copied to clipboard

Rust friendly bindings to *nix APIs

Results 296 nix issues
Sort by recently updated
recently updated
newest added
trafficstars

I found myself implementing this and felt I should make a PR. Most of the doc comments are quotes from the posix documentation. I am uncertain how the remaining `AddrInfo`...

This adds support for QNX Neutrino 7.1.

Added two new functions to the ptrace module: getfpregs and setfpregs gets and sets the floating point registers of the tracee. This is based on #1426, but updated to the...

Several flags added for Solaris are 64-bit unsigned integers causing: ``` error[E0308]: mismatched types --> /pool/projects/rust/rust-1.67.0/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.22.3/src/macros.rs:56:35 | 41 | / macro_rules! libc_bitflags { 42 | | ( 43 | |...

A-bug

I know it's possible to create a new local file socket with passcred enabled, so we can get a client's pid/uid/gid, but is it possible to set the same socket...

https://docs.rs/nix/latest/nix/sys/socket/fn.sendmmsg.html is incorrect. The doc says that `sendmmsg` takes 3 arguments: ### Arguments * `fd`: Socket file descriptor * `data`: Struct that implements `IntoIterator` with `SendMmsgData` items * `flags`: Optional...

There are a few places in the code that call `assume_init()` on a `MaybeUninit` that may only be partially initialized, which is UB. https://github.com/nix-rust/nix/blob/89b4976fddf713ca54834612e351ae35d86c430a/src/sys/socket/mod.rs#L2217-L2242 https://github.com/nix-rust/nix/blob/89b4976fddf713ca54834612e351ae35d86c430a/src/sys/socket/mod.rs#L2340-L2369 https://github.com/nix-rust/nix/blob/89b4976fddf713ca54834612e351ae35d86c430a/src/sys/socket/mod.rs#L2045-L2065 The calling code might...

Linux supports the map flag MAP_UNINITIALIZED for embedded devices. Please add this for the MapFlags type. https://elixir.bootlin.com/linux/latest/source/include/uapi/asm-generic/mman-common.h#L33

A-features

This PR addresses #1298. On my machine 4 tests are failing, I don't understand what's the exact cause. Any suggestions how to fix them would be appreciated.