项目作者: japaric-archived

项目描述 :
System call number generator
高级语言: Rust
项目地址: git://github.com/japaric-archived/sc-gen.git
创建时间: 2017-01-13T05:38:06Z
项目社区:https://github.com/japaric-archived/sc-gen

开源协议:Other

下载


Status

This tool has been DEPRECATED in favor of the python tool that lives in the
syscall.rs repository.

@japaric, 2017-04-01


sc-gen

System call number generator

Usage

  1. $ docker run -it japaric/aarch64-unknown-linux-gnu:v0.1.4
  2. # Within the docker image
  3. $ sc-gen aarch64-linux-gnu
  4. /* Automatically generated by sc-gen 0.1.0 */
  5. // pub const _LLSEEK: usize = __NR__llseek;
  6. // pub const _NEWSELECT: usize = __NR__newselect;
  7. // pub const _SYSCTL: usize = __NR__sysctl;
  8. pub const ACCEPT: usize = 202;
  9. pub const ACCEPT4: usize = 242;
  10. // pub const ACCESS: usize = __NR_access;
  11. pub const ACCT: usize = 89;
  12. pub const ADD_KEY: usize = 217;
  13. (..)

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.