Skip to content

Instantly share code, notes, and snippets.

@jasonwhite
Created June 4, 2020 17:35
Show Gist options
  • Save jasonwhite/530c8a960f22e882decd1c941ccdb6cf to your computer and use it in GitHub Desktop.
Save jasonwhite/530c8a960f22e882decd1c941ccdb6cf to your computer and use it in GitHub Desktop.
x64 syscalls
[
{
"num": 0,
"name": "sys_read",
"params": [
[
"unsigned int",
"fd"
],
[
"char *",
"buf"
],
[
"size_t",
"count"
]
]
},
{
"num": 1,
"name": "sys_write",
"params": [
[
"unsigned int",
"fd"
],
[
"const char *",
"buf"
],
[
"size_t",
"count"
]
]
},
{
"num": 2,
"name": "sys_open",
"params": [
[
"const char *",
"filename"
],
[
"int",
"flags"
],
[
"umode_t",
"mode"
]
]
},
{
"num": 3,
"name": "sys_close",
"params": [
[
"unsigned int",
"fd"
]
]
},
{
"num": 4,
"name": "sys_newstat",
"params": [
[
"const char *",
"filename"
],
[
"struct stat *",
"statbuf"
]
]
},
{
"num": 5,
"name": "sys_newfstat",
"params": [
[
"unsigned int",
"fd"
],
[
"struct stat *",
"statbuf"
]
]
},
{
"num": 6,
"name": "sys_newlstat",
"params": [
[
"const char *",
"filename"
],
[
"struct stat *",
"statbuf"
]
]
},
{
"num": 7,
"name": "sys_poll",
"params": [
[
"struct pollfd *",
"ufds"
],
[
"unsigned int",
"nfds"
],
[
"int",
"timeout_msecs"
]
]
},
{
"num": 8,
"name": "sys_lseek",
"params": [
[
"unsigned int",
"fd"
],
[
"off_t",
"offset"
],
[
"unsigned int",
"whence"
]
]
},
{
"num": 9,
"name": "sys_mmap",
"params": [
[
"unsigned long",
"addr"
],
[
"unsigned long",
"len"
],
[
"unsigned long",
"prot"
],
[
"unsigned long",
"flags"
],
[
"unsigned long",
"fd"
],
[
"unsigned long",
"off"
]
]
},
{
"num": 10,
"name": "sys_mprotect",
"params": [
[
"unsigned long",
"start"
],
[
"size_t",
"len"
],
[
"unsigned long",
"prot"
]
]
},
{
"num": 11,
"name": "sys_munmap",
"params": [
[
"unsigned long",
"addr"
],
[
"size_t",
"len"
]
]
},
{
"num": 12,
"name": "sys_brk",
"params": [
[
"unsigned long",
"brk"
]
]
},
{
"num": 13,
"name": "sys_rt_sigaction",
"params": [
[
"int",
"sig"
],
[
"const struct sigaction *",
"act"
],
[
"struct sigaction *",
"oact"
],
[
"size_t",
"sigsetsize"
]
]
},
{
"num": 14,
"name": "sys_rt_sigprocmask",
"params": [
[
"int",
"how"
],
[
"sigset_t *",
"nset"
],
[
"sigset_t *",
"oset"
],
[
"size_t",
"sigsetsize"
]
]
},
{
"num": 15,
"name": "sys_rt_sigreturn",
"params": []
},
{
"num": 16,
"name": "sys_ioctl",
"params": [
[
"unsigned int",
"fd"
],
[
"unsigned int",
"cmd"
],
[
"unsigned long",
"arg"
]
]
},
{
"num": 17,
"name": "sys_pread64",
"params": [
[
"unsigned int",
"fd"
],
[
"char *",
"buf"
],
[
"size_t",
"count"
],
[
"loff_t",
"pos"
]
]
},
{
"num": 18,
"name": "sys_pwrite64",
"params": [
[
"unsigned int",
"fd"
],
[
"const char *",
"buf"
],
[
"size_t",
"count"
],
[
"loff_t",
"pos"
]
]
},
{
"num": 19,
"name": "sys_readv",
"params": [
[
"unsigned long",
"fd"
],
[
"const struct iovec *",
"vec"
],
[
"unsigned long",
"vlen"
]
]
},
{
"num": 20,
"name": "sys_writev",
"params": [
[
"unsigned long",
"fd"
],
[
"const struct iovec *",
"vec"
],
[
"unsigned long",
"vlen"
]
]
},
{
"num": 21,
"name": "sys_access",
"params": [
[
"const char *",
"filename"
],
[
"int",
"mode"
]
]
},
{
"num": 22,
"name": "sys_pipe",
"params": [
[
"int *",
"fildes"
]
]
},
{
"num": 23,
"name": "sys_select",
"params": [
[
"int",
"n"
],
[
"fd_set *",
"inp"
],
[
"fd_set *",
"outp"
],
[
"fd_set *",
"exp"
],
[
"struct timeval *",
"tvp"
]
]
},
{
"num": 24,
"name": "sys_sched_yield",
"params": []
},
{
"num": 25,
"name": "sys_mremap",
"params": [
[
"unsigned long",
"addr"
],
[
"unsigned long",
"old_len"
],
[
"unsigned long",
"new_len"
],
[
"unsigned long",
"flags"
],
[
"unsigned long",
"new_addr"
]
]
},
{
"num": 26,
"name": "sys_msync",
"params": [
[
"unsigned long",
"start"
],
[
"size_t",
"len"
],
[
"int",
"flags"
]
]
},
{
"num": 27,
"name": "sys_mincore",
"params": [
[
"unsigned long",
"start"
],
[
"size_t",
"len"
],
[
"unsigned char *",
"vec"
]
]
},
{
"num": 28,
"name": "sys_madvise",
"params": [
[
"unsigned long",
"start"
],
[
"size_t",
"len_in"
],
[
"int",
"behavior"
]
]
},
{
"num": 29,
"name": "sys_shmget",
"params": [
[
"key_t",
"key"
],
[
"size_t",
"size"
],
[
"int",
"shmflg"
]
]
},
{
"num": 30,
"name": "sys_shmat",
"params": [
[
"int",
"shmid"
],
[
"char *",
"shmaddr"
],
[
"int",
"shmflg"
]
]
},
{
"num": 31,
"name": "sys_shmctl",
"params": [
[
"int",
"shmid"
],
[
"int",
"cmd"
],
[
"struct shmid_ds *",
"buf"
]
]
},
{
"num": 32,
"name": "sys_dup",
"params": [
[
"unsigned int",
"fildes"
]
]
},
{
"num": 33,
"name": "sys_dup2",
"params": [
[
"unsigned int",
"oldfd"
],
[
"unsigned int",
"newfd"
]
]
},
{
"num": 34,
"name": "sys_pause",
"params": []
},
{
"num": 35,
"name": "sys_nanosleep",
"params": [
[
"struct __kernel_timespec *",
"rqtp"
],
[
"struct __kernel_timespec *",
"rmtp"
]
]
},
{
"num": 36,
"name": "sys_getitimer",
"params": [
[
"int",
"which"
],
[
"struct itimerval *",
"value"
]
]
},
{
"num": 37,
"name": "sys_alarm",
"params": [
[
"unsigned int",
"seconds"
]
]
},
{
"num": 38,
"name": "sys_setitimer",
"params": [
[
"int",
"which"
],
[
"struct itimerval *",
"value"
],
[
"struct itimerval *",
"ovalue"
]
]
},
{
"num": 39,
"name": "sys_getpid",
"params": []
},
{
"num": 40,
"name": "sys_sendfile64",
"params": [
[
"int",
"out_fd"
],
[
"int",
"in_fd"
],
[
"loff_t *",
"offset"
],
[
"size_t",
"count"
]
]
},
{
"num": 41,
"name": "sys_socket",
"params": [
[
"int",
"family"
],
[
"int",
"type"
],
[
"int",
"protocol"
]
]
},
{
"num": 42,
"name": "sys_connect",
"params": [
[
"int",
"fd"
],
[
"struct sockaddr *",
"uservaddr"
],
[
"int",
"addrlen"
]
]
},
{
"num": 43,
"name": "sys_accept",
"params": [
[
"int",
"fd"
],
[
"struct sockaddr *",
"upeer_sockaddr"
],
[
"int *",
"upeer_addrlen"
]
]
},
{
"num": 44,
"name": "sys_sendto",
"params": [
[
"int",
"fd"
],
[
"void *",
"buff"
],
[
"size_t",
"len"
],
[
"unsigned int",
"flags"
],
[
"struct sockaddr *",
"addr"
],
[
"int",
"addr_len"
]
]
},
{
"num": 45,
"name": "sys_recvfrom",
"params": [
[
"int",
"fd"
],
[
"void *",
"ubuf"
],
[
"size_t",
"size"
],
[
"unsigned int",
"flags"
],
[
"struct sockaddr *",
"addr"
],
[
"int *",
"addr_len"
]
]
},
{
"num": 46,
"name": "sys_sendmsg",
"params": [
[
"int",
"fd"
],
[
"struct user_msghdr *",
"msg"
],
[
"unsigned int",
"flags"
]
]
},
{
"num": 47,
"name": "sys_recvmsg",
"params": [
[
"int",
"fd"
],
[
"struct user_msghdr *",
"msg"
],
[
"unsigned int",
"flags"
]
]
},
{
"num": 48,
"name": "sys_shutdown",
"params": [
[
"int",
"fd"
],
[
"int",
"how"
]
]
},
{
"num": 49,
"name": "sys_bind",
"params": [
[
"int",
"fd"
],
[
"struct sockaddr *",
"umyaddr"
],
[
"int",
"addrlen"
]
]
},
{
"num": 50,
"name": "sys_listen",
"params": [
[
"int",
"fd"
],
[
"int",
"backlog"
]
]
},
{
"num": 51,
"name": "sys_getsockname",
"params": [
[
"int",
"fd"
],
[
"struct sockaddr *",
"usockaddr"
],
[
"int *",
"usockaddr_len"
]
]
},
{
"num": 52,
"name": "sys_getpeername",
"params": [
[
"int",
"fd"
],
[
"struct sockaddr *",
"usockaddr"
],
[
"int *",
"usockaddr_len"
]
]
},
{
"num": 53,
"name": "sys_socketpair",
"params": [
[
"int",
"family"
],
[
"int",
"type"
],
[
"int",
"protocol"
],
[
"int *",
"usockvec"
]
]
},
{
"num": 54,
"name": "sys_setsockopt",
"params": [
[
"int",
"fd"
],
[
"int",
"level"
],
[
"int",
"optname"
],
[
"char *",
"optval"
],
[
"int",
"optlen"
]
]
},
{
"num": 55,
"name": "sys_getsockopt",
"params": [
[
"int",
"fd"
],
[
"int",
"level"
],
[
"int",
"optname"
],
[
"char *",
"optval"
],
[
"int *",
"optlen"
]
]
},
{
"num": 56,
"name": "sys_clone",
"params": [
[
"unsigned long",
"clone_flags"
],
[
"unsigned long",
"newsp"
],
[
"int *",
"parent_tidptr"
],
[
"int *",
"child_tidptr"
],
[
"unsigned long",
"tls"
]
]
},
{
"num": 57,
"name": "sys_fork",
"params": []
},
{
"num": 58,
"name": "sys_vfork",
"params": []
},
{
"num": 59,
"name": "sys_execve",
"params": [
[
"const char *",
"filename"
],
[
"const char *const *",
"argv"
],
[
"const char *const *",
"envp"
]
]
},
{
"num": 60,
"name": "sys_exit",
"params": [
[
"int",
"error_code"
]
]
},
{
"num": 61,
"name": "sys_wait4",
"params": [
[
"pid_t",
"upid"
],
[
"int *",
"stat_addr"
],
[
"int",
"options"
],
[
"struct rusage *",
"ru"
]
]
},
{
"num": 62,
"name": "sys_kill",
"params": [
[
"pid_t",
"pid"
],
[
"int",
"sig"
]
]
},
{
"num": 63,
"name": "sys_newuname",
"params": [
[
"struct new_utsname *",
"name"
]
]
},
{
"num": 64,
"name": "sys_semget",
"params": [
[
"key_t",
"key"
],
[
"int",
"nsems"
],
[
"int",
"semflg"
]
]
},
{
"num": 65,
"name": "sys_semop",
"params": [
[
"int",
"semid"
],
[
"struct sembuf *",
"tsops"
],
[
"unsigned",
"nsops"
]
]
},
{
"num": 66,
"name": "sys_semctl",
"params": [
[
"int",
"semid"
],
[
"int",
"semnum"
],
[
"int",
"cmd"
],
[
"unsigned long",
"arg"
]
]
},
{
"num": 67,
"name": "sys_shmdt",
"params": [
[
"char *",
"shmaddr"
]
]
},
{
"num": 68,
"name": "sys_msgget",
"params": [
[
"key_t",
"key"
],
[
"int",
"msgflg"
]
]
},
{
"num": 69,
"name": "sys_msgsnd",
"params": [
[
"int",
"msqid"
],
[
"struct msgbuf *",
"msgp"
],
[
"size_t",
"msgsz"
],
[
"int",
"msgflg"
]
]
},
{
"num": 70,
"name": "sys_msgrcv",
"params": [
[
"int",
"msqid"
],
[
"struct msgbuf *",
"msgp"
],
[
"size_t",
"msgsz"
],
[
"long",
"msgtyp"
],
[
"int",
"msgflg"
]
]
},
{
"num": 71,
"name": "sys_msgctl",
"params": [
[
"int",
"msqid"
],
[
"int",
"cmd"
],
[
"struct msqid_ds *",
"buf"
]
]
},
{
"num": 72,
"name": "sys_fcntl",
"params": [
[
"unsigned int",
"fd"
],
[
"unsigned int",
"cmd"
],
[
"unsigned long",
"arg"
]
]
},
{
"num": 73,
"name": "sys_flock",
"params": [
[
"unsigned int",
"fd"
],
[
"unsigned int",
"cmd"
]
]
},
{
"num": 74,
"name": "sys_fsync",
"params": [
[
"unsigned int",
"fd"
]
]
},
{
"num": 75,
"name": "sys_fdatasync",
"params": [
[
"unsigned int",
"fd"
]
]
},
{
"num": 76,
"name": "sys_truncate",
"params": [
[
"const char *",
"path"
],
[
"long",
"length"
]
]
},
{
"num": 77,
"name": "sys_ftruncate",
"params": [
[
"unsigned int",
"fd"
],
[
"unsigned long",
"length"
]
]
},
{
"num": 78,
"name": "sys_getdents",
"params": [
[
"unsigned int",
"fd"
],
[
"struct linux_dirent *",
"dirent"
],
[
"unsigned int",
"count"
]
]
},
{
"num": 79,
"name": "sys_getcwd",
"params": [
[
"char *",
"buf"
],
[
"unsigned long",
"size"
]
]
},
{
"num": 80,
"name": "sys_chdir",
"params": [
[
"const char *",
"filename"
]
]
},
{
"num": 81,
"name": "sys_fchdir",
"params": [
[
"unsigned int",
"fd"
]
]
},
{
"num": 82,
"name": "sys_rename",
"params": [
[
"const char *",
"oldname"
],
[
"const char *",
"newname"
]
]
},
{
"num": 83,
"name": "sys_mkdir",
"params": [
[
"const char *",
"pathname"
],
[
"umode_t",
"mode"
]
]
},
{
"num": 84,
"name": "sys_rmdir",
"params": [
[
"const char *",
"pathname"
]
]
},
{
"num": 85,
"name": "sys_creat",
"params": [
[
"const char *",
"pathname"
],
[
"umode_t",
"mode"
]
]
},
{
"num": 86,
"name": "sys_link",
"params": [
[
"const char *",
"oldname"
],
[
"const char *",
"newname"
]
]
},
{
"num": 87,
"name": "sys_unlink",
"params": [
[
"const char *",
"pathname"
]
]
},
{
"num": 88,
"name": "sys_symlink",
"params": [
[
"const char *",
"oldname"
],
[
"const char *",
"newname"
]
]
},
{
"num": 89,
"name": "sys_readlink",
"params": [
[
"const char *",
"path"
],
[
"char *",
"buf"
],
[
"int",
"bufsiz"
]
]
},
{
"num": 90,
"name": "sys_chmod",
"params": [
[
"const char *",
"filename"
],
[
"umode_t",
"mode"
]
]
},
{
"num": 91,
"name": "sys_fchmod",
"params": [
[
"unsigned int",
"fd"
],
[
"umode_t",
"mode"
]
]
},
{
"num": 92,
"name": "sys_chown",
"params": [
[
"const char *",
"filename"
],
[
"uid_t",
"user"
],
[
"gid_t",
"group"
]
]
},
{
"num": 93,
"name": "sys_fchown",
"params": [
[
"unsigned int",
"fd"
],
[
"uid_t",
"user"
],
[
"gid_t",
"group"
]
]
},
{
"num": 94,
"name": "sys_lchown",
"params": [
[
"const char *",
"filename"
],
[
"uid_t",
"user"
],
[
"gid_t",
"group"
]
]
},
{
"num": 95,
"name": "sys_umask",
"params": [
[
"int",
"mask"
]
]
},
{
"num": 96,
"name": "sys_gettimeofday",
"params": [
[
"struct timeval *",
"tv"
],
[
"struct timezone *",
"tz"
]
]
},
{
"num": 97,
"name": "sys_getrlimit",
"params": [
[
"unsigned int",
"resource"
],
[
"struct rlimit *",
"rlim"
]
]
},
{
"num": 98,
"name": "sys_getrusage",
"params": [
[
"int",
"who"
],
[
"struct rusage *",
"ru"
]
]
},
{
"num": 99,
"name": "sys_sysinfo",
"params": [
[
"struct sysinfo *",
"info"
]
]
},
{
"num": 100,
"name": "sys_times",
"params": [
[
"struct tms *",
"tbuf"
]
]
},
{
"num": 101,
"name": "sys_ptrace",
"params": [
[
"long",
"request"
],
[
"long",
"pid"
],
[
"unsigned long",
"addr"
],
[
"unsigned long",
"data"
]
]
},
{
"num": 102,
"name": "sys_getuid",
"params": []
},
{
"num": 103,
"name": "sys_syslog",
"params": [
[
"int",
"type"
],
[
"char *",
"buf"
],
[
"int",
"len"
]
]
},
{
"num": 104,
"name": "sys_getgid",
"params": []
},
{
"num": 105,
"name": "sys_setuid",
"params": [
[
"uid_t",
"uid"
]
]
},
{
"num": 106,
"name": "sys_setgid",
"params": [
[
"gid_t",
"gid"
]
]
},
{
"num": 107,
"name": "sys_geteuid",
"params": []
},
{
"num": 108,
"name": "sys_getegid",
"params": []
},
{
"num": 109,
"name": "sys_setpgid",
"params": [
[
"pid_t",
"pid"
],
[
"pid_t",
"pgid"
]
]
},
{
"num": 110,
"name": "sys_getppid",
"params": []
},
{
"num": 111,
"name": "sys_getpgrp",
"params": []
},
{
"num": 112,
"name": "sys_setsid",
"params": []
},
{
"num": 113,
"name": "sys_setreuid",
"params": [
[
"uid_t",
"ruid"
],
[
"uid_t",
"euid"
]
]
},
{
"num": 114,
"name": "sys_setregid",
"params": [
[
"gid_t",
"rgid"
],
[
"gid_t",
"egid"
]
]
},
{
"num": 115,
"name": "sys_getgroups",
"params": [
[
"int",
"gidsetsize"
],
[
"gid_t *",
"grouplist"
]
]
},
{
"num": 116,
"name": "sys_setgroups",
"params": [
[
"int",
"gidsetsize"
],
[
"gid_t *",
"grouplist"
]
]
},
{
"num": 117,
"name": "sys_setresuid",
"params": [
[
"uid_t",
"ruid"
],
[
"uid_t",
"euid"
],
[
"uid_t",
"suid"
]
]
},
{
"num": 118,
"name": "sys_getresuid",
"params": [
[
"uid_t *",
"ruidp"
],
[
"uid_t *",
"euidp"
],
[
"uid_t *",
"suidp"
]
]
},
{
"num": 119,
"name": "sys_setresgid",
"params": [
[
"gid_t",
"rgid"
],
[
"gid_t",
"egid"
],
[
"gid_t",
"sgid"
]
]
},
{
"num": 120,
"name": "sys_getresgid",
"params": [
[
"gid_t *",
"rgidp"
],
[
"gid_t *",
"egidp"
],
[
"gid_t *",
"sgidp"
]
]
},
{
"num": 121,
"name": "sys_getpgid",
"params": [
[
"pid_t",
"pid"
]
]
},
{
"num": 122,
"name": "sys_setfsuid",
"params": [
[
"uid_t",
"uid"
]
]
},
{
"num": 123,
"name": "sys_setfsgid",
"params": [
[
"gid_t",
"gid"
]
]
},
{
"num": 124,
"name": "sys_getsid",
"params": [
[
"pid_t",
"pid"
]
]
},
{
"num": 125,
"name": "sys_capget",
"params": [
[
"cap_user_header_t",
"header"
],
[
"cap_user_data_t",
"dataptr"
]
]
},
{
"num": 126,
"name": "sys_capset",
"params": [
[
"cap_user_header_t",
"header"
],
[
"const cap_user_data_t",
"data"
]
]
},
{
"num": 127,
"name": "sys_rt_sigpending",
"params": [
[
"sigset_t *",
"uset"
],
[
"size_t",
"sigsetsize"
]
]
},
{
"num": 128,
"name": "sys_rt_sigtimedwait",
"params": [
[
"const sigset_t *",
"uthese"
],
[
"siginfo_t *",
"uinfo"
],
[
"const struct __kernel_timespec *",
"uts"
],
[
"size_t",
"sigsetsize"
]
]
},
{
"num": 129,
"name": "sys_rt_sigqueueinfo",
"params": [
[
"pid_t",
"pid"
],
[
"int",
"sig"
],
[
"siginfo_t *",
"uinfo"
]
]
},
{
"num": 130,
"name": "sys_rt_sigsuspend",
"params": [
[
"sigset_t *",
"unewset"
],
[
"size_t",
"sigsetsize"
]
]
},
{
"num": 131,
"name": "sys_sigaltstack",
"params": [
[
"const stack_t *",
"uss"
],
[
"stack_t *",
"uoss"
]
]
},
{
"num": 132,
"name": "sys_utime",
"params": [
[
"char *",
"filename"
],
[
"struct utimbuf *",
"times"
]
]
},
{
"num": 133,
"name": "sys_mknod",
"params": [
[
"const char *",
"filename"
],
[
"umode_t",
"mode"
],
[
"unsigned",
"dev"
]
]
},
{
"num": 135,
"name": "sys_personality",
"params": [
[
"unsigned int",
"personality"
]
]
},
{
"num": 136,
"name": "sys_ustat",
"params": [
[
"unsigned",
"dev"
],
[
"struct ustat *",
"ubuf"
]
]
},
{
"num": 137,
"name": "sys_statfs",
"params": [
[
"const char *",
"pathname"
],
[
"struct statfs *",
"buf"
]
]
},
{
"num": 138,
"name": "sys_fstatfs",
"params": [
[
"unsigned int",
"fd"
],
[
"struct statfs *",
"buf"
]
]
},
{
"num": 140,
"name": "sys_getpriority",
"params": [
[
"int",
"which"
],
[
"int",
"who"
]
]
},
{
"num": 141,
"name": "sys_setpriority",
"params": [
[
"int",
"which"
],
[
"int",
"who"
],
[
"int",
"niceval"
]
]
},
{
"num": 142,
"name": "sys_sched_setparam",
"params": [
[
"pid_t",
"pid"
],
[
"struct sched_param *",
"param"
]
]
},
{
"num": 143,
"name": "sys_sched_getparam",
"params": [
[
"pid_t",
"pid"
],
[
"struct sched_param *",
"param"
]
]
},
{
"num": 144,
"name": "sys_sched_setscheduler",
"params": [
[
"pid_t",
"pid"
],
[
"int",
"policy"
],
[
"struct sched_param *",
"param"
]
]
},
{
"num": 145,
"name": "sys_sched_getscheduler",
"params": [
[
"pid_t",
"pid"
]
]
},
{
"num": 146,
"name": "sys_sched_get_priority_max",
"params": [
[
"int",
"policy"
]
]
},
{
"num": 147,
"name": "sys_sched_get_priority_min",
"params": [
[
"int",
"policy"
]
]
},
{
"num": 148,
"name": "sys_sched_rr_get_interval",
"params": [
[
"pid_t",
"pid"
],
[
"struct __kernel_timespec *",
"interval"
]
]
},
{
"num": 149,
"name": "sys_mlock",
"params": [
[
"unsigned long",
"start"
],
[
"size_t",
"len"
]
]
},
{
"num": 150,
"name": "sys_munlock",
"params": [
[
"unsigned long",
"start"
],
[
"size_t",
"len"
]
]
},
{
"num": 151,
"name": "sys_mlockall",
"params": [
[
"int",
"flags"
]
]
},
{
"num": 152,
"name": "sys_munlockall",
"params": []
},
{
"num": 153,
"name": "sys_vhangup",
"params": []
},
{
"num": 154,
"name": "sys_modify_ldt",
"params": [
[
"int",
"func"
],
[
"void *",
"ptr"
],
[
"unsigned long",
"bytecount"
]
]
},
{
"num": 155,
"name": "sys_pivot_root",
"params": [
[
"const char *",
"new_root"
],
[
"const char *",
"put_old"
]
]
},
{
"num": 156,
"name": "sys_sysctl",
"params": [
[
"struct __sysctl_args *",
"args"
]
]
},
{
"num": 157,
"name": "sys_prctl",
"params": [
[
"int",
"option"
],
[
"unsigned long",
"arg2"
],
[
"unsigned long",
"arg3"
],
[
"unsigned long",
"arg4"
],
[
"unsigned long",
"arg5"
]
]
},
{
"num": 158,
"name": "sys_arch_prctl",
"params": [
[
"int",
"option"
],
[
"unsigned long",
"arg2"
]
]
},
{
"num": 159,
"name": "sys_adjtimex",
"params": [
[
"struct __kernel_timex *",
"txc_p"
]
]
},
{
"num": 160,
"name": "sys_setrlimit",
"params": [
[
"unsigned int",
"resource"
],
[
"struct rlimit *",
"rlim"
]
]
},
{
"num": 161,
"name": "sys_chroot",
"params": [
[
"const char *",
"filename"
]
]
},
{
"num": 162,
"name": "sys_sync",
"params": []
},
{
"num": 164,
"name": "sys_settimeofday",
"params": [
[
"struct timeval *",
"tv"
],
[
"struct timezone *",
"tz"
]
]
},
{
"num": 165,
"name": "sys_mount",
"params": [
[
"char *",
"dev_name"
],
[
"char *",
"dir_name"
],
[
"char *",
"type"
],
[
"unsigned long",
"flags"
],
[
"void *",
"data"
]
]
},
{
"num": 166,
"name": "sys_umount",
"params": [
[
"char *",
"name"
],
[
"int",
"flags"
]
]
},
{
"num": 167,
"name": "sys_swapon",
"params": [
[
"const char *",
"specialfile"
],
[
"int",
"swap_flags"
]
]
},
{
"num": 168,
"name": "sys_swapoff",
"params": [
[
"const char *",
"specialfile"
]
]
},
{
"num": 169,
"name": "sys_reboot",
"params": [
[
"int",
"magic1"
],
[
"int",
"magic2"
],
[
"unsigned int",
"cmd"
],
[
"void *",
"arg"
]
]
},
{
"num": 170,
"name": "sys_sethostname",
"params": [
[
"char *",
"name"
],
[
"int",
"len"
]
]
},
{
"num": 171,
"name": "sys_setdomainname",
"params": [
[
"char *",
"name"
],
[
"int",
"len"
]
]
},
{
"num": 172,
"name": "sys_iopl",
"params": [
[
"unsigned int",
"level"
]
]
},
{
"num": 173,
"name": "sys_ioperm",
"params": [
[
"unsigned long",
"from"
],
[
"unsigned long",
"num"
],
[
"int",
"turn_on"
]
]
},
{
"num": 175,
"name": "sys_init_module",
"params": [
[
"void *",
"umod"
],
[
"unsigned long",
"len"
],
[
"const char *",
"uargs"
]
]
},
{
"num": 176,
"name": "sys_delete_module",
"params": [
[
"const char *",
"name_user"
],
[
"unsigned int",
"flags"
]
]
},
{
"num": 179,
"name": "sys_quotactl",
"params": [
[
"unsigned int",
"cmd"
],
[
"const char *",
"special"
],
[
"qid_t",
"id"
],
[
"void *",
"addr"
]
]
},
{
"num": 186,
"name": "sys_gettid",
"params": []
},
{
"num": 187,
"name": "sys_readahead",
"params": [
[
"int",
"fd"
],
[
"loff_t",
"offset"
],
[
"size_t",
"count"
]
]
},
{
"num": 188,
"name": "sys_setxattr",
"params": [
[
"const char *",
"pathname"
],
[
"const char *",
"name"
],
[
"const void *",
"value"
],
[
"size_t",
"size"
],
[
"int",
"flags"
]
]
},
{
"num": 189,
"name": "sys_lsetxattr",
"params": [
[
"const char *",
"pathname"
],
[
"const char *",
"name"
],
[
"const void *",
"value"
],
[
"size_t",
"size"
],
[
"int",
"flags"
]
]
},
{
"num": 190,
"name": "sys_fsetxattr",
"params": [
[
"int",
"fd"
],
[
"const char *",
"name"
],
[
"const void *",
"value"
],
[
"size_t",
"size"
],
[
"int",
"flags"
]
]
},
{
"num": 191,
"name": "sys_getxattr",
"params": [
[
"const char *",
"pathname"
],
[
"const char *",
"name"
],
[
"void *",
"value"
],
[
"size_t",
"size"
]
]
},
{
"num": 192,
"name": "sys_lgetxattr",
"params": [
[
"const char *",
"pathname"
],
[
"const char *",
"name"
],
[
"void *",
"value"
],
[
"size_t",
"size"
]
]
},
{
"num": 193,
"name": "sys_fgetxattr",
"params": [
[
"int",
"fd"
],
[
"const char *",
"name"
],
[
"void *",
"value"
],
[
"size_t",
"size"
]
]
},
{
"num": 194,
"name": "sys_listxattr",
"params": [
[
"const char *",
"pathname"
],
[
"char *",
"list"
],
[
"size_t",
"size"
]
]
},
{
"num": 195,
"name": "sys_llistxattr",
"params": [
[
"const char *",
"pathname"
],
[
"char *",
"list"
],
[
"size_t",
"size"
]
]
},
{
"num": 196,
"name": "sys_flistxattr",
"params": [
[
"int",
"fd"
],
[
"char *",
"list"
],
[
"size_t",
"size"
]
]
},
{
"num": 197,
"name": "sys_removexattr",
"params": [
[
"const char *",
"pathname"
],
[
"const char *",
"name"
]
]
},
{
"num": 198,
"name": "sys_lremovexattr",
"params": [
[
"const char *",
"pathname"
],
[
"const char *",
"name"
]
]
},
{
"num": 199,
"name": "sys_fremovexattr",
"params": [
[
"int",
"fd"
],
[
"const char *",
"name"
]
]
},
{
"num": 200,
"name": "sys_tkill",
"params": [
[
"pid_t",
"pid"
],
[
"int",
"sig"
]
]
},
{
"num": 201,
"name": "sys_time",
"params": [
[
"time_t *",
"tloc"
]
]
},
{
"num": 202,
"name": "sys_futex",
"params": [
[
"u32 *",
"uaddr"
],
[
"int",
"op"
],
[
"u32",
"val"
],
[
"struct __kernel_timespec *",
"utime"
],
[
"u32 *",
"uaddr2"
],
[
"u32",
"val3"
]
]
},
{
"num": 203,
"name": "sys_sched_setaffinity",
"params": [
[
"pid_t",
"pid"
],
[
"unsigned int",
"len"
],
[
"unsigned long *",
"user_mask_ptr"
]
]
},
{
"num": 204,
"name": "sys_sched_getaffinity",
"params": [
[
"pid_t",
"pid"
],
[
"unsigned int",
"len"
],
[
"unsigned long *",
"user_mask_ptr"
]
]
},
{
"num": 206,
"name": "sys_io_setup",
"params": [
[
"unsigned",
"nr_events"
],
[
"aio_context_t *",
"ctxp"
]
]
},
{
"num": 207,
"name": "sys_io_destroy",
"params": [
[
"aio_context_t",
"ctx"
]
]
},
{
"num": 208,
"name": "sys_io_getevents",
"params": [
[
"aio_context_t",
"ctx_id"
],
[
"long",
"min_nr"
],
[
"long",
"nr"
],
[
"struct io_event *",
"events"
],
[
"struct __kernel_timespec *",
"timeout"
]
]
},
{
"num": 209,
"name": "sys_io_submit",
"params": [
[
"aio_context_t",
"ctx_id"
],
[
"long",
"nr"
],
[
"struct iocb * *",
"iocbpp"
]
]
},
{
"num": 210,
"name": "sys_io_cancel",
"params": [
[
"aio_context_t",
"ctx_id"
],
[
"struct iocb *",
"iocb"
],
[
"struct io_event *",
"result"
]
]
},
{
"num": 213,
"name": "sys_epoll_create",
"params": [
[
"int",
"size"
]
]
},
{
"num": 216,
"name": "sys_remap_file_pages",
"params": [
[
"unsigned long",
"start"
],
[
"unsigned long",
"size"
],
[
"unsigned long",
"prot"
],
[
"unsigned long",
"pgoff"
],
[
"unsigned long",
"flags"
]
]
},
{
"num": 217,
"name": "sys_getdents64",
"params": [
[
"unsigned int",
"fd"
],
[
"struct linux_dirent64 *",
"dirent"
],
[
"unsigned int",
"count"
]
]
},
{
"num": 218,
"name": "sys_set_tid_address",
"params": [
[
"int *",
"tidptr"
]
]
},
{
"num": 219,
"name": "sys_restart_syscall",
"params": []
},
{
"num": 220,
"name": "sys_semtimedop",
"params": [
[
"int",
"semid"
],
[
"struct sembuf *",
"tsops"
],
[
"unsigned int",
"nsops"
],
[
"const struct __kernel_timespec *",
"timeout"
]
]
},
{
"num": 221,
"name": "sys_fadvise64",
"params": [
[
"int",
"fd"
],
[
"loff_t",
"offset"
],
[
"size_t",
"len"
],
[
"int",
"advice"
]
]
},
{
"num": 222,
"name": "sys_timer_create",
"params": [
[
"const clockid_t",
"which_clock"
],
[
"struct sigevent *",
"timer_event_spec"
],
[
"timer_t *",
"created_timer_id"
]
]
},
{
"num": 223,
"name": "sys_timer_settime",
"params": [
[
"timer_t",
"timer_id"
],
[
"int",
"flags"
],
[
"const struct __kernel_itimerspec *",
"new_setting"
],
[
"struct __kernel_itimerspec *",
"old_setting"
]
]
},
{
"num": 224,
"name": "sys_timer_gettime",
"params": [
[
"timer_t",
"timer_id"
],
[
"struct __kernel_itimerspec *",
"setting"
]
]
},
{
"num": 225,
"name": "sys_timer_getoverrun",
"params": [
[
"timer_t",
"timer_id"
]
]
},
{
"num": 226,
"name": "sys_timer_delete",
"params": [
[
"timer_t",
"timer_id"
]
]
},
{
"num": 227,
"name": "sys_clock_settime",
"params": [
[
"const clockid_t",
"which_clock"
],
[
"const struct __kernel_timespec *",
"tp"
]
]
},
{
"num": 228,
"name": "sys_clock_gettime",
"params": [
[
"const clockid_t",
"which_clock"
],
[
"struct __kernel_timespec *",
"tp"
]
]
},
{
"num": 229,
"name": "sys_clock_getres",
"params": [
[
"const clockid_t",
"which_clock"
],
[
"struct __kernel_timespec *",
"tp"
]
]
},
{
"num": 230,
"name": "sys_clock_nanosleep",
"params": [
[
"const clockid_t",
"which_clock"
],
[
"int",
"flags"
],
[
"const struct __kernel_timespec *",
"rqtp"
],
[
"struct __kernel_timespec *",
"rmtp"
]
]
},
{
"num": 231,
"name": "sys_exit_group",
"params": [
[
"int",
"error_code"
]
]
},
{
"num": 232,
"name": "sys_epoll_wait",
"params": [
[
"int",
"epfd"
],
[
"struct epoll_event *",
"events"
],
[
"int",
"maxevents"
],
[
"int",
"timeout"
]
]
},
{
"num": 233,
"name": "sys_epoll_ctl",
"params": [
[
"int",
"epfd"
],
[
"int",
"op"
],
[
"int",
"fd"
],
[
"struct epoll_event *",
"event"
]
]
},
{
"num": 234,
"name": "sys_tgkill",
"params": [
[
"pid_t",
"tgid"
],
[
"pid_t",
"pid"
],
[
"int",
"sig"
]
]
},
{
"num": 235,
"name": "sys_utimes",
"params": [
[
"char *",
"filename"
],
[
"struct timeval *",
"utimes"
]
]
},
{
"num": 237,
"name": "sys_mbind",
"params": [
[
"unsigned long",
"start"
],
[
"unsigned long",
"len"
],
[
"unsigned long",