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

**tl;dr** Should nix be split up into multiple crates named `nix-*` and what should the API style be? ## The situation Nix originated as a posix binding dumping ground for...

A-conventions

I need to check access with EUID in my application and perhaps instead of implementing it privately, upstreaming to `nix` would be nicer. Not sure if there should be an...

I believe that all of the functions of `exec` group must be marked with unsafe. The reason is quite simple: these calls are equivalent to calling an `extern "C"` function...

https://github.com/nix-rust/nix/blob/d922c72a765640c5e190fb01129f712e6ac513df/src/sys/socket/mod.rs#L1585 I cannot find how `SockLevel` is used in the code. For example, `setsockopt` did not have a level argument: https://github.com/nix-rust/nix/blob/d922c72a765640c5e190fb01129f712e6ac513df/src/sys/socket/mod.rs#L1639 How can we use `SockLevel`? I have a use...

After working fine for years, sys::test_aio::test_aio_suspend has begun to reliably fail in CI, when run on OSX. The trigger seems to be the recent MSRV upgrade to 1.40.0. Unfortunately, none...

A-bug

The `exec` family of functions replace the current process with the new one, thus programs that wish to spawn a child normally call `exec*()` soon after a `fork()`. Unfortunately, fork...

A-bug

The `sys::test_socket::{test_af_alg_cipher, test_af_alg_aead}` tests fail when run on Cirrus CI. `bind` returns `ENOENT` for both tests, despite /proc/crypto containing both algorithms. For now, we'll skip those tests on Cirrus. But...

test_mount fails when run on Cirrus-CI. The mount syscall returns `EACCES`. According to the man page, there are only three reasons for that error, and none of them apply in...

A-bug

based of #1009 - Fixes nix-rust#931 ( support for -1 in argument to setresuid/setresgid)

It's kind of tough that `Termios` doesn't implement `Sync`, because then you can't use them with the `signal_hook` crate's `register` function, or any other signal-handling wrapper that tries to be...