radare2/libr/syscall/linux.c
pancake c5e588e6e5 * Initial import of libr
- Previous commits has been reported in the ChangeLog file
  - hg log has been lost (moved inside ChangeLog)
  - Old radare1 repository has removed all the libr
2009-02-05 22:08:46 +01:00

46 lines
1.2 KiB
C

#include "r_syscall.h"
/* syscall-linux */
struct r_syscall_list_t syscalls_linux_x86[] = {
{ "exit", 0x80, 1, 1 },
{ "fork", 0x80, 2, 0 },
{ "read", 0x80, 3, 3 },
{ "write", 0x80, 4, 3 },
{ "open", 0x80, 5, 3 },
{ "close", 0x80, 6, 1 },
{ "waitpid", 0x80, 7, 3 },
{ "creat", 0x80, 8, 2 },
{ "link", 0x80, 9, 2 },
{ "unlink", 0x80, 10, 1 },
{ "execve", 0x80, 11, 3},
{ "chdir", 0x80, 12, 1},
{ "getpid", 0x80, 20, 0},
{ "setuid", 0x80, 23, 1},
{ "getuid", 0x80, 24, 0},
{ "ptrace", 0x80, 26, 4},
{ "utime", 0x80, 30, 2 },
{ "access", 0x80, 33, 2},
{ "kill", 0x80, 37,2 },
{ "dup", 0x80, 41, 2},
{ "brk", 0x80, 45, 1},
{ "signal", 0x80, 48, 2},
{ "ioctl", 0x80, 54, 3 },
{ "mmap", 0x80, 90, 6},
{ "munmap", 0x80, 91, 1},
{ "socketcall", 0x80, 102, 2 },
{ "sigreturn", 0x80, 119, 1 },
{ "clone", 0x80, 120, 4 },
{ "mprotect", 0x80, 125, 3},
{ "rt_sigaction", 0x80, 174, 3},
{ "rt_sigprocmask", 0x80, 175, 3},
{ "sysctl", 0x80, 149, 1 },
{ "mmap2", 0x80, 192, 6},
{ "fstat64", 0x80, 197, 2},
{ "fcntl64", 0x80, 221, 3},
{ "gettid", 0x80, 224, 0},
{ "set_thread_area", 0x80, 243, 2},
{ "get_thread_area", 0x80, 244, 2},
{ "exit_group", 0x80, 252, 1},
{ NULL, 0, 0, 0 }
};