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

POSIX readdir has reached a sensible point w.r.t. threads since the 2018 edition - https://pubs.opengroup.org/onlinepubs/9699919799/functions/readdir.html It is now guaranteed that the buffer is valid until the directory stream (the DIR...

As I mentioned in https://github.com/nix-rust/nix/issues/1419#issuecomment-1094251694 I had this code implemented in a personal project of mine. As some of you might know, to read and modify tracee's registers with `ptrace`...

I have added support for the prctl syscall. However, I am not sure that this is the right way to do it. Another way would be to wrap each possible...

According to [the FreeBSD man pages](https://www.freebsd.org/cgi/man.cgi?query=memfd_create&sektion=3&n=1) `memfd_create()` has been present since 13.0. Should it be exported like it is for Android and Linux?

Android also supports memfd so allow the relevant items to be used when targeting Android.

Linux >= 5.3 supports `ptrace(PTRACE_GET_SYSCALL_INFO, pid, sizeof(struct ptrace_syscall_info), &info)` to obtain more information about a syscall stop. Do note that it apparently only works, if `PTRACE_O_TRACESYSGOOD` is set beforehand. Happy...

Is there any way to convert either of ```rust libc::sockaddr_storage nix::sys::socket::sockaddr_storage ``` to `std::net::ScoketAddr`? I have looked into `nix::sys::socket::SockaddrStorage` but can't find what I am looking for.

Theres no general policy on breaking changes in CONTRIBUTING.md; I think it'd be useful to have one.

A-conventions

I am working at a project requiring me to call ’spawn’ and I noticed that there isn't a safe API for it. I am going to develop a safe API...