Crate linux_syscalls

source ·

Modules§

  • A collection of environment informations useful to detect features used in syscalls.

Macros§

  • A macro to create/query kernel version.
  • Make a syscall and returns a usize
  • Make a syscall and returns a Result<usize, Errno>

Structs§

  • Error number representation.

Enums§

  • List of system call numbers.

Functions§

  • Initialize the environment for the library. It’s recommended to call it before anything else in the main function.
  • Initialize library from arguments count and arguments list (int argc, char **argv). It’s recommended to call it before anything else in the main function.
  • Initialize library from auxv pointer. It’s recommended to call it before anything else in the main function.
  • Initialize library from the environment list pointer (char **envp). It’s recommended to call it before anything else in the main function.
  • Make a raw system call with 0 arguments.
  • Make a raw system call with 0 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 1 argument.
  • Make a raw system call with 1 argument. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 2 arguments.
  • Make a raw system call with 2 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 3 arguments.
  • Make a raw system call with 3 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 4 arguments.
  • Make a raw system call with 4 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 5 arguments.
  • Make a raw system call with 5 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 6 arguments.
  • Make a raw system call with 6 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 0 arguments.
  • Make a raw system call with 0 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 1 argument.
  • Make a raw system call with 7 arguments. It’s assured that it will not return.
  • Make a raw system call with 1 argument. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 2 arguments.
  • Make a raw system call with 2 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 3 arguments.
  • Make a raw system call with 3 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 4 arguments.
  • Make a raw system call with 4 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 5 arguments.
  • Make a raw system call with 5 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.
  • Make a raw system call with 6 arguments.
  • Make a raw system call with 6 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.