nix
nix copied to clipboard
Rust friendly bindings to *nix APIs
For now, the whole impl of write is ``` rs pub unsafe fn write( pid: Pid, addr: AddressType, data: *mut c_void, ) -> Result { unsafe { ptrace_other(Request::PTRACE_POKEDATA, pid, addr,...
## What does this PR do ## Checklist: - [ ] I have read `CONTRIBUTING.md` - [ ] I have written necessary tests and rustdoc comments - [ ] A...
## What does this PR do See title. Also note I'm waiting on the constants to be exposed in libc, see https://github.com/rust-lang/libc/pull/3563. When those are added I'll adjust the libc...
Adds large file support (64-bit file positions) to the existing Nix API when targetting systems that have separate 32-bit and 64-bit APIs. On many platforms that support 64-bit file positions,...
Due to https://github.com/bytecodealliance/rustix/issues/1007 , the Nix CI build fails for i686-unknown-hurd-gnu . ``` > cargo check -Zbuild-std --target i686-unknown-hurd-gnu --all-features --all-targets Checking rustix v0.38.31 error[E0609]: no field `st_atime` on type...
Check https://github.com/bytedance/monoio/actions/runs/7764519716/job/21178054711 for more detail
Apple has introduced their [VisionOS](https://developer.apple.com/visionos/), and thus we have one more target to add, developers at Apple are adding the support to the upstream LLVM compiler, when complete, the rustc...
Since most commands Nix uses are not standard `cargo` commands, I suggest we use a command runner like [just](https://github.com/casey/just) or [make](https://www.gnu.org/software/make/manual/make.html) to wrap them to avoid typing them over and...
Hello, would the library be accepting implementations for sched_(set|get)attr functions? as per libc crate (and man pages) [here](https://github.com/rust-lang/libc/pull/3494) , because these two are not exposed by glibc, libc crate will...
Add support for getting/setting IPv4 type-of-service (TOS) and time-to-live (TTL) information, and IPv6 traffic class (TC) and hop count information. Depends on https://github.com/rust-lang/libc/pull/3450, which was recently merged. (This is my...