nix
nix copied to clipboard
Rust friendly bindings to *nix APIs
Adds `ptrace::listen`, that is equivalent of `ptrace(PTRACE_LISTEN, ...)` on Linux. It allows tracers to correctly handle processes stopped with `SIGSTOP`.
Yet another architecture :-) I don' know much about rust, but at least it built on qemu
This commit implements support for PTRACE_SYSEMU and PTRACE_SYSEMU_SINGLESTEP for x86 and x86_64 musl builds. In the future, this could even be extended to other architectures, for which musl provides support,...
Hi, I'm relatively new to Rust and this is my first time interfacing Rust with C, I needed to find out if a path is already mounted and I thought...
For a UDP server program, it is very useful to use `sendmmsg()` and `recvmmsg()` to improve the performance by reducing syscalls. And it is not a uncommon setup that a...
A number of nix functions take file positions of type off_t (for example, ftruncate and pread). off_t is a 64-bit value on many systems (e.g. FreeBSD, 64-bit Linux), but there...
I cant get sendmmsg to work with GSO and txtime This function uses sendmsg and works: ```rust pub fn send_to_gso_pacing( socket: &tokio::net::UdpSocket, buf: &[u8], send_to: SocketAddr, send_at: Instant, segment_size: usize,...
Hi thanks for the lib! I find the `accept` does not allow us to know the `struct sockaddr_in`.
Just like `aio_write`, `aio_suspend` should only work on Pinned references. Right now it doesn't require that. Probably the best way to do it would be to create a trait like...
The current API for `lio_listio` isn't very good. It needs a major rethink. In fact, of the three different use cases shown in the docs, I think that perhaps two...