tbu- / rust-sc-gen

System call number generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sc-gen

System call number generator

Usage

$ docker run -it japaric/aarch64-unknown-linux-gnu:v0.1.4

# Within the docker image
$ sc-gen aarch64-linux-gnu
/* Automatically generated by sc-gen 0.1.0 */

// pub const _LLSEEK: usize = __NR__llseek;
// pub const _NEWSELECT: usize = __NR__newselect;
// pub const _SYSCTL: usize = __NR__sysctl;
pub const ACCEPT: usize = 202;
pub const ACCEPT4: usize = 242;
// pub const ACCESS: usize = __NR_access;
pub const ACCT: usize = 89;
pub const ADD_KEY: usize = 217;
(..)

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

System call number generator

License:Apache License 2.0


Languages

Language:Rust 100.0%