Crate linux_syscalls Copy item path Source env A collection of environment informations useful to detect features used in
syscalls. kversion A macro to create/query kernel version. raw_syscall Make a syscall and returns a usize
syscall Make a syscall and returns a Result<usize, Errno>
Errno Error number representation. Sysno List of system call numbers. init Initialize the environment for the library.
It’s recommended to call it before anything else in the main function. init_from_args ⚠ 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. init_from_auxv ⚠ Initialize library from auxv pointer.
It’s recommended to call it before anything else in the main function. init_from_environ ⚠ Initialize library from the environment list pointer (char **envp
).
It’s recommended to call it before anything else in the main function. raw_syscall0 ⚠ Make a raw system call with 0 arguments. raw_syscall0_readonly ⚠ Make a raw system call with 0 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. raw_syscall1 ⚠ Make a raw system call with 1 argument. raw_syscall2 ⚠ Make a raw system call with 2 arguments. raw_syscall3 ⚠ Make a raw system call with 3 arguments. raw_syscall4 ⚠ Make a raw system call with 4 arguments. raw_syscall5 ⚠ Make a raw system call with 5 arguments. raw_syscall6 ⚠ Make a raw system call with 6 arguments. raw_syscall1_readonly ⚠ Make a raw system call with 1 argument.
Like the non _readonly
version but you declare that syscall does not mutate any memory. raw_syscall2_readonly ⚠ Make a raw system call with 2 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. raw_syscall3_readonly ⚠ Make a raw system call with 3 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. raw_syscall4_readonly ⚠ Make a raw system call with 4 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. raw_syscall5_readonly ⚠ Make a raw system call with 5 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. raw_syscall6_readonly ⚠ Make a raw system call with 6 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. syscall0 ⚠ Make a raw system call with 0 arguments. syscall0_readonly ⚠ Make a raw system call with 0 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. syscall1 ⚠ Make a raw system call with 1 argument. syscall2 ⚠ Make a raw system call with 2 arguments. syscall3 ⚠ Make a raw system call with 3 arguments. syscall4 ⚠ Make a raw system call with 4 arguments. syscall5 ⚠ Make a raw system call with 5 arguments. syscall6 ⚠ Make a raw system call with 6 arguments. syscall1_noreturn ⚠ Make a raw system call with 7 arguments.
It’s assured that it will not return. syscall1_readonly ⚠ Make a raw system call with 1 argument.
Like the non _readonly
version but you declare that syscall does not mutate any memory. syscall2_readonly ⚠ Make a raw system call with 2 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. syscall3_readonly ⚠ Make a raw system call with 3 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. syscall4_readonly ⚠ Make a raw system call with 4 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. syscall5_readonly ⚠ Make a raw system call with 5 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory. syscall6_readonly ⚠ Make a raw system call with 6 arguments.
Like the non _readonly
version but you declare that syscall does not mutate any memory.