Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
/ nux Public archive

Rust bindings for linux kernel system calls with support for no_std

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ironthree/nux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • 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 (unsafe wrapper around platform libc)
  • nix (safe wrapper around libc crate)
  • rsix (bindings for *nix system calls), formerly posish
  • 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 😅

About

Rust bindings for linux kernel system calls with support for no_std

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages