Num syscall %rax %rdi %rsi %rdx %rcx %r8 %r9
0. sys_read 0. unsigned int fd char *buf size_t count
1. sys_write 1. unsigned int fd const char *buf size_t count
2. sys_open 2. const char *filename int flags int mode
3. sys_close 3. unsigned int fd
4. sys_stat 4. const char *filename struct stat *statbuf
5. sys_fstat 5. unsigned int fd struct stat *statbuf
6. sys_lstat 6. fconst char *filename struct stat *statbuf
7. sys_poll 7. struct poll_fd *ufds unsigned int nfds long timeout_msecs
8. sys_lseek 8. unsigned int fd off_t offset unsigned int origin
9. sys_mmap 9. unsigned long addr unsigned long len unsigned long prot unsigned long flags unsigned long fd unsigned long off
10. sys_mprotect 10. unsigned long start size_t len unsigned long prot
11. sys_munmap 11. unsigned long addr size_t len
12. sys_brk 12. unsigned long brk
13. sys_rt_sigaction 13. int sig const struct sigaction *act struct sigaction *oact size_t sigsetsize
14. sys_rt_sigprocmask 14. int how sigset_t *nset sigset_t *oset size_t sigsetsize
15. sys_rt_sigreturn 15. unsigned long __unused
16. sys_ioctl 16. unsigned int fd unsigned int cmd unsigned long arg
17. sys_pread64 17. unsigned long fd char *buf size_t count loff_t pos
18. sys_pwrite64 18. unsigned int fd const char *buf size_t count loff_t pos
19. sys_readv 19. unsigned long fd const struct iovec *vec unsigned long vlen
20. sys_writev 20. unsigned long fd const struct iovec *vec unsigned long vlen
21. sys_access 21. const char *filename int mode
22. sys_pipe 22. int *filedes
23. sys_select 23. int n fd_set *inp fd_set *outp fd_set*exp struct timeval *tvp
24. sys_sched_yield 24.
25. sys_mremap 25. unsigned long addr unsigned long old_len unsigned long new_len unsigned long flags unsigned long new_addr
26. sys_msync 26. unsigned long start size_t len int flags
27. sys_mincore 27. unsigned long start size_t len unsigned char *vec
28. sys_madvise 28. unsigned long start size_t len_in int behavior
29. sys_shmget 29. key_t key size_t size int shmflg
30. sys_shmat 30. int shmid char *shmaddr int shmflg
31. sys_shmctl 31. int shmid int cmd struct shmid_ds *buf
32. sys_dup 32. unsigned int fildes
33. sys_dup2 33. unsigned int oldfd unsigned int newfd
34. sys_pause 34.
35. sys_nanosleep 35. struct timespec *rqtp struct timespec *rmtp
36. sys_getitimer 36. int which struct itimerval *value
37. sys_alarm 37. unsigned int seconds
38. sys_setitimer 38. int which struct itimerval *value struct itimerval *ovalue
39. sys_getpid 39.
40. sys_sendfile 40. int out_fd int in_fd off_t *offset size_t count
41. sys_socket 41. int family int type int protocol
42. sys_connect 42. int fd struct sockaddr *uservaddr int addrlen
43. sys_accept 43. int fd struct sockaddr *upeer_sockaddr int *upeer_addrlen
44. sys_sendto 44. int fd void *buff size_t len unsigned flags struct sockaddr *addr int addr_len
45. sys_recvfrom 45. int fd void *ubuf size_t size unsigned flags struct sockaddr *addr int *addr_len
46. sys_sendmsg 46. int fd struct msghdr *msg unsigned flags
47. sys_recvmsg 47. int fd struct msghdr *msg unsigned int flags
48. sys_shutdown 48. int fd int how
49. sys_bind 49. int fd struct sokaddr *umyaddr int addrlen
50. sys_listen 50. int fd int backlog
51. sys_getsockname 51. int fd struct sockaddr *usockaddr int *usockaddr_len
52. sys_getpeername 52. int fd struct sockaddr *usockaddr int *usockaddr_len
53. sys_socketpair 53. int family int type int protocol int *usockvec
54. sys_setsockopt 54. int fd int level int optname char *optval int optlen
55. sys_getsockopt 55. int fd int level int optname char *optval int *optlen
56. sys_clone 56. unsigned long clone_flags unsigned long newsp void *parent_tid void *child_tid
57. sys_fork 57.
58. sys_vfork 58.
59. sys_execve 59. const char *filename const char *const argv[] const char *const envp[]
60. sys_exit 60. int error_code
61. sys_wait4 61. pid_t upid int *stat_addr int options struct rusage *ru
62. sys_kill 62. pid_t pid int sig
63. sys_uname 63. struct old_utsname *name
64. sys_semget 64. key_t key int nsems int semflg
65. sys_semop 65. int semid struct sembuf *tsops unsigned nsops
66. sys_semctl 66. int semid int semnum int cmd union semun arg
67. sys_shmdt 67. char *shmaddr
68. sys_msgget 68. key_t key int msgflg
69. sys_msgsnd 69. int msqid struct msgbuf *msgp size_t msgsz int msgflg
70. sys_msgrcv 70. int msqid struct msgbuf *msgp size_t msgsz long msgtyp int msgflg
71. sys_msgctl 71. int msqid int cmd struct msqid_ds *buf
72. sys_fcntl 72. unsigned int fd unsigned int cmd unsigned long arg
73. sys_flock 73. unsigned int fd unsigned int cmd
74. sys_fsync 74. unsigned int fd
75. sys_fdatasync 75. unsigned int fd
76. sys_truncate 76. const char *path long length
77. sys_ftruncate 77. unsigned int fd unsigned long length
78. sys_getdents 78. unsigned int fd struct linux_dirent *dirent unsigned int count
79. sys_getcwd 79. char *buf unsigned long size
80. sys_chdir 80. const char *filename
81. sys_fchdir 81. unsigned int fd
82. sys_rename 82. const char *oldname const char *newname
83. sys_mkdir 83. const char *pathname int mode
84. sys_rmdir 84. const char *pathname
85. sys_creat 85. const char *pathname int mode
86. sys_link 86. const char *oldname const char *newname
87. sys_unlink 87. const char *pathname
88. sys_symlink 88. const char *oldname const char *newname
89. sys_readlink 89. const char *path char *buf int bufsiz
90. sys_chmod 90. const char *filename mode_t mode
91. sys_fchmod 91. unsigned int fd mode_t mode
92. sys_chown 92. const char *filename uid_t user git_t group
93. sys_fchown 93. unsigned int fd uid_t user git_t group
94. sys_lchown 94. const char *filename uid_t user git_t group
95. sys_umask 95. int mask
96. sys_gettimeofday 96. struct timeval *tv struct timezone *tz
97. sys_getrlimit 97. unsigned int resource struct rlimit *rlim
98. sys_getrusage 98. int who struct rusage *ru
99. sys_sysinfo 99. struct sysinfo *info
100. sys_times 100. struct sysinfo *info
101. sys_ptrace 101. long request long pid unsigned long addr unsigned long data
102. sys_getuid 102.
103. sys_syslog 103. int type char *buf int len
104. sys_getgid 104.
105. sys_setuid 105. uid_t uid
106. sys_setgid 106. git_t gid
107. sys_geteuid 107.
108. sys_getegid 108.
109. sys_setpgid 109. pid_t pid pid_t pgid
110. sys_getppid 110.
111. sys_getpgrp 111.
112. sys_setsid 112.
113. sys_setreuid 113. uid_t ruid uid_t euid
114. sys_setregid 114. git_t rgid gid_t egid
115. sys_getgroups 115. int gidsetsize gid_t *grouplist
116. sys_setgroups 116. int gidsetsize gid_t *grouplist
117. sys_setresuid 117. uid_t *ruid uid_t *euid uid_t *suid
118. sys_getresuid 118. uid_t *ruid uid_t *euid uid_t *suid
119. sys_setresgid 119. gid_t rgid gid_t egid gid_t sgid
120. sys_getresgid 120. git_t *rgid git_t *egid git_t *sgid
121. sys_getpgid 121. pid_t pid
122. sys_setfsuid 122. uid_t uid
123. sys_setfsgid 123. gid_t gid
124. sys_getsid 124. pid_t pid
125. sys_capget 125. cap_user_header_t header cap_user_data_t dataptr
126. sys_capset 126. cap_user_header_t header const cap_user_data_t data
127. sys_rt_sigpending 127. sigset_t *set size_t sigsetsize
128. sys_rt_sigtimedwait 128. const sigset_t *uthese siginfo_t *uinfo const struct timespec *uts size_t sigsetsize
129. sys_rt_sigqueueinfo 129. pid_t pid int sig siginfo_t *uinfo
130. sys_rt_sigsuspend 130. sigset_t *unewset size_t sigsetsize
131. sys_sigaltstack 131. const stack_t *uss stack_t *uoss
132. sys_utime 132. char *filename struct utimbuf *times
133. sys_mknod 133. const char *filename int mode unsigned dev
134. sys_uselib 134. NOT IMPLEMENTED
135. sys_personality 135. unsigned int personality
136. sys_ustat 136. unsigned dev struct ustat *ubuf
137. sys_statfs 137. const char *pathname struct statfs *buf
138. sys_fstatfs 138. unsigned int fd struct statfs *buf
139. sys_sysfs 139. int option unsigned long arg1 unsigned long arg2
140. sys_getpriority 140. int which int who
141. sys_setpriority 141. int which int who int niceval
142. sys_sched_setparam 142. pid_t pid struct sched_param *param
143. sys_sched_getparam 143. pid_t pid struct sched_param *param
144. sys_sched_setscheduler 144. pid_t pid int policy struct sched_param *param
145. sys_sched_getscheduler 145. pid_t pid
146. sys_sched_get_priority_max 146. int policy
147. sys_sched_get_priority_min 147. int policy
148. sys_sched_rr_get_interval 148. pid_t pid struct timespec *interval
149. sys_mlock 149. unsigned long start size_t len
150. sys_munlock 150. unsigned long start size_t len
151. sys_mlockall 151. int flags
152. sys_munlockall 152.
153. sys_vhangup 153.
154. sys_modify_ldt 154. int func void *ptr unsigned long bytecount
155. sys_pivot_root 155. const char *new_root const char *put_old
156. sys__sysctl 156. struct __sysctl_args *args
157. sys_prctl 157. int option unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5
158. sys_arch_prctl 158. struct task_struct *task int code unsigned long *addr
159. sys_adjtimex 159. struct timex *txc_p
160. sys_setrlimit 160. unsigned int resource struct rlimit *rlim
161. sys_chroot 161. const char *filename
162. sys_sync 162.
163. sys_acct 163. const char *name
164. sys_settimeofday 164. struct timeval *tv struct timezone *tz
165. sys_mount 165. char *dev_name char *dir_name char *type unsigned long flags void *data
166. sys_umount2 166. const char *target int flags
167. sys_swapon 167. const char *specialfile int swap_flags
168. sys_swapoff 168. const char *specialfile
169. sys_reboot 169. int magic1 int magic2 unsigned int cmd void *arg
170. sys_sethostname 170. char *name int len
171. sys_setdomainname 171. char *name int len
172. sys_iopl 172. unsigned int level struct pt_regs *regs
173. sys_ioperm 173. unsigned long from unsigned long num int turn_on
174. sys_create_module 174. REMOVED IN Linux 2.6
175. sys_init_module 175. void *umod unsigned long len const char *uargs
176. sys_delete_module 176. const chat *name_user unsigned int flags
177. sys_get_kernel_syms 177. REMOVED IN Linux 2.6
178. sys_query_module 178. REMOVED IN Linux 2.6
179. sys_quotactl 179. unsigned int cmd const char *special qid_t id void *addr
180. sys_nfsservctl 180. NOT IMPLEMENTED
181. sys_getpmsg 181. NOT IMPLEMENTED
182. sys_putpmsg 182. NOT IMPLEMENTED
183. sys_afs_syscall 183. NOT IMPLEMENTED
184. sys_tuxcall 184. NOT IMPLEMENTED
185. sys_security 185. NOT IMPLEMENTED
186. sys_gettid 186.
187. sys_readahead 187. int fd loff_t offset size_t count
188. sys_setxattr 188. const char *pathname const char *name const void *value size_t size int flags
189. sys_lsetxattr 189. const char *pathname const char *name const void *value size_t size int flags
190. sys_fsetxattr 190. int fd const char *name const void *value size_t size int flags
191. sys_getxattr 191. const char *pathname const char *name void *value size_t size
192. sys_lgetxattr 192. const char *pathname const char *name void *value size_t size
193. sys_fgetxattr 193. int fd const har *name void *value size_t size
194. sys_listxattr 194. const char *pathname char *list size_t size
195. sys_llistxattr 195. const char *pathname char *list size_t size
196. sys_flistxattr 196. int fd char *list size_t size
197. sys_removexattr 197. const char *pathname const char *name
198. sys_lremovexattr 198. const char *pathname const char *name
199. sys_fremovexattr 199. int fd const char *name
200. sys_tkill 200. pid_t pid ing sig
201. sys_time 201. time_t *tloc
202. sys_futex 202. u32 *uaddr int op u32 val struct timespec *utime u32 *uaddr2 u32 val3
203. sys_sched_setaffinity 203. pid_t pid unsigned int len unsigned long *user_mask_ptr
204. sys_sched_getaffinity 204. pid_t pid unsigned int len unsigned long *user_mask_ptr
205. sys_set_thread_area 205. NOT IMPLEMENTED. Use arch_prctl
206. sys_io_setup 206. unsigned nr_events aio_context_t *ctxp
207. sys_io_destroy 207. aio_context_t ctx
208. sys_io_getevents 208. aio_context_t ctx_id long min_nr long nr struct io_event *events
209. sys_io_submit 209. aio_context_t ctx_id long nr struct iocb **iocbpp
210. sys_io_cancel 210. aio_context_t ctx_id struct iocb *iocb struct io_event *result
211. sys_get_thread_area 211. NOT IMPLEMENTED. Use arch_prctl
212. sys_lookup_dcookie 212. u64 cookie64 long buf long len
213. sys_epoll_create 213. int size
214. sys_epoll_ctl_old 214. NOT IMPLEMENTED
215. sys_epoll_wait_old 215. NOT IMPLEMENTED
216. sys_remap_file_pages 216. unsigned long start unsigned long size unsigned long prot unsigned long pgoff unsigned long flags
217. sys_getdents64 217. unsigned int fd struct linux_dirent64 *dirent unsigned int count
218. sys_set_tid_address 218. int *tidptr
219. sys_restart_syscall 219.
220. sys_semtimedop 220. int semid struct sembuf *tsops unsigned nsops const struct timespec *timeout
221. sys_fadvise64 221. int fd loff_t offset size_t len int advice
222. sys_timer_create 222. const clockid_t which_clock struct sigevent *timer_event_spec timer_t *created_timer_id
223. sys_timer_settime 223. timer_t timer_id int flags const struct itimerspec *new_setting struct itimerspec *old_setting
224. sys_timer_gettime 224. timer_t timer_id struct itimerspec *setting
225. sys_timer_getoverrun 225. timer_t timer_id
226. sys_timer_delete 226. timer_t timer_id
227. sys_clock_settime 227. const clockid_t which_clock const struct timespec *tp
228. sys_clock_gettime 228. const clockid_t which_clock struct timespec *tp
229. sys_clock_getres 229. const clockid_t which_clock struct timespec *tp
230. sys_clock_nanosleep 230. const clockid_t which_clock int flags const struct timespec *rqtp struct timespec *rmtp
231. sys_exit_group 231. int error_code
232. sys_epoll_wait 232. int epfd struct epoll_event *events int maxevents int timeout
233. sys_epoll_ctl 233. int epfd int op int fd struct epoll_event *event
234. sys_tgkill 234. pid_t tgid pid_t pid int sig
235. sys_utimes 235. char *filename struct timeval *utimes
236. sys_vserver 236. NOT IMPLEMENTED
237. sys_mbind 237. unsigned long start unsigned long len unsigned long mode unsigned long *nmask unsigned long maxnode unsigned flags
238. sys_set_mempolicy 238. int mode unsigned long *nmask unsigned long maxnode
239. sys_get_mempolicy 239. int *policy unsigned long *nmask unsigned long maxnode unsigned long addr unsigned long flags
240. sys_mq_open 240. const char *u_name int oflag mode_t mode struct mq_attr *u_attr
241. sys_mq_unlink 241. const char *u_name
242. sys_mq_timedsend 242. mqd_t mqdes const char *u_msg_ptr size_t msg_len unsigned int msg_prio const stuct timespec *u_abs_timeout
243. sys_mq_timedreceive 243. mqd_t mqdes char *u_msg_ptr size_t msg_len unsigned int *u_msg_prio const struct timespec *u_abs_timeout
244. sys_mq_notify 244. mqd_t mqdes const struct sigevent *u_notification
245. sys_mq_getsetattr 245. mqd_t mqdes const struct mq_attr *u_mqstat struct mq_attr *u_omqstat
246. sys_kexec_load 246. unsigned long entry unsigned long nr_segments struct kexec_segment *segments unsigned long flags
247. sys_waitid 247. int which pid_t upid struct siginfo *infop int options struct rusage *ru
248. sys_add_key 248. const char *_type const char *_description const void *_payload size_t plen
249. sys_request_key 249. const char *_type const char *_description const char *_callout_info key_serial_t destringid
250. sys_keyctl 250. int option unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5
251. sys_ioprio_set 251. int which int who int ioprio
252. sys_ioprio_get 252. int which int who
253. sys_inotify_init 253.
254. sys_inotify_add_watch 254. int fd const char *pathname u32 mask
255. sys_inotify_rm_watch 255. int fd __s32 wd
256. sys_migrate_pages 256. pid_t pid unsigned long maxnode const unsigned long *old_nodes const unsigned long *new_nodes
257. sys_openat 257. int dfd const char *filename int flags int mode
258. sys_mkdirat 258. int dfd const char *pathname int mode
259. sys_mknodat 259. int dfd const char *filename int mode unsigned dev
260. sys_fchownat 260. int dfd const char *filename uid_t user gid_t group int flag
261. sys_futimesat 261. int dfd const char *filename struct timeval *utimes
262. sys_newfstatat 262. int dfd const char *filename struct stat *statbuf int flag
263. sys_unlinkat 263. int dfd const char *pathname int flag
264. sys_renameat 264. int oldfd const char *oldname int newfd const char *newname
265. sys_linkat 265. int oldfd const char *oldname int newfd const char *newname int flags
266. sys_symlinkat 266. const char *oldname int newfd const char *newname
267. sys_readlinkat 267. int dfd const char *pathname char *buf int bufsiz
268. sys_fchmodat 268. int dfd const char *filename mode_t mode
269. sys_faccessat 269. int dfd const char *filename int mode
270. sys_pselect6 270. int n fd_set *inp fd_set *outp fd_set *exp struct timespec *tsp void *sig
271. sys_ppoll 271. struct pollfd *ufds unsigned int nfds struct timespec *tsp const sigset_t *sigmask size_t sigsetsize
272. sys_unshare 272. unsigned long unshare_flags
273. sys_set_robust_list 273. struct robust_list_head *head size_t len
274. sys_get_robust_list 274. int pid struct robust_list_head **head_ptr size_t *len_ptr
275. sys_splice 275. int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
276. sys_tee 276. int fdin int fdout size_t len unsigned int flags
277. sys_sync_file_range 277. long fd loff_t offset loff_t bytes long flags
278. sys_vmsplice 278. int fd const struct iovec *iov unsigned long nr_segs unsigned int flags
279. sys_move_pages 279. pid_t pid unsigned long nr_pages const void **pages const int *nodes int *status int flags
280. sys_utimensat 280. int dfd const char *filename struct timespec *utimes int flags
281. sys_epoll_pwait 281. int epfd struct epoll_event *events int maxevents int timeout const sigset_t *sigmask size_t sigsetsize
282. sys_signalfd 282. int ufd sigset_t *user_mask size_t sizemask
283. sys_timerfd_create 283. int clockid int flags
284. sys_eventfd 284. unsigned int count
285. sys_fallocate 285. long fd long mode loff_t offset loff_t len
286. sys_timerfd_settime 286. int ufd int flags const struct itimerspec *utmr struct itimerspec *otmr
287. sys_timerfd_gettime 287. int ufd struct itimerspec *otmr
288. sys_accept4 288. int fd struct sockaddr *upeer_sockaddr int *upeer_addrlen int flags
289. sys_signalfd4 289. int ufd sigset_t *user_mask size_t sizemask int flags
290. sys_eventfd2 290. unsigned int count int flags
291. sys_epoll_create1 291. int flags
292. sys_dup3 292. unsigned int oldfd unsigned int newfd int flags
293. sys_pipe2 293. int *filedes int flags
294. sys_inotify_init1 294. int flags
295. sys_preadv 295. unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h
296. sys_pwritev 296. unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h
297. sys_rt_tgsigqueueinfo 297. pid_t tgid pid_t pid int sig siginfo_t *uinfo
298. sys_perf_event_open 298. struct perf_event_attr *attr_uptr pid_t pid int cpu int group_fd unsigned long flags
299. sys_recvmmsg 299. int fd struct msghdr *mmsg unsigned int vlen unsigned int flags struct timespec *timeout
300. sys_fanotify_init 300. unsigned int flags unsigned int event_f_flags
301. sys_fanotify_mark 301. long fanotify_fd long flags __u64 mask long dfd long pathname
302. sys_prlimit64 302. pid_t pid unsigned int resource const struct rlimit64 *new_rlim struct rlimit64 *old_rlim
303. sys_name_to_handle_at 303. int dfd const char *name struct file_handle *handle int *mnt_id int flag
304. sys_open_by_handle_at 304. int dfd const char *name struct file_handle *handle int *mnt_id int flags
305. sys_clock_adjtime 305. clockid_t which_clock struct timex *tx
306. sys_syncfs 306. int fd
307. sys_sendmmsg 307. int fd struct mmsghdr *mmsg unsigned int vlen unsigned int flags
308. sys_setns 308. int fd int nstype
309. sys_getcpu 309. unsigned *cpup unsigned *nodep struct getcpu_cache *unused
310. sys_process_vm_readv 310. pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
311. sys_process_vm_writev 311. pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovcc *rvec unsigned long riovcnt unsigned long flags