Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ironthree/nux
Rust bindings for linux kernel system calls with support for no_std
https://github.com/ironthree/nux
Last synced: 13 days ago
JSON representation
Rust bindings for linux kernel system calls with support for no_std
- Host: GitHub
- URL: https://github.com/ironthree/nux
- Owner: ironthree
- License: apache-2.0
- Created: 2021-09-15T16:06:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-15T21:26:19.000Z (about 2 years ago)
- Last Synced: 2024-11-05T20:16:32.342Z (2 months ago)
- Language: Rust
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# nux
This crate contains `no_std`-compatible bindings for linux kernel system calls.
The goal is to provide support for targets / architectures that are supported by
the unstable [`asm` feature](https://github.com/rust-lang/rust/issues/72016):- `aarch64-unknown-linux-gnu`
- `armv7-unknown-linux-gnueabihf`
- `i686-unknown-linux-gnu`
- `powerpc64le-unknown-linux-gnu`
- `x86_64-unknown-linux-gnu`## Current status: parked project
Due to lack of time (and very poor / contradictory documentation for linux
system calls), this side project will not be actively developed further, for
now. If you're looking for alternatives. you might be interested in one of the
following crates:- [libc](https://crates.io/crates/libc) (unsafe wrapper around platform libc)
- [nix](https://crates.io/crates/nix) (safe wrapper around libc crate)
- [rsix](https://crates.io/crates/rsix) (bindings for *nix system calls), formerly `posish`
- [relibc](https://github.com/redox-os/relibc) (from-scratch libc implementation in Rust + C)However, contributions are welcome. The basic project structure is set up so
adding bindings for more system calls should be easy for all architectures by
following the patterns that are already there. And if somebody out there knows
how to fix the FIXME items in the crate, that would be *wonderful* 😅