wtf

WTF is white tight feet.

  1. 1. 0x00 Syscall args
  2. 2. 0x01 x86
  3. 3. 0x02 x86_64

0x00 Syscall args

arch syscall NR return arg0 arg1 arg2 arg3 arg4 arg5
arm r7 r0 r0 r1 r2 r3 r4 r5
arm64 x8 x0 x0 x1 x2 x3 x4 x5
x86 eax eax ebx ecx edx esi edi ebp
x86_64 rax rax rdi rsi rdx r10 r8 r9

0x01 x86

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
#ifndef _ASM_X86_UNISTD_32_H
#define _ASM_X86_UNISTD_32_H 1

#define __NR_restart_syscall 0
#define __NR_exit 1
#define __NR_fork 2
#define __NR_read 3
#define __NR_write 4
#define __NR_open 5
#define __NR_close 6
#define __NR_waitpid 7
#define __NR_creat 8
#define __NR_link 9
#define __NR_unlink 10
#define __NR_execve 11
#define __NR_chdir 12
#define __NR_time 13
#define __NR_mknod 14
#define __NR_chmod 15
#define __NR_lchown 16
#define __NR_break 17
#define __NR_oldstat 18
#define __NR_lseek 19
#define __NR_getpid 20
#define __NR_mount 21
#define __NR_umount 22
#define __NR_setuid 23
#define __NR_getuid 24
#define __NR_stime 25
#define __NR_ptrace 26
#define __NR_alarm 27
#define __NR_oldfstat 28
#define __NR_pause 29
#define __NR_utime 30
#define __NR_stty 31
#define __NR_gtty 32
#define __NR_access 33
#define __NR_nice 34
#define __NR_ftime 35
#define __NR_sync 36
#define __NR_kill 37
#define __NR_rename 38
#define __NR_mkdir 39
#define __NR_rmdir 40
#define __NR_dup 41
#define __NR_pipe 42
#define __NR_times 43
#define __NR_prof 44
#define __NR_brk 45
#define __NR_setgid 46
#define __NR_getgid 47
#define __NR_signal 48
#define __NR_geteuid 49
#define __NR_getegid 50
#define __NR_acct 51
#define __NR_umount2 52
#define __NR_lock 53
#define __NR_ioctl 54
#define __NR_fcntl 55
#define __NR_mpx 56
#define __NR_setpgid 57
#define __NR_ulimit 58
#define __NR_oldolduname 59
#define __NR_umask 60
#define __NR_chroot 61
#define __NR_ustat 62
#define __NR_dup2 63
#define __NR_getppid 64
#define __NR_getpgrp 65
#define __NR_setsid 66
#define __NR_sigaction 67
#define __NR_sgetmask 68
#define __NR_ssetmask 69
#define __NR_setreuid 70
#define __NR_setregid 71
#define __NR_sigsuspend 72
#define __NR_sigpending 73
#define __NR_sethostname 74
#define __NR_setrlimit 75
#define __NR_getrlimit 76
#define __NR_getrusage 77
#define __NR_gettimeofday 78
#define __NR_settimeofday 79
#define __NR_getgroups 80
#define __NR_setgroups 81
#define __NR_select 82
#define __NR_symlink 83
#define __NR_oldlstat 84
#define __NR_readlink 85
#define __NR_uselib 86
#define __NR_swapon 87
#define __NR_reboot 88
#define __NR_readdir 89
#define __NR_mmap 90
#define __NR_munmap 91
#define __NR_truncate 92
#define __NR_ftruncate 93
#define __NR_fchmod 94
#define __NR_fchown 95
#define __NR_getpriority 96
#define __NR_setpriority 97
#define __NR_profil 98
#define __NR_statfs 99
#define __NR_fstatfs 100
#define __NR_ioperm 101
#define __NR_socketcall 102
#define __NR_syslog 103
#define __NR_setitimer 104
#define __NR_getitimer 105
#define __NR_stat 106
#define __NR_lstat 107
#define __NR_fstat 108
#define __NR_olduname 109
#define __NR_iopl 110
#define __NR_vhangup 111
#define __NR_idle 112
#define __NR_vm86old 113
#define __NR_wait4 114
#define __NR_swapoff 115
#define __NR_sysinfo 116
#define __NR_ipc 117
#define __NR_fsync 118
#define __NR_sigreturn 119
#define __NR_clone 120
#define __NR_setdomainname 121
#define __NR_uname 122
#define __NR_modify_ldt 123
#define __NR_adjtimex 124
#define __NR_mprotect 125
#define __NR_sigprocmask 126
#define __NR_create_module 127
#define __NR_init_module 128
#define __NR_delete_module 129
#define __NR_get_kernel_syms 130
#define __NR_quotactl 131
#define __NR_getpgid 132
#define __NR_fchdir 133
#define __NR_bdflush 134
#define __NR_sysfs 135
#define __NR_personality 136
#define __NR_afs_syscall 137
#define __NR_setfsuid 138
#define __NR_setfsgid 139
#define __NR__llseek 140
#define __NR_getdents 141
#define __NR__newselect 142
#define __NR_flock 143
#define __NR_msync 144
#define __NR_readv 145
#define __NR_writev 146
#define __NR_getsid 147
#define __NR_fdatasync 148
#define __NR__sysctl 149
#define __NR_mlock 150
#define __NR_munlock 151
#define __NR_mlockall 152
#define __NR_munlockall 153
#define __NR_sched_setparam 154
#define __NR_sched_getparam 155
#define __NR_sched_setscheduler 156
#define __NR_sched_getscheduler 157
#define __NR_sched_yield 158
#define __NR_sched_get_priority_max 159
#define __NR_sched_get_priority_min 160
#define __NR_sched_rr_get_interval 161
#define __NR_nanosleep 162
#define __NR_mremap 163
#define __NR_setresuid 164
#define __NR_getresuid 165
#define __NR_vm86 166
#define __NR_query_module 167
#define __NR_poll 168
#define __NR_nfsservctl 169
#define __NR_setresgid 170
#define __NR_getresgid 171
#define __NR_prctl 172
#define __NR_rt_sigreturn 173
#define __NR_rt_sigaction 174
#define __NR_rt_sigprocmask 175
#define __NR_rt_sigpending 176
#define __NR_rt_sigtimedwait 177
#define __NR_rt_sigqueueinfo 178
#define __NR_rt_sigsuspend 179
#define __NR_pread64 180
#define __NR_pwrite64 181
#define __NR_chown 182
#define __NR_getcwd 183
#define __NR_capget 184
#define __NR_capset 185
#define __NR_sigaltstack 186
#define __NR_sendfile 187
#define __NR_getpmsg 188
#define __NR_putpmsg 189
#define __NR_vfork 190
#define __NR_ugetrlimit 191
#define __NR_mmap2 192
#define __NR_truncate64 193
#define __NR_ftruncate64 194
#define __NR_stat64 195
#define __NR_lstat64 196
#define __NR_fstat64 197
#define __NR_lchown32 198
#define __NR_getuid32 199
#define __NR_getgid32 200
#define __NR_geteuid32 201
#define __NR_getegid32 202
#define __NR_setreuid32 203
#define __NR_setregid32 204
#define __NR_getgroups32 205
#define __NR_setgroups32 206
#define __NR_fchown32 207
#define __NR_setresuid32 208
#define __NR_getresuid32 209
#define __NR_setresgid32 210
#define __NR_getresgid32 211
#define __NR_chown32 212
#define __NR_setuid32 213
#define __NR_setgid32 214
#define __NR_setfsuid32 215
#define __NR_setfsgid32 216
#define __NR_pivot_root 217
#define __NR_mincore 218
#define __NR_madvise 219
#define __NR_getdents64 220
#define __NR_fcntl64 221
#define __NR_gettid 224
#define __NR_readahead 225
#define __NR_setxattr 226
#define __NR_lsetxattr 227
#define __NR_fsetxattr 228
#define __NR_getxattr 229
#define __NR_lgetxattr 230
#define __NR_fgetxattr 231
#define __NR_listxattr 232
#define __NR_llistxattr 233
#define __NR_flistxattr 234
#define __NR_removexattr 235
#define __NR_lremovexattr 236
#define __NR_fremovexattr 237
#define __NR_tkill 238
#define __NR_sendfile64 239
#define __NR_futex 240
#define __NR_sched_setaffinity 241
#define __NR_sched_getaffinity 242
#define __NR_set_thread_area 243
#define __NR_get_thread_area 244
#define __NR_io_setup 245
#define __NR_io_destroy 246
#define __NR_io_getevents 247
#define __NR_io_submit 248
#define __NR_io_cancel 249
#define __NR_fadvise64 250
#define __NR_exit_group 252
#define __NR_lookup_dcookie 253
#define __NR_epoll_create 254
#define __NR_epoll_ctl 255
#define __NR_epoll_wait 256
#define __NR_remap_file_pages 257
#define __NR_set_tid_address 258
#define __NR_timer_create 259
#define __NR_timer_settime 260
#define __NR_timer_gettime 261
#define __NR_timer_getoverrun 262
#define __NR_timer_delete 263
#define __NR_clock_settime 264
#define __NR_clock_gettime 265
#define __NR_clock_getres 266
#define __NR_clock_nanosleep 267
#define __NR_statfs64 268
#define __NR_fstatfs64 269
#define __NR_tgkill 270
#define __NR_utimes 271
#define __NR_fadvise64_64 272
#define __NR_vserver 273
#define __NR_mbind 274
#define __NR_get_mempolicy 275
#define __NR_set_mempolicy 276
#define __NR_mq_open 277
#define __NR_mq_unlink 278
#define __NR_mq_timedsend 279
#define __NR_mq_timedreceive 280
#define __NR_mq_notify 281
#define __NR_mq_getsetattr 282
#define __NR_kexec_load 283
#define __NR_waitid 284
#define __NR_add_key 286
#define __NR_request_key 287
#define __NR_keyctl 288
#define __NR_ioprio_set 289
#define __NR_ioprio_get 290
#define __NR_inotify_init 291
#define __NR_inotify_add_watch 292
#define __NR_inotify_rm_watch 293
#define __NR_migrate_pages 294
#define __NR_openat 295
#define __NR_mkdirat 296
#define __NR_mknodat 297
#define __NR_fchownat 298
#define __NR_futimesat 299
#define __NR_fstatat64 300
#define __NR_unlinkat 301
#define __NR_renameat 302
#define __NR_linkat 303
#define __NR_symlinkat 304
#define __NR_readlinkat 305
#define __NR_fchmodat 306
#define __NR_faccessat 307
#define __NR_pselect6 308
#define __NR_ppoll 309
#define __NR_unshare 310
#define __NR_set_robust_list 311
#define __NR_get_robust_list 312
#define __NR_splice 313
#define __NR_sync_file_range 314
#define __NR_tee 315
#define __NR_vmsplice 316
#define __NR_move_pages 317
#define __NR_getcpu 318
#define __NR_epoll_pwait 319
#define __NR_utimensat 320
#define __NR_signalfd 321
#define __NR_timerfd_create 322
#define __NR_eventfd 323
#define __NR_fallocate 324
#define __NR_timerfd_settime 325
#define __NR_timerfd_gettime 326
#define __NR_signalfd4 327
#define __NR_eventfd2 328
#define __NR_epoll_create1 329
#define __NR_dup3 330
#define __NR_pipe2 331
#define __NR_inotify_init1 332
#define __NR_preadv 333
#define __NR_pwritev 334
#define __NR_rt_tgsigqueueinfo 335
#define __NR_perf_event_open 336
#define __NR_recvmmsg 337
#define __NR_fanotify_init 338
#define __NR_fanotify_mark 339
#define __NR_prlimit64 340
#define __NR_name_to_handle_at 341
#define __NR_open_by_handle_at 342
#define __NR_clock_adjtime 343
#define __NR_syncfs 344
#define __NR_sendmmsg 345
#define __NR_setns 346
#define __NR_process_vm_readv 347
#define __NR_process_vm_writev 348
#define __NR_kcmp 349
#define __NR_finit_module 350
#define __NR_sched_setattr 351
#define __NR_sched_getattr 352
#define __NR_renameat2 353
#define __NR_seccomp 354
#define __NR_getrandom 355
#define __NR_memfd_create 356
#define __NR_bpf 357
#define __NR_execveat 358
#define __NR_socket 359
#define __NR_socketpair 360
#define __NR_bind 361
#define __NR_connect 362
#define __NR_listen 363
#define __NR_accept4 364
#define __NR_getsockopt 365
#define __NR_setsockopt 366
#define __NR_getsockname 367
#define __NR_getpeername 368
#define __NR_sendto 369
#define __NR_sendmsg 370
#define __NR_recvfrom 371
#define __NR_recvmsg 372
#define __NR_shutdown 373
#define __NR_userfaultfd 374
#define __NR_membarrier 375
#define __NR_mlock2 376
#define __NR_copy_file_range 377
#define __NR_preadv2 378
#define __NR_pwritev2 379

#endif /* _ASM_X86_UNISTD_32_H */
NR syscall name references %eax arg0 (%ebx) arg1 (%ecx) arg2 (%edx) arg3 (%esi) arg4 (%edi) arg5 (%ebp)
0 restart_syscall man/ cs/ 0x00 - - - - - -
1 exit man/ cs/ 0x01 int error_code - - - - -
2 fork man/ cs/ 0x02 - - - - - -
3 read man/ cs/ 0x03 unsigned int fd char *buf size_t count - - -
4 write man/ cs/ 0x04 unsigned int fd const char *buf size_t count - - -
5 open man/ cs/ 0x05 const char *filename int flags umode_t mode - - -
6 close man/ cs/ 0x06 unsigned int fd - - - - -
7 waitpid man/ cs/ 0x07 pid_t pid int *stat_addr int options - - -
8 creat man/ cs/ 0x08 const char *pathname umode_t mode - - - -
9 link man/ cs/ 0x09 const char *oldname const char *newname - - - -
10 unlink man/ cs/ 0x0a const char *pathname - - - - -
11 execve man/ cs/ 0x0b const char *filename const char *const *argv const char *const *envp - - -
12 chdir man/ cs/ 0x0c const char *filename - - - - -
13 time man/ cs/ 0x0d time_t *tloc - - - - -
14 mknod man/ cs/ 0x0e const char *filename umode_t mode unsigned dev - - -
15 chmod man/ cs/ 0x0f const char *filename umode_t mode - - - -
16 lchown man/ cs/ 0x10 const char *filename uid_t user gid_t group - - -
17 break man/ cs/ 0x11 ? ? ? ? ? ?
18 oldstat man/ cs/ 0x12 ? ? ? ? ? ?
19 lseek man/ cs/ 0x13 unsigned int fd off_t offset unsigned int whence - - -
20 getpid man/ cs/ 0x14 - - - - - -
21 mount man/ cs/ 0x15 char *dev_name char *dir_name char *type unsigned long flags void *data -
22 umount man/ cs/ 0x16 char *name int flags - - - -
23 setuid man/ cs/ 0x17 uid_t uid - - - - -
24 getuid man/ cs/ 0x18 - - - - - -
25 stime man/ cs/ 0x19 time_t *tptr - - - - -
26 ptrace man/ cs/ 0x1a long request long pid unsigned long addr unsigned long data - -
27 alarm man/ cs/ 0x1b unsigned int seconds - - - - -
28 oldfstat man/ cs/ 0x1c ? ? ? ? ? ?
29 pause man/ cs/ 0x1d - - - - - -
30 utime man/ cs/ 0x1e char *filename struct utimbuf *times - - - -
31 stty man/ cs/ 0x1f ? ? ? ? ? ?
32 gtty man/ cs/ 0x20 ? ? ? ? ? ?
33 access man/ cs/ 0x21 const char *filename int mode - - - -
34 nice man/ cs/ 0x22 int increment - - - - -
35 ftime man/ cs/ 0x23 ? ? ? ? ? ?
36 sync man/ cs/ 0x24 - - - - - -
37 kill man/ cs/ 0x25 pid_t pid int sig - - - -
38 rename man/ cs/ 0x26 const char *oldname const char *newname - - - -
39 mkdir man/ cs/ 0x27 const char *pathname umode_t mode - - - -
40 rmdir man/ cs/ 0x28 const char *pathname - - - - -
41 dup man/ cs/ 0x29 unsigned int fildes - - - - -
42 pipe man/ cs/ 0x2a int *fildes - - - - -
43 times man/ cs/ 0x2b struct tms *tbuf - - - - -
44 prof man/ cs/ 0x2c ? ? ? ? ? ?
45 brk man/ cs/ 0x2d unsigned long brk - - - - -
46 setgid man/ cs/ 0x2e gid_t gid - - - - -
47 getgid man/ cs/ 0x2f - - - - - -
48 signal man/ cs/ 0x30 int sig __sighandler_t handler - - - -
49 geteuid man/ cs/ 0x31 - - - - - -
50 getegid man/ cs/ 0x32 - - - - - -
51 acct man/ cs/ 0x33 const char *name - - - - -
52 umount2 man/ cs/ 0x34 ? ? ? ? ? ?
53 lock man/ cs/ 0x35 ? ? ? ? ? ?
54 ioctl man/ cs/ 0x36 unsigned int fd unsigned int cmd unsigned long arg - - -
55 fcntl man/ cs/ 0x37 unsigned int fd unsigned int cmd unsigned long arg - - -
56 mpx man/ cs/ 0x38 ? ? ? ? ? ?
57 setpgid man/ cs/ 0x39 pid_t pid pid_t pgid - - - -
58 ulimit man/ cs/ 0x3a ? ? ? ? ? ?
59 oldolduname man/ cs/ 0x3b ? ? ? ? ? ?
60 umask man/ cs/ 0x3c int mask - - - - -
61 chroot man/ cs/ 0x3d const char *filename - - - - -
62 ustat man/ cs/ 0x3e unsigned dev struct ustat *ubuf - - - -
63 dup2 man/ cs/ 0x3f unsigned int oldfd unsigned int newfd - - - -
64 getppid man/ cs/ 0x40 - - - - - -
65 getpgrp man/ cs/ 0x41 - - - - - -
66 setsid man/ cs/ 0x42 - - - - - -
67 sigaction man/ cs/ 0x43 int const struct old_sigaction * struct old_sigaction * - - -
68 sgetmask man/ cs/ 0x44 - - - - - -
69 ssetmask man/ cs/ 0x45 int newmask - - - - -
70 setreuid man/ cs/ 0x46 uid_t ruid uid_t euid - - - -
71 setregid man/ cs/ 0x47 gid_t rgid gid_t egid - - - -
72 sigsuspend man/ cs/ 0x48 int unused1 int unused2 old_sigset_t mask - - -
73 sigpending man/ cs/ 0x49 old_sigset_t *uset - - - - -
74 sethostname man/ cs/ 0x4a char *name int len - - - -
75 setrlimit man/ cs/ 0x4b unsigned int resource struct rlimit *rlim - - - -
76 getrlimit man/ cs/ 0x4c unsigned int resource struct rlimit *rlim - - - -
77 getrusage man/ cs/ 0x4d int who struct rusage *ru - - - -
78 gettimeofday man/ cs/ 0x4e struct timeval *tv struct timezone *tz - - - -
79 settimeofday man/ cs/ 0x4f struct timeval *tv struct timezone *tz - - - -
80 getgroups man/ cs/ 0x50 int gidsetsize gid_t *grouplist - - - -
81 setgroups man/ cs/ 0x51 int gidsetsize gid_t *grouplist - - - -
82 select man/ cs/ 0x52 int n fd_set *inp fd_set *outp fd_set *exp struct timeval *tvp -
83 symlink man/ cs/ 0x53 const char *old const char *new - - - -
84 oldlstat man/ cs/ 0x54 ? ? ? ? ? ?
85 readlink man/ cs/ 0x55 const char *path char *buf int bufsiz - - -
86 uselib man/ cs/ 0x56 const char *library - - - - -
87 swapon man/ cs/ 0x57 const char *specialfile int swap_flags - - - -
88 reboot man/ cs/ 0x58 int magic1 int magic2 unsigned int cmd void *arg - -
89 readdir man/ cs/ 0x59 ? ? ? ? ? ?
90 mmap man/ cs/ 0x5a ? ? ? ? ? ?
91 munmap man/ cs/ 0x5b unsigned long addr size_t len - - - -
92 truncate man/ cs/ 0x5c const char *path long length - - - -
93 ftruncate man/ cs/ 0x5d unsigned int fd unsigned long length - - - -
94 fchmod man/ cs/ 0x5e unsigned int fd umode_t mode - - - -
95 fchown man/ cs/ 0x5f unsigned int fd uid_t user gid_t group - - -
96 getpriority man/ cs/ 0x60 int which int who - - - -
97 setpriority man/ cs/ 0x61 int which int who int niceval - - -
98 profil man/ cs/ 0x62 ? ? ? ? ? ?
99 statfs man/ cs/ 0x63 const char * path struct statfs *buf - - - -
100 fstatfs man/ cs/ 0x64 unsigned int fd struct statfs *buf - - - -
101 ioperm man/ cs/ 0x65 unsigned long from unsigned long num int on - - -
102 socketcall man/ cs/ 0x66 int call unsigned long *args - - - -
103 syslog man/ cs/ 0x67 int type char *buf int len - - -
104 setitimer man/ cs/ 0x68 int which struct itimerval *value struct itimerval *ovalue - - -
105 getitimer man/ cs/ 0x69 int which struct itimerval *value - - - -
106 stat man/ cs/ 0x6a const char *filename struct __old_kernel_stat *statbuf - - - -
107 lstat man/ cs/ 0x6b const char *filename struct __old_kernel_stat *statbuf - - - -
108 fstat man/ cs/ 0x6c unsigned int fd struct __old_kernel_stat *statbuf - - - -
109 olduname man/ cs/ 0x6d struct oldold_utsname * - - - - -
110 iopl man/ cs/ 0x6e ? ? ? ? ? ?
111 vhangup man/ cs/ 0x6f - - - - - -
112 idle man/ cs/ 0x70 ? ? ? ? ? ?
113 vm86old man/ cs/ 0x71 ? ? ? ? ? ?
114 wait4 man/ cs/ 0x72 pid_t pid int *stat_addr int options struct rusage *ru - -
115 swapoff man/ cs/ 0x73 const char *specialfile - - - - -
116 sysinfo man/ cs/ 0x74 struct sysinfo *info - - - - -
117 ipc man/ cs/ 0x75 unsigned int call int first unsigned long second unsigned long third void *ptr long fifth
118 fsync man/ cs/ 0x76 unsigned int fd - - - - -
119 sigreturn man/ cs/ 0x77 ? ? ? ? ? ?
120 clone man/ cs/ 0x78 unsigned long unsigned long int * int * unsigned long -
121 setdomainname man/ cs/ 0x79 char *name int len - - - -
122 uname man/ cs/ 0x7a struct old_utsname * - - - - -
123 modify_ldt man/ cs/ 0x7b ? ? ? ? ? ?
124 adjtimex man/ cs/ 0x7c struct __kernel_timex *txc_p - - - - -
125 mprotect man/ cs/ 0x7d unsigned long start size_t len unsigned long prot - - -
126 sigprocmask man/ cs/ 0x7e int how old_sigset_t *set old_sigset_t *oset - - -
127 create_module man/ cs/ 0x7f ? ? ? ? ? ?
128 init_module man/ cs/ 0x80 void *umod unsigned long len const char *uargs - - -
129 delete_module man/ cs/ 0x81 const char *name_user unsigned int flags - - - -
130 get_kernel_syms man/ cs/ 0x82 ? ? ? ? ? ?
131 quotactl man/ cs/ 0x83 unsigned int cmd const char *special qid_t id void *addr - -
132 getpgid man/ cs/ 0x84 pid_t pid - - - - -
133 fchdir man/ cs/ 0x85 unsigned int fd - - - - -
134 bdflush man/ cs/ 0x86 int func long data - - - -
135 sysfs man/ cs/ 0x87 int option unsigned long arg1 unsigned long arg2 - - -
136 personality man/ cs/ 0x88 unsigned int personality - - - - -
137 afs_syscall man/ cs/ 0x89 ? ? ? ? ? ?
138 setfsuid man/ cs/ 0x8a uid_t uid - - - - -
139 setfsgid man/ cs/ 0x8b gid_t gid - - - - -
140 _llseek man/ cs/ 0x8c ? ? ? ? ? ?
141 getdents man/ cs/ 0x8d unsigned int fd struct linux_dirent *dirent unsigned int count - - -
142 _newselect man/ cs/ 0x8e ? ? ? ? ? ?
143 flock man/ cs/ 0x8f unsigned int fd unsigned int cmd - - - -
144 msync man/ cs/ 0x90 unsigned long start size_t len int flags - - -
145 readv man/ cs/ 0x91 unsigned long fd const struct iovec *vec unsigned long vlen - - -
146 writev man/ cs/ 0x92 unsigned long fd const struct iovec *vec unsigned long vlen - - -
147 getsid man/ cs/ 0x93 pid_t pid - - - - -
148 fdatasync man/ cs/ 0x94 unsigned int fd - - - - -
149 _sysctl man/ cs/ 0x95 ? ? ? ? ? ?
150 mlock man/ cs/ 0x96 unsigned long start size_t len - - - -
151 munlock man/ cs/ 0x97 unsigned long start size_t len - - - -
152 mlockall man/ cs/ 0x98 int flags - - - - -
153 munlockall man/ cs/ 0x99 - - - - - -
154 sched_setparam man/ cs/ 0x9a pid_t pid struct sched_param *param - - - -
155 sched_getparam man/ cs/ 0x9b pid_t pid struct sched_param *param - - - -
156 sched_setscheduler man/ cs/ 0x9c pid_t pid int policy struct sched_param *param - - -
157 sched_getscheduler man/ cs/ 0x9d pid_t pid - - - - -
158 sched_yield man/ cs/ 0x9e - - - - - -
159 sched_get_priority_max man/ cs/ 0x9f int policy - - - - -
160 sched_get_priority_min man/ cs/ 0xa0 int policy - - - - -
161 sched_rr_get_interval man/ cs/ 0xa1 pid_t pid struct __kernel_timespec *interval - - - -
162 nanosleep man/ cs/ 0xa2 struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - - - -
163 mremap man/ cs/ 0xa3 unsigned long addr unsigned long old_len unsigned long new_len unsigned long flags unsigned long new_addr -
164 setresuid man/ cs/ 0xa4 uid_t ruid uid_t euid uid_t suid - - -
165 getresuid man/ cs/ 0xa5 uid_t *ruid uid_t *euid uid_t *suid - - -
166 vm86 man/ cs/ 0xa6 ? ? ? ? ? ?
167 query_module man/ cs/ 0xa7 ? ? ? ? ? ?
168 poll man/ cs/ 0xa8 struct pollfd *ufds unsigned int nfds int timeout - - -
169 nfsservctl man/ cs/ 0xa9 ? ? ? ? ? ?
170 setresgid man/ cs/ 0xaa gid_t rgid gid_t egid gid_t sgid - - -
171 getresgid man/ cs/ 0xab gid_t *rgid gid_t *egid gid_t *sgid - - -
172 prctl man/ cs/ 0xac int option unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
173 rt_sigreturn man/ cs/ 0xad ? ? ? ? ? ?
174 rt_sigaction man/ cs/ 0xae int const struct sigaction * struct sigaction * size_t - -
175 rt_sigprocmask man/ cs/ 0xaf int how sigset_t *set sigset_t *oset size_t sigsetsize - -
176 rt_sigpending man/ cs/ 0xb0 sigset_t *set size_t sigsetsize - - - -
177 rt_sigtimedwait man/ cs/ 0xb1 const sigset_t *uthese siginfo_t *uinfo const struct __kernel_timespec *uts size_t sigsetsize - -
178 rt_sigqueueinfo man/ cs/ 0xb2 pid_t pid int sig siginfo_t *uinfo - - -
179 rt_sigsuspend man/ cs/ 0xb3 sigset_t *unewset size_t sigsetsize - - - -
180 pread64 man/ cs/ 0xb4 unsigned int fd char *buf size_t count loff_t pos - -
181 pwrite64 man/ cs/ 0xb5 unsigned int fd const char *buf size_t count loff_t pos - -
182 chown man/ cs/ 0xb6 const char *filename uid_t user gid_t group - - -
183 getcwd man/ cs/ 0xb7 char *buf unsigned long size - - - -
184 capget man/ cs/ 0xb8 cap_user_header_t header cap_user_data_t dataptr - - - -
185 capset man/ cs/ 0xb9 cap_user_header_t header const cap_user_data_t data - - - -
186 sigaltstack man/ cs/ 0xba const struct sigaltstack *uss struct sigaltstack *uoss - - - -
187 sendfile man/ cs/ 0xbb int out_fd int in_fd off_t *offset size_t count - -
188 getpmsg man/ cs/ 0xbc ? ? ? ? ? ?
189 putpmsg man/ cs/ 0xbd ? ? ? ? ? ?
190 vfork man/ cs/ 0xbe - - - - - -
191 ugetrlimit man/ cs/ 0xbf ? ? ? ? ? ?
192 mmap2 man/ cs/ 0xc0 ? ? ? ? ? ?
193 truncate64 man/ cs/ 0xc1 const char *path loff_t length - - - -
194 ftruncate64 man/ cs/ 0xc2 unsigned int fd loff_t length - - - -
195 stat64 man/ cs/ 0xc3 const char *filename struct stat64 *statbuf - - - -
196 lstat64 man/ cs/ 0xc4 const char *filename struct stat64 *statbuf - - - -
197 fstat64 man/ cs/ 0xc5 unsigned long fd struct stat64 *statbuf - - - -
198 lchown32 man/ cs/ 0xc6 ? ? ? ? ? ?
199 getuid32 man/ cs/ 0xc7 ? ? ? ? ? ?
200 getgid32 man/ cs/ 0xc8 ? ? ? ? ? ?
201 geteuid32 man/ cs/ 0xc9 ? ? ? ? ? ?
202 getegid32 man/ cs/ 0xca ? ? ? ? ? ?
203 setreuid32 man/ cs/ 0xcb ? ? ? ? ? ?
204 setregid32 man/ cs/ 0xcc ? ? ? ? ? ?
205 getgroups32 man/ cs/ 0xcd ? ? ? ? ? ?
206 setgroups32 man/ cs/ 0xce ? ? ? ? ? ?
207 fchown32 man/ cs/ 0xcf ? ? ? ? ? ?
208 setresuid32 man/ cs/ 0xd0 ? ? ? ? ? ?
209 getresuid32 man/ cs/ 0xd1 ? ? ? ? ? ?
210 setresgid32 man/ cs/ 0xd2 ? ? ? ? ? ?
211 getresgid32 man/ cs/ 0xd3 ? ? ? ? ? ?
212 chown32 man/ cs/ 0xd4 ? ? ? ? ? ?
213 setuid32 man/ cs/ 0xd5 ? ? ? ? ? ?
214 setgid32 man/ cs/ 0xd6 ? ? ? ? ? ?
215 setfsuid32 man/ cs/ 0xd7 ? ? ? ? ? ?
216 setfsgid32 man/ cs/ 0xd8 ? ? ? ? ? ?
217 pivot_root man/ cs/ 0xd9 const char *new_root const char *put_old - - - -
218 mincore man/ cs/ 0xda unsigned long start size_t len unsigned char * vec - - -
219 madvise man/ cs/ 0xdb unsigned long start size_t len int behavior - - -
220 getdents64 man/ cs/ 0xdc unsigned int fd struct linux_dirent64 *dirent unsigned int count - - -
221 fcntl64 man/ cs/ 0xdd unsigned int fd unsigned int cmd unsigned long arg - - -
222 not implemented 0xde
223 not implemented 0xdf
224 gettid man/ cs/ 0xe0 - - - - - -
225 readahead man/ cs/ 0xe1 int fd loff_t offset size_t count - - -
226 setxattr man/ cs/ 0xe2 const char *path const char *name const void *value size_t size int flags -
227 lsetxattr man/ cs/ 0xe3 const char *path const char *name const void *value size_t size int flags -
228 fsetxattr man/ cs/ 0xe4 int fd const char *name const void *value size_t size int flags -
229 getxattr man/ cs/ 0xe5 const char *path const char *name void *value size_t size - -
230 lgetxattr man/ cs/ 0xe6 const char *path const char *name void *value size_t size - -
231 fgetxattr man/ cs/ 0xe7 int fd const char *name void *value size_t size - -
232 listxattr man/ cs/ 0xe8 const char *path char *list size_t size - - -
233 llistxattr man/ cs/ 0xe9 const char *path char *list size_t size - - -
234 flistxattr man/ cs/ 0xea int fd char *list size_t size - - -
235 removexattr man/ cs/ 0xeb const char *path const char *name - - - -
236 lremovexattr man/ cs/ 0xec const char *path const char *name - - - -
237 fremovexattr man/ cs/ 0xed int fd const char *name - - - -
238 tkill man/ cs/ 0xee pid_t pid int sig - - - -
239 sendfile64 man/ cs/ 0xef int out_fd int in_fd loff_t *offset size_t count - -
240 futex man/ cs/ 0xf0 u32 *uaddr int op u32 val struct __kernel_timespec *utime u32 *uaddr2 u32 val3
241 sched_setaffinity man/ cs/ 0xf1 pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
242 sched_getaffinity man/ cs/ 0xf2 pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
243 set_thread_area man/ cs/ 0xf3 ? ? ? ? ? ?
244 get_thread_area man/ cs/ 0xf4 ? ? ? ? ? ?
245 io_setup man/ cs/ 0xf5 unsigned nr_reqs aio_context_t *ctx - - - -
246 io_destroy man/ cs/ 0xf6 aio_context_t ctx - - - - -
247 io_getevents man/ cs/ 0xf7 aio_context_t ctx_id long min_nr long nr struct io_event *events struct __kernel_timespec *timeout -
248 io_submit man/ cs/ 0xf8 aio_context_t long struct iocb * * - - -
249 io_cancel man/ cs/ 0xf9 aio_context_t ctx_id struct iocb *iocb struct io_event *result - - -
250 fadvise64 man/ cs/ 0xfa int fd loff_t offset size_t len int advice - -
251 not implemented 0xfb
252 exit_group man/ cs/ 0xfc int error_code - - - - -
253 lookup_dcookie man/ cs/ 0xfd u64 cookie64 char *buf size_t len - - -
254 epoll_create man/ cs/ 0xfe int size - - - - -
255 epoll_ctl man/ cs/ 0xff int epfd int op int fd struct epoll_event *event - -
256 epoll_wait man/ cs/ 0x100 int epfd struct epoll_event *events int maxevents int timeout - -
257 remap_file_pages man/ cs/ 0x101 unsigned long start unsigned long size unsigned long prot unsigned long pgoff unsigned long flags -
258 set_tid_address man/ cs/ 0x102 int *tidptr - - - - -
259 timer_create man/ cs/ 0x103 clockid_t which_clock struct sigevent *timer_event_spec timer_t * created_timer_id - - -
260 timer_settime man/ cs/ 0x104 timer_t timer_id int flags const struct __kernel_itimerspec *new_setting struct __kernel_itimerspec *old_setting - -
261 timer_gettime man/ cs/ 0x105 timer_t timer_id struct __kernel_itimerspec *setting - - - -
262 timer_getoverrun man/ cs/ 0x106 timer_t timer_id - - - - -
263 timer_delete man/ cs/ 0x107 timer_t timer_id - - - - -
264 clock_settime man/ cs/ 0x108 clockid_t which_clock const struct __kernel_timespec *tp - - - -
265 clock_gettime man/ cs/ 0x109 clockid_t which_clock struct __kernel_timespec *tp - - - -
266 clock_getres man/ cs/ 0x10a clockid_t which_clock struct __kernel_timespec *tp - - - -
267 clock_nanosleep man/ cs/ 0x10b clockid_t which_clock int flags const struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - -
268 statfs64 man/ cs/ 0x10c const char *path size_t sz struct statfs64 *buf - - -
269 fstatfs64 man/ cs/ 0x10d unsigned int fd size_t sz struct statfs64 *buf - - -
270 tgkill man/ cs/ 0x10e pid_t tgid pid_t pid int sig - - -
271 utimes man/ cs/ 0x10f char *filename struct timeval *utimes - - - -
272 fadvise64_64 man/ cs/ 0x110 int fd loff_t offset loff_t len int advice - -
273 vserver man/ cs/ 0x111 ? ? ? ? ? ?
274 mbind man/ cs/ 0x112 unsigned long start unsigned long len unsigned long mode const unsigned long *nmask unsigned long maxnode unsigned flags
275 get_mempolicy man/ cs/ 0x113 int *policy unsigned long *nmask unsigned long maxnode unsigned long addr unsigned long flags -
276 set_mempolicy man/ cs/ 0x114 int mode const unsigned long *nmask unsigned long maxnode - - -
277 mq_open man/ cs/ 0x115 const char *name int oflag umode_t mode struct mq_attr *attr - -
278 mq_unlink man/ cs/ 0x116 const char *name - - - - -
279 mq_timedsend man/ cs/ 0x117 mqd_t mqdes const char *msg_ptr size_t msg_len unsigned int msg_prio const struct __kernel_timespec *abs_timeout -
280 mq_timedreceive man/ cs/ 0x118 mqd_t mqdes char *msg_ptr size_t msg_len unsigned int *msg_prio const struct __kernel_timespec *abs_timeout -
281 mq_notify man/ cs/ 0x119 mqd_t mqdes const struct sigevent *notification - - - -
282 mq_getsetattr man/ cs/ 0x11a mqd_t mqdes const struct mq_attr *mqstat struct mq_attr *omqstat - - -
283 kexec_load man/ cs/ 0x11b unsigned long entry unsigned long nr_segments struct kexec_segment *segments unsigned long flags - -
284 waitid man/ cs/ 0x11c int which pid_t pid struct siginfo *infop int options struct rusage *ru -
285 not implemented 0x11d
286 add_key man/ cs/ 0x11e const char *_type const char *_description const void *_payload size_t plen key_serial_t destringid -
287 request_key man/ cs/ 0x11f const char *_type const char *_description const char *_callout_info key_serial_t destringid - -
288 keyctl man/ cs/ 0x120 int cmd unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
289 ioprio_set man/ cs/ 0x121 int which int who int ioprio - - -
290 ioprio_get man/ cs/ 0x122 int which int who - - - -
291 inotify_init man/ cs/ 0x123 - - - - - -
292 inotify_add_watch man/ cs/ 0x124 int fd const char *path u32 mask - - -
293 inotify_rm_watch man/ cs/ 0x125 int fd __s32 wd - - - -
294 migrate_pages man/ cs/ 0x126 pid_t pid unsigned long maxnode const unsigned long *from const unsigned long *to - -
295 openat man/ cs/ 0x127 int dfd const char *filename int flags umode_t mode - -
296 mkdirat man/ cs/ 0x128 int dfd const char * pathname umode_t mode - - -
297 mknodat man/ cs/ 0x129 int dfd const char * filename umode_t mode unsigned dev - -
298 fchownat man/ cs/ 0x12a int dfd const char *filename uid_t user gid_t group int flag -
299 futimesat man/ cs/ 0x12b int dfd const char *filename struct timeval *utimes - - -
300 fstatat64 man/ cs/ 0x12c int dfd const char *filename struct stat64 *statbuf int flag - -
301 unlinkat man/ cs/ 0x12d int dfd const char * pathname int flag - - -
302 renameat man/ cs/ 0x12e int olddfd const char * oldname int newdfd const char * newname - -
303 linkat man/ cs/ 0x12f int olddfd const char *oldname int newdfd const char *newname int flags -
304 symlinkat man/ cs/ 0x130 const char * oldname int newdfd const char * newname - - -
305 readlinkat man/ cs/ 0x131 int dfd const char *path char *buf int bufsiz - -
306 fchmodat man/ cs/ 0x132 int dfd const char * filename umode_t mode - - -
307 faccessat man/ cs/ 0x133 int dfd const char *filename int mode - - -
308 pselect6 man/ cs/ 0x134 int fd_set * fd_set * fd_set * struct __kernel_timespec * void *
309 ppoll man/ cs/ 0x135 struct pollfd * unsigned int struct __kernel_timespec * const sigset_t * size_t -
310 unshare man/ cs/ 0x136 unsigned long unshare_flags - - - - -
311 set_robust_list man/ cs/ 0x137 struct robust_list_head *head size_t len - - - -
312 get_robust_list man/ cs/ 0x138 int pid struct robust_list_head * *head_ptr size_t *len_ptr - - -
313 splice man/ cs/ 0x139 int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
314 sync_file_range man/ cs/ 0x13a int fd loff_t offset loff_t nbytes unsigned int flags - -
315 tee man/ cs/ 0x13b int fdin int fdout size_t len unsigned int flags - -
316 vmsplice man/ cs/ 0x13c int fd const struct iovec *iov unsigned long nr_segs unsigned int flags - -
317 move_pages man/ cs/ 0x13d pid_t pid unsigned long nr_pages const void * *pages const int *nodes int *status int flags
318 getcpu man/ cs/ 0x13e unsigned *cpu unsigned *node struct getcpu_cache *cache - - -
319 epoll_pwait man/ cs/ 0x13f int epfd struct epoll_event *events int maxevents int timeout const sigset_t *sigmask size_t sigsetsize
320 utimensat man/ cs/ 0x140 int dfd const char *filename struct __kernel_timespec *utimes int flags - -
321 signalfd man/ cs/ 0x141 int ufd sigset_t *user_mask size_t sizemask - - -
322 timerfd_create man/ cs/ 0x142 int clockid int flags - - - -
323 eventfd man/ cs/ 0x143 unsigned int count - - - - -
324 fallocate man/ cs/ 0x144 int fd int mode loff_t offset loff_t len - -
325 timerfd_settime man/ cs/ 0x145 int ufd int flags const struct __kernel_itimerspec *utmr struct __kernel_itimerspec *otmr - -
326 timerfd_gettime man/ cs/ 0x146 int ufd struct __kernel_itimerspec *otmr - - - -
327 signalfd4 man/ cs/ 0x147 int ufd sigset_t *user_mask size_t sizemask int flags - -
328 eventfd2 man/ cs/ 0x148 unsigned int count int flags - - - -
329 epoll_create1 man/ cs/ 0x149 int flags - - - - -
330 dup3 man/ cs/ 0x14a unsigned int oldfd unsigned int newfd int flags - - -
331 pipe2 man/ cs/ 0x14b int *fildes int flags - - - -
332 inotify_init1 man/ cs/ 0x14c int flags - - - - -
333 preadv man/ cs/ 0x14d unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
334 pwritev man/ cs/ 0x14e unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
335 rt_tgsigqueueinfo man/ cs/ 0x14f pid_t tgid pid_t pid int sig siginfo_t *uinfo - -
336 perf_event_open man/ cs/ 0x150 struct perf_event_attr *attr_uptr pid_t pid int cpu int group_fd unsigned long flags -
337 recvmmsg man/ cs/ 0x151 int fd struct mmsghdr *msg unsigned int vlen unsigned flags struct __kernel_timespec *timeout -
338 fanotify_init man/ cs/ 0x152 unsigned int flags unsigned int event_f_flags - - - -
339 fanotify_mark man/ cs/ 0x153 int fanotify_fd unsigned int flags u64 mask int fd const char *pathname -
340 prlimit64 man/ cs/ 0x154 pid_t pid unsigned int resource const struct rlimit64 *new_rlim struct rlimit64 *old_rlim - -
341 name_to_handle_at man/ cs/ 0x155 int dfd const char *name struct file_handle *handle int *mnt_id int flag -
342 open_by_handle_at man/ cs/ 0x156 int mountdirfd struct file_handle *handle int flags - - -
343 clock_adjtime man/ cs/ 0x157 clockid_t which_clock struct __kernel_timex *tx - - - -
344 syncfs man/ cs/ 0x158 int fd - - - - -
345 sendmmsg man/ cs/ 0x159 int fd struct mmsghdr *msg unsigned int vlen unsigned flags - -
346 setns man/ cs/ 0x15a int fd int nstype - - - -
347 process_vm_readv man/ cs/ 0x15b pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
348 process_vm_writev man/ cs/ 0x15c pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
349 kcmp man/ cs/ 0x15d pid_t pid1 pid_t pid2 int type unsigned long idx1 unsigned long idx2 -
350 finit_module man/ cs/ 0x15e int fd const char *uargs int flags - - -
351 sched_setattr man/ cs/ 0x15f pid_t pid struct sched_attr *attr unsigned int flags - - -
352 sched_getattr man/ cs/ 0x160 pid_t pid struct sched_attr *attr unsigned int size unsigned int flags - -
353 renameat2 man/ cs/ 0x161 int olddfd const char *oldname int newdfd const char *newname unsigned int flags -
354 seccomp man/ cs/ 0x162 unsigned int op unsigned int flags void *uargs - - -
355 getrandom man/ cs/ 0x163 char *buf size_t count unsigned int flags - - -
356 memfd_create man/ cs/ 0x164 const char *uname_ptr unsigned int flags - - - -
357 bpf man/ cs/ 0x165 int cmd union bpf_attr *attr unsigned int size - - -
358 execveat man/ cs/ 0x166 int dfd const char *filename const char *const *argv const char *const *envp int flags -
359 socket man/ cs/ 0x167 int int int - - -
360 socketpair man/ cs/ 0x168 int int int int * - -
361 bind man/ cs/ 0x169 int struct sockaddr * int - - -
362 connect man/ cs/ 0x16a int struct sockaddr * int - - -
363 listen man/ cs/ 0x16b int int - - - -
364 accept4 man/ cs/ 0x16c int struct sockaddr * int * int - -
365 getsockopt man/ cs/ 0x16d int fd int level int optname char *optval int *optlen -
366 setsockopt man/ cs/ 0x16e int fd int level int optname char *optval int optlen -
367 getsockname man/ cs/ 0x16f int struct sockaddr * int * - - -
368 getpeername man/ cs/ 0x170 int struct sockaddr * int * - - -
369 sendto man/ cs/ 0x171 int void * size_t unsigned struct sockaddr * int
370 sendmsg man/ cs/ 0x172 int fd struct user_msghdr *msg unsigned flags - - -
371 recvfrom man/ cs/ 0x173 int void * size_t unsigned struct sockaddr * int *
372 recvmsg man/ cs/ 0x174 int fd struct user_msghdr *msg unsigned flags - - -
373 shutdown man/ cs/ 0x175 int int - - - -
374 userfaultfd man/ cs/ 0x176 int flags - - - - -
375 membarrier man/ cs/ 0x177 int cmd int flags - - - -
376 mlock2 man/ cs/ 0x178 unsigned long start size_t len int flags - - -
377 copy_file_range man/ cs/ 0x179 int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
378 preadv2 man/ cs/ 0x17a unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
379 pwritev2 man/ cs/ 0x17b unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
380 pkey_mprotect man/ cs/ 0x17c unsigned long start size_t len unsigned long prot int pkey - -
381 pkey_alloc man/ cs/ 0x17d unsigned long flags unsigned long init_val - - - -
382 pkey_free man/ cs/ 0x17e int pkey - - - - -
383 statx man/ cs/ 0x17f int dfd const char *path unsigned flags unsigned mask struct statx *buffer -
384 arch_prctl man/ cs/ 0x180 ? ? ? ? ? ?

0x02 x86_64

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
#ifndef _ASM_X86_UNISTD_64_H
#define _ASM_X86_UNISTD_64_H 1

#define __NR_read 0
#define __NR_write 1
#define __NR_open 2
#define __NR_close 3
#define __NR_stat 4
#define __NR_fstat 5
#define __NR_lstat 6
#define __NR_poll 7
#define __NR_lseek 8
#define __NR_mmap 9
#define __NR_mprotect 10
#define __NR_munmap 11
#define __NR_brk 12
#define __NR_rt_sigaction 13
#define __NR_rt_sigprocmask 14
#define __NR_rt_sigreturn 15
#define __NR_ioctl 16
#define __NR_pread64 17
#define __NR_pwrite64 18
#define __NR_readv 19
#define __NR_writev 20
#define __NR_access 21
#define __NR_pipe 22
#define __NR_select 23
#define __NR_sched_yield 24
#define __NR_mremap 25
#define __NR_msync 26
#define __NR_mincore 27
#define __NR_madvise 28
#define __NR_shmget 29
#define __NR_shmat 30
#define __NR_shmctl 31
#define __NR_dup 32
#define __NR_dup2 33
#define __NR_pause 34
#define __NR_nanosleep 35
#define __NR_getitimer 36
#define __NR_alarm 37
#define __NR_setitimer 38
#define __NR_getpid 39
#define __NR_sendfile 40
#define __NR_socket 41
#define __NR_connect 42
#define __NR_accept 43
#define __NR_sendto 44
#define __NR_recvfrom 45
#define __NR_sendmsg 46
#define __NR_recvmsg 47
#define __NR_shutdown 48
#define __NR_bind 49
#define __NR_listen 50
#define __NR_getsockname 51
#define __NR_getpeername 52
#define __NR_socketpair 53
#define __NR_setsockopt 54
#define __NR_getsockopt 55
#define __NR_clone 56
#define __NR_fork 57
#define __NR_vfork 58
#define __NR_execve 59
#define __NR_exit 60
#define __NR_wait4 61
#define __NR_kill 62
#define __NR_uname 63
#define __NR_semget 64
#define __NR_semop 65
#define __NR_semctl 66
#define __NR_shmdt 67
#define __NR_msgget 68
#define __NR_msgsnd 69
#define __NR_msgrcv 70
#define __NR_msgctl 71
#define __NR_fcntl 72
#define __NR_flock 73
#define __NR_fsync 74
#define __NR_fdatasync 75
#define __NR_truncate 76
#define __NR_ftruncate 77
#define __NR_getdents 78
#define __NR_getcwd 79
#define __NR_chdir 80
#define __NR_fchdir 81
#define __NR_rename 82
#define __NR_mkdir 83
#define __NR_rmdir 84
#define __NR_creat 85
#define __NR_link 86
#define __NR_unlink 87
#define __NR_symlink 88
#define __NR_readlink 89
#define __NR_chmod 90
#define __NR_fchmod 91
#define __NR_chown 92
#define __NR_fchown 93
#define __NR_lchown 94
#define __NR_umask 95
#define __NR_gettimeofday 96
#define __NR_getrlimit 97
#define __NR_getrusage 98
#define __NR_sysinfo 99
#define __NR_times 100
#define __NR_ptrace 101
#define __NR_getuid 102
#define __NR_syslog 103
#define __NR_getgid 104
#define __NR_setuid 105
#define __NR_setgid 106
#define __NR_geteuid 107
#define __NR_getegid 108
#define __NR_setpgid 109
#define __NR_getppid 110
#define __NR_getpgrp 111
#define __NR_setsid 112
#define __NR_setreuid 113
#define __NR_setregid 114
#define __NR_getgroups 115
#define __NR_setgroups 116
#define __NR_setresuid 117
#define __NR_getresuid 118
#define __NR_setresgid 119
#define __NR_getresgid 120
#define __NR_getpgid 121
#define __NR_setfsuid 122
#define __NR_setfsgid 123
#define __NR_getsid 124
#define __NR_capget 125
#define __NR_capset 126
#define __NR_rt_sigpending 127
#define __NR_rt_sigtimedwait 128
#define __NR_rt_sigqueueinfo 129
#define __NR_rt_sigsuspend 130
#define __NR_sigaltstack 131
#define __NR_utime 132
#define __NR_mknod 133
#define __NR_uselib 134
#define __NR_personality 135
#define __NR_ustat 136
#define __NR_statfs 137
#define __NR_fstatfs 138
#define __NR_sysfs 139
#define __NR_getpriority 140
#define __NR_setpriority 141
#define __NR_sched_setparam 142
#define __NR_sched_getparam 143
#define __NR_sched_setscheduler 144
#define __NR_sched_getscheduler 145
#define __NR_sched_get_priority_max 146
#define __NR_sched_get_priority_min 147
#define __NR_sched_rr_get_interval 148
#define __NR_mlock 149
#define __NR_munlock 150
#define __NR_mlockall 151
#define __NR_munlockall 152
#define __NR_vhangup 153
#define __NR_modify_ldt 154
#define __NR_pivot_root 155
#define __NR__sysctl 156
#define __NR_prctl 157
#define __NR_arch_prctl 158
#define __NR_adjtimex 159
#define __NR_setrlimit 160
#define __NR_chroot 161
#define __NR_sync 162
#define __NR_acct 163
#define __NR_settimeofday 164
#define __NR_mount 165
#define __NR_umount2 166
#define __NR_swapon 167
#define __NR_swapoff 168
#define __NR_reboot 169
#define __NR_sethostname 170
#define __NR_setdomainname 171
#define __NR_iopl 172
#define __NR_ioperm 173
#define __NR_create_module 174
#define __NR_init_module 175
#define __NR_delete_module 176
#define __NR_get_kernel_syms 177
#define __NR_query_module 178
#define __NR_quotactl 179
#define __NR_nfsservctl 180
#define __NR_getpmsg 181
#define __NR_putpmsg 182
#define __NR_afs_syscall 183
#define __NR_tuxcall 184
#define __NR_security 185
#define __NR_gettid 186
#define __NR_readahead 187
#define __NR_setxattr 188
#define __NR_lsetxattr 189
#define __NR_fsetxattr 190
#define __NR_getxattr 191
#define __NR_lgetxattr 192
#define __NR_fgetxattr 193
#define __NR_listxattr 194
#define __NR_llistxattr 195
#define __NR_flistxattr 196
#define __NR_removexattr 197
#define __NR_lremovexattr 198
#define __NR_fremovexattr 199
#define __NR_tkill 200
#define __NR_time 201
#define __NR_futex 202
#define __NR_sched_setaffinity 203
#define __NR_sched_getaffinity 204
#define __NR_set_thread_area 205
#define __NR_io_setup 206
#define __NR_io_destroy 207
#define __NR_io_getevents 208
#define __NR_io_submit 209
#define __NR_io_cancel 210
#define __NR_get_thread_area 211
#define __NR_lookup_dcookie 212
#define __NR_epoll_create 213
#define __NR_epoll_ctl_old 214
#define __NR_epoll_wait_old 215
#define __NR_remap_file_pages 216
#define __NR_getdents64 217
#define __NR_set_tid_address 218
#define __NR_restart_syscall 219
#define __NR_semtimedop 220
#define __NR_fadvise64 221
#define __NR_timer_create 222
#define __NR_timer_settime 223
#define __NR_timer_gettime 224
#define __NR_timer_getoverrun 225
#define __NR_timer_delete 226
#define __NR_clock_settime 227
#define __NR_clock_gettime 228
#define __NR_clock_getres 229
#define __NR_clock_nanosleep 230
#define __NR_exit_group 231
#define __NR_epoll_wait 232
#define __NR_epoll_ctl 233
#define __NR_tgkill 234
#define __NR_utimes 235
#define __NR_vserver 236
#define __NR_mbind 237
#define __NR_set_mempolicy 238
#define __NR_get_mempolicy 239
#define __NR_mq_open 240
#define __NR_mq_unlink 241
#define __NR_mq_timedsend 242
#define __NR_mq_timedreceive 243
#define __NR_mq_notify 244
#define __NR_mq_getsetattr 245
#define __NR_kexec_load 246
#define __NR_waitid 247
#define __NR_add_key 248
#define __NR_request_key 249
#define __NR_keyctl 250
#define __NR_ioprio_set 251
#define __NR_ioprio_get 252
#define __NR_inotify_init 253
#define __NR_inotify_add_watch 254
#define __NR_inotify_rm_watch 255
#define __NR_migrate_pages 256
#define __NR_openat 257
#define __NR_mkdirat 258
#define __NR_mknodat 259
#define __NR_fchownat 260
#define __NR_futimesat 261
#define __NR_newfstatat 262
#define __NR_unlinkat 263
#define __NR_renameat 264
#define __NR_linkat 265
#define __NR_symlinkat 266
#define __NR_readlinkat 267
#define __NR_fchmodat 268
#define __NR_faccessat 269
#define __NR_pselect6 270
#define __NR_ppoll 271
#define __NR_unshare 272
#define __NR_set_robust_list 273
#define __NR_get_robust_list 274
#define __NR_splice 275
#define __NR_tee 276
#define __NR_sync_file_range 277
#define __NR_vmsplice 278
#define __NR_move_pages 279
#define __NR_utimensat 280
#define __NR_epoll_pwait 281
#define __NR_signalfd 282
#define __NR_timerfd_create 283
#define __NR_eventfd 284
#define __NR_fallocate 285
#define __NR_timerfd_settime 286
#define __NR_timerfd_gettime 287
#define __NR_accept4 288
#define __NR_signalfd4 289
#define __NR_eventfd2 290
#define __NR_epoll_create1 291
#define __NR_dup3 292
#define __NR_pipe2 293
#define __NR_inotify_init1 294
#define __NR_preadv 295
#define __NR_pwritev 296
#define __NR_rt_tgsigqueueinfo 297
#define __NR_perf_event_open 298
#define __NR_recvmmsg 299
#define __NR_fanotify_init 300
#define __NR_fanotify_mark 301
#define __NR_prlimit64 302
#define __NR_name_to_handle_at 303
#define __NR_open_by_handle_at 304
#define __NR_clock_adjtime 305
#define __NR_syncfs 306
#define __NR_sendmmsg 307
#define __NR_setns 308
#define __NR_getcpu 309
#define __NR_process_vm_readv 310
#define __NR_process_vm_writev 311
#define __NR_kcmp 312
#define __NR_finit_module 313
#define __NR_sched_setattr 314
#define __NR_sched_getattr 315
#define __NR_renameat2 316
#define __NR_seccomp 317
#define __NR_getrandom 318
#define __NR_memfd_create 319
#define __NR_kexec_file_load 320
#define __NR_bpf 321
#define __NR_execveat 322
#define __NR_userfaultfd 323
#define __NR_membarrier 324
#define __NR_mlock2 325
#define __NR_copy_file_range 326
#define __NR_preadv2 327
#define __NR_pwritev2 328

#endif /* _ASM_X86_UNISTD_64_H */
NR %rax arg0 (%rdi) arg1 (%rsi) arg2 (%rdx) arg3 (%r10) arg4 (%r8) arg5 (%r9)
0 read man/ cs/ 0x00 unsigned int fd char *buf size_t count - - -
1 write man/ cs/ 0x01 unsigned int fd const char *buf size_t count - - -
2 open man/ cs/ 0x02 const char *filename int flags umode_t mode - - -
3 close man/ cs/ 0x03 unsigned int fd - - - - -
4 stat man/ cs/ 0x04 const char *filename struct __old_kernel_stat *statbuf - - - -
5 fstat man/ cs/ 0x05 unsigned int fd struct __old_kernel_stat *statbuf - - - -
6 lstat man/ cs/ 0x06 const char *filename struct __old_kernel_stat *statbuf - - - -
7 poll man/ cs/ 0x07 struct pollfd *ufds unsigned int nfds int timeout - - -
8 lseek man/ cs/ 0x08 unsigned int fd off_t offset unsigned int whence - - -
9 mmap man/ cs/ 0x09 ? ? ? ? ? ?
10 mprotect man/ cs/ 0x0a unsigned long start size_t len unsigned long prot - - -
11 munmap man/ cs/ 0x0b unsigned long addr size_t len - - - -
12 brk man/ cs/ 0x0c unsigned long brk - - - - -
13 rt_sigaction man/ cs/ 0x0d int const struct sigaction * struct sigaction * size_t - -
14 rt_sigprocmask man/ cs/ 0x0e int how sigset_t *set sigset_t *oset size_t sigsetsize - -
15 rt_sigreturn man/ cs/ 0x0f ? ? ? ? ? ?
16 ioctl man/ cs/ 0x10 unsigned int fd unsigned int cmd unsigned long arg - - -
17 pread64 man/ cs/ 0x11 unsigned int fd char *buf size_t count loff_t pos - -
18 pwrite64 man/ cs/ 0x12 unsigned int fd const char *buf size_t count loff_t pos - -
19 readv man/ cs/ 0x13 unsigned long fd const struct iovec *vec unsigned long vlen - - -
20 writev man/ cs/ 0x14 unsigned long fd const struct iovec *vec unsigned long vlen - - -
21 access man/ cs/ 0x15 const char *filename int mode - - - -
22 pipe man/ cs/ 0x16 int *fildes - - - - -
23 select man/ cs/ 0x17 int n fd_set *inp fd_set *outp fd_set *exp struct timeval *tvp -
24 sched_yield man/ cs/ 0x18 - - - - - -
25 mremap man/ cs/ 0x19 unsigned long addr unsigned long old_len unsigned long new_len unsigned long flags unsigned long new_addr -
26 msync man/ cs/ 0x1a unsigned long start size_t len int flags - - -
27 mincore man/ cs/ 0x1b unsigned long start size_t len unsigned char * vec - - -
28 madvise man/ cs/ 0x1c unsigned long start size_t len int behavior - - -
29 shmget man/ cs/ 0x1d key_t key size_t size int flag - - -
30 shmat man/ cs/ 0x1e int shmid char *shmaddr int shmflg - - -
31 shmctl man/ cs/ 0x1f int shmid int cmd struct shmid_ds *buf - - -
32 dup man/ cs/ 0x20 unsigned int fildes - - - - -
33 dup2 man/ cs/ 0x21 unsigned int oldfd unsigned int newfd - - - -
34 pause man/ cs/ 0x22 - - - - - -
35 nanosleep man/ cs/ 0x23 struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - - - -
36 getitimer man/ cs/ 0x24 int which struct itimerval *value - - - -
37 alarm man/ cs/ 0x25 unsigned int seconds - - - - -
38 setitimer man/ cs/ 0x26 int which struct itimerval *value struct itimerval *ovalue - - -
39 getpid man/ cs/ 0x27 - - - - - -
40 sendfile man/ cs/ 0x28 int out_fd int in_fd off_t *offset size_t count - -
41 socket man/ cs/ 0x29 int int int - - -
42 connect man/ cs/ 0x2a int struct sockaddr * int - - -
43 accept man/ cs/ 0x2b int struct sockaddr * int * - - -
44 sendto man/ cs/ 0x2c int void * size_t unsigned struct sockaddr * int
45 recvfrom man/ cs/ 0x2d int void * size_t unsigned struct sockaddr * int *
46 sendmsg man/ cs/ 0x2e int fd struct user_msghdr *msg unsigned flags - - -
47 recvmsg man/ cs/ 0x2f int fd struct user_msghdr *msg unsigned flags - - -
48 shutdown man/ cs/ 0x30 int int - - - -
49 bind man/ cs/ 0x31 int struct sockaddr * int - - -
50 listen man/ cs/ 0x32 int int - - - -
51 getsockname man/ cs/ 0x33 int struct sockaddr * int * - - -
52 getpeername man/ cs/ 0x34 int struct sockaddr * int * - - -
53 socketpair man/ cs/ 0x35 int int int int * - -
54 setsockopt man/ cs/ 0x36 int fd int level int optname char *optval int optlen -
55 getsockopt man/ cs/ 0x37 int fd int level int optname char *optval int *optlen -
56 clone man/ cs/ 0x38 unsigned long unsigned long int * int * unsigned long -
57 fork man/ cs/ 0x39 - - - - - -
58 vfork man/ cs/ 0x3a - - - - - -
59 execve man/ cs/ 0x3b const char *filename const char *const *argv const char *const *envp - - -
60 exit man/ cs/ 0x3c int error_code - - - - -
61 wait4 man/ cs/ 0x3d pid_t pid int *stat_addr int options struct rusage *ru - -
62 kill man/ cs/ 0x3e pid_t pid int sig - - - -
63 uname man/ cs/ 0x3f struct old_utsname * - - - - -
64 semget man/ cs/ 0x40 key_t key int nsems int semflg - - -
65 semop man/ cs/ 0x41 int semid struct sembuf *sops unsigned nsops - - -
66 semctl man/ cs/ 0x42 int semid int semnum int cmd unsigned long arg - -
67 shmdt man/ cs/ 0x43 char *shmaddr - - - - -
68 msgget man/ cs/ 0x44 key_t key int msgflg - - - -
69 msgsnd man/ cs/ 0x45 int msqid struct msgbuf *msgp size_t msgsz int msgflg - -
70 msgrcv man/ cs/ 0x46 int msqid struct msgbuf *msgp size_t msgsz long msgtyp int msgflg -
71 msgctl man/ cs/ 0x47 int msqid int cmd struct msqid_ds *buf - - -
72 fcntl man/ cs/ 0x48 unsigned int fd unsigned int cmd unsigned long arg - - -
73 flock man/ cs/ 0x49 unsigned int fd unsigned int cmd - - - -
74 fsync man/ cs/ 0x4a unsigned int fd - - - - -
75 fdatasync man/ cs/ 0x4b unsigned int fd - - - - -
76 truncate man/ cs/ 0x4c const char *path long length - - - -
77 ftruncate man/ cs/ 0x4d unsigned int fd unsigned long length - - - -
78 getdents man/ cs/ 0x4e unsigned int fd struct linux_dirent *dirent unsigned int count - - -
79 getcwd man/ cs/ 0x4f char *buf unsigned long size - - - -
80 chdir man/ cs/ 0x50 const char *filename - - - - -
81 fchdir man/ cs/ 0x51 unsigned int fd - - - - -
82 rename man/ cs/ 0x52 const char *oldname const char *newname - - - -
83 mkdir man/ cs/ 0x53 const char *pathname umode_t mode - - - -
84 rmdir man/ cs/ 0x54 const char *pathname - - - - -
85 creat man/ cs/ 0x55 const char *pathname umode_t mode - - - -
86 link man/ cs/ 0x56 const char *oldname const char *newname - - - -
87 unlink man/ cs/ 0x57 const char *pathname - - - - -
88 symlink man/ cs/ 0x58 const char *old const char *new - - - -
89 readlink man/ cs/ 0x59 const char *path char *buf int bufsiz - - -
90 chmod man/ cs/ 0x5a const char *filename umode_t mode - - - -
91 fchmod man/ cs/ 0x5b unsigned int fd umode_t mode - - - -
92 chown man/ cs/ 0x5c const char *filename uid_t user gid_t group - - -
93 fchown man/ cs/ 0x5d unsigned int fd uid_t user gid_t group - - -
94 lchown man/ cs/ 0x5e const char *filename uid_t user gid_t group - - -
95 umask man/ cs/ 0x5f int mask - - - - -
96 gettimeofday man/ cs/ 0x60 struct timeval *tv struct timezone *tz - - - -
97 getrlimit man/ cs/ 0x61 unsigned int resource struct rlimit *rlim - - - -
98 getrusage man/ cs/ 0x62 int who struct rusage *ru - - - -
99 sysinfo man/ cs/ 0x63 struct sysinfo *info - - - - -
100 times man/ cs/ 0x64 struct tms *tbuf - - - - -
101 ptrace man/ cs/ 0x65 long request long pid unsigned long addr unsigned long data - -
102 getuid man/ cs/ 0x66 - - - - - -
103 syslog man/ cs/ 0x67 int type char *buf int len - - -
104 getgid man/ cs/ 0x68 - - - - - -
105 setuid man/ cs/ 0x69 uid_t uid - - - - -
106 setgid man/ cs/ 0x6a gid_t gid - - - - -
107 geteuid man/ cs/ 0x6b - - - - - -
108 getegid man/ cs/ 0x6c - - - - - -
109 setpgid man/ cs/ 0x6d pid_t pid pid_t pgid - - - -
110 getppid man/ cs/ 0x6e - - - - - -
111 getpgrp man/ cs/ 0x6f - - - - - -
112 setsid man/ cs/ 0x70 - - - - - -
113 setreuid man/ cs/ 0x71 uid_t ruid uid_t euid - - - -
114 setregid man/ cs/ 0x72 gid_t rgid gid_t egid - - - -
115 getgroups man/ cs/ 0x73 int gidsetsize gid_t *grouplist - - - -
116 setgroups man/ cs/ 0x74 int gidsetsize gid_t *grouplist - - - -
117 setresuid man/ cs/ 0x75 uid_t ruid uid_t euid uid_t suid - - -
118 getresuid man/ cs/ 0x76 uid_t *ruid uid_t *euid uid_t *suid - - -
119 setresgid man/ cs/ 0x77 gid_t rgid gid_t egid gid_t sgid - - -
120 getresgid man/ cs/ 0x78 gid_t *rgid gid_t *egid gid_t *sgid - - -
121 getpgid man/ cs/ 0x79 pid_t pid - - - - -
122 setfsuid man/ cs/ 0x7a uid_t uid - - - - -
123 setfsgid man/ cs/ 0x7b gid_t gid - - - - -
124 getsid man/ cs/ 0x7c pid_t pid - - - - -
125 capget man/ cs/ 0x7d cap_user_header_t header cap_user_data_t dataptr - - - -
126 capset man/ cs/ 0x7e cap_user_header_t header const cap_user_data_t data - - - -
127 rt_sigpending man/ cs/ 0x7f sigset_t *set size_t sigsetsize - - - -
128 rt_sigtimedwait man/ cs/ 0x80 const sigset_t *uthese siginfo_t *uinfo const struct __kernel_timespec *uts size_t sigsetsize - -
129 rt_sigqueueinfo man/ cs/ 0x81 pid_t pid int sig siginfo_t *uinfo - - -
130 rt_sigsuspend man/ cs/ 0x82 sigset_t *unewset size_t sigsetsize - - - -
131 sigaltstack man/ cs/ 0x83 const struct sigaltstack *uss struct sigaltstack *uoss - - - -
132 utime man/ cs/ 0x84 char *filename struct utimbuf *times - - - -
133 mknod man/ cs/ 0x85 const char *filename umode_t mode unsigned dev - - -
134 uselib man/ cs/ 0x86 const char *library - - - - -
135 personality man/ cs/ 0x87 unsigned int personality - - - - -
136 ustat man/ cs/ 0x88 unsigned dev struct ustat *ubuf - - - -
137 statfs man/ cs/ 0x89 const char * path struct statfs *buf - - - -
138 fstatfs man/ cs/ 0x8a unsigned int fd struct statfs *buf - - - -
139 sysfs man/ cs/ 0x8b int option unsigned long arg1 unsigned long arg2 - - -
140 getpriority man/ cs/ 0x8c int which int who - - - -
141 setpriority man/ cs/ 0x8d int which int who int niceval - - -
142 sched_setparam man/ cs/ 0x8e pid_t pid struct sched_param *param - - - -
143 sched_getparam man/ cs/ 0x8f pid_t pid struct sched_param *param - - - -
144 sched_setscheduler man/ cs/ 0x90 pid_t pid int policy struct sched_param *param - - -
145 sched_getscheduler man/ cs/ 0x91 pid_t pid - - - - -
146 sched_get_priority_max man/ cs/ 0x92 int policy - - - - -
147 sched_get_priority_min man/ cs/ 0x93 int policy - - - - -
148 sched_rr_get_interval man/ cs/ 0x94 pid_t pid struct __kernel_timespec *interval - - - -
149 mlock man/ cs/ 0x95 unsigned long start size_t len - - - -
150 munlock man/ cs/ 0x96 unsigned long start size_t len - - - -
151 mlockall man/ cs/ 0x97 int flags - - - - -
152 munlockall man/ cs/ 0x98 - - - - - -
153 vhangup man/ cs/ 0x99 - - - - - -
154 modify_ldt man/ cs/ 0x9a ? ? ? ? ? ?
155 pivot_root man/ cs/ 0x9b const char *new_root const char *put_old - - - -
156 _sysctl man/ cs/ 0x9c ? ? ? ? ? ?
157 prctl man/ cs/ 0x9d int option unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
158 arch_prctl man/ cs/ 0x9e ? ? ? ? ? ?
159 adjtimex man/ cs/ 0x9f struct __kernel_timex *txc_p - - - - -
160 setrlimit man/ cs/ 0xa0 unsigned int resource struct rlimit *rlim - - - -
161 chroot man/ cs/ 0xa1 const char *filename - - - - -
162 sync man/ cs/ 0xa2 - - - - - -
163 acct man/ cs/ 0xa3 const char *name - - - - -
164 settimeofday man/ cs/ 0xa4 struct timeval *tv struct timezone *tz - - - -
165 mount man/ cs/ 0xa5 char *dev_name char *dir_name char *type unsigned long flags void *data -
166 umount2 man/ cs/ 0xa6 ? ? ? ? ? ?
167 swapon man/ cs/ 0xa7 const char *specialfile int swap_flags - - - -
168 swapoff man/ cs/ 0xa8 const char *specialfile - - - - -
169 reboot man/ cs/ 0xa9 int magic1 int magic2 unsigned int cmd void *arg - -
170 sethostname man/ cs/ 0xaa char *name int len - - - -
171 setdomainname man/ cs/ 0xab char *name int len - - - -
172 iopl man/ cs/ 0xac ? ? ? ? ? ?
173 ioperm man/ cs/ 0xad unsigned long from unsigned long num int on - - -
174 create_module man/ cs/ 0xae ? ? ? ? ? ?
175 init_module man/ cs/ 0xaf void *umod unsigned long len const char *uargs - - -
176 delete_module man/ cs/ 0xb0 const char *name_user unsigned int flags - - - -
177 get_kernel_syms man/ cs/ 0xb1 ? ? ? ? ? ?
178 query_module man/ cs/ 0xb2 ? ? ? ? ? ?
179 quotactl man/ cs/ 0xb3 unsigned int cmd const char *special qid_t id void *addr - -
180 nfsservctl man/ cs/ 0xb4 ? ? ? ? ? ?
181 getpmsg man/ cs/ 0xb5 ? ? ? ? ? ?
182 putpmsg man/ cs/ 0xb6 ? ? ? ? ? ?
183 afs_syscall man/ cs/ 0xb7 ? ? ? ? ? ?
184 tuxcall man/ cs/ 0xb8 ? ? ? ? ? ?
185 security man/ cs/ 0xb9 ? ? ? ? ? ?
186 gettid man/ cs/ 0xba - - - - - -
187 readahead man/ cs/ 0xbb int fd loff_t offset size_t count - - -
188 setxattr man/ cs/ 0xbc const char *path const char *name const void *value size_t size int flags -
189 lsetxattr man/ cs/ 0xbd const char *path const char *name const void *value size_t size int flags -
190 fsetxattr man/ cs/ 0xbe int fd const char *name const void *value size_t size int flags -
191 getxattr man/ cs/ 0xbf const char *path const char *name void *value size_t size - -
192 lgetxattr man/ cs/ 0xc0 const char *path const char *name void *value size_t size - -
193 fgetxattr man/ cs/ 0xc1 int fd const char *name void *value size_t size - -
194 listxattr man/ cs/ 0xc2 const char *path char *list size_t size - - -
195 llistxattr man/ cs/ 0xc3 const char *path char *list size_t size - - -
196 flistxattr man/ cs/ 0xc4 int fd char *list size_t size - - -
197 removexattr man/ cs/ 0xc5 const char *path const char *name - - - -
198 lremovexattr man/ cs/ 0xc6 const char *path const char *name - - - -
199 fremovexattr man/ cs/ 0xc7 int fd const char *name - - - -
200 tkill man/ cs/ 0xc8 pid_t pid int sig - - - -
201 time man/ cs/ 0xc9 time_t *tloc - - - - -
202 futex man/ cs/ 0xca u32 *uaddr int op u32 val struct __kernel_timespec *utime u32 *uaddr2 u32 val3
203 sched_setaffinity man/ cs/ 0xcb pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
204 sched_getaffinity man/ cs/ 0xcc pid_t pid unsigned int len unsigned long *user_mask_ptr - - -
205 set_thread_area man/ cs/ 0xcd ? ? ? ? ? ?
206 io_setup man/ cs/ 0xce unsigned nr_reqs aio_context_t *ctx - - - -
207 io_destroy man/ cs/ 0xcf aio_context_t ctx - - - - -
208 io_getevents man/ cs/ 0xd0 aio_context_t ctx_id long min_nr long nr struct io_event *events struct __kernel_timespec *timeout -
209 io_submit man/ cs/ 0xd1 aio_context_t long struct iocb * * - - -
210 io_cancel man/ cs/ 0xd2 aio_context_t ctx_id struct iocb *iocb struct io_event *result - - -
211 get_thread_area man/ cs/ 0xd3 ? ? ? ? ? ?
212 lookup_dcookie man/ cs/ 0xd4 u64 cookie64 char *buf size_t len - - -
213 epoll_create man/ cs/ 0xd5 int size - - - - -
214 epoll_ctl_old man/ cs/ 0xd6 ? ? ? ? ? ?
215 epoll_wait_old man/ cs/ 0xd7 ? ? ? ? ? ?
216 remap_file_pages man/ cs/ 0xd8 unsigned long start unsigned long size unsigned long prot unsigned long pgoff unsigned long flags -
217 getdents64 man/ cs/ 0xd9 unsigned int fd struct linux_dirent64 *dirent unsigned int count - - -
218 set_tid_address man/ cs/ 0xda int *tidptr - - - - -
219 restart_syscall man/ cs/ 0xdb - - - - - -
220 semtimedop man/ cs/ 0xdc int semid struct sembuf *sops unsigned nsops const struct __kernel_timespec *timeout - -
221 fadvise64 man/ cs/ 0xdd int fd loff_t offset size_t len int advice - -
222 timer_create man/ cs/ 0xde clockid_t which_clock struct sigevent *timer_event_spec timer_t * created_timer_id - - -
223 timer_settime man/ cs/ 0xdf timer_t timer_id int flags const struct __kernel_itimerspec *new_setting struct __kernel_itimerspec *old_setting - -
224 timer_gettime man/ cs/ 0xe0 timer_t timer_id struct __kernel_itimerspec *setting - - - -
225 timer_getoverrun man/ cs/ 0xe1 timer_t timer_id - - - - -
226 timer_delete man/ cs/ 0xe2 timer_t timer_id - - - - -
227 clock_settime man/ cs/ 0xe3 clockid_t which_clock const struct __kernel_timespec *tp - - - -
228 clock_gettime man/ cs/ 0xe4 clockid_t which_clock struct __kernel_timespec *tp - - - -
229 clock_getres man/ cs/ 0xe5 clockid_t which_clock struct __kernel_timespec *tp - - - -
230 clock_nanosleep man/ cs/ 0xe6 clockid_t which_clock int flags const struct __kernel_timespec *rqtp struct __kernel_timespec *rmtp - -
231 exit_group man/ cs/ 0xe7 int error_code - - - - -
232 epoll_wait man/ cs/ 0xe8 int epfd struct epoll_event *events int maxevents int timeout - -
233 epoll_ctl man/ cs/ 0xe9 int epfd int op int fd struct epoll_event *event - -
234 tgkill man/ cs/ 0xea pid_t tgid pid_t pid int sig - - -
235 utimes man/ cs/ 0xeb char *filename struct timeval *utimes - - - -
236 vserver man/ cs/ 0xec ? ? ? ? ? ?
237 mbind man/ cs/ 0xed unsigned long start unsigned long len unsigned long mode const unsigned long *nmask unsigned long maxnode unsigned flags
238 set_mempolicy man/ cs/ 0xee int mode const unsigned long *nmask unsigned long maxnode - - -
239 get_mempolicy man/ cs/ 0xef int *policy unsigned long *nmask unsigned long maxnode unsigned long addr unsigned long flags -
240 mq_open man/ cs/ 0xf0 const char *name int oflag umode_t mode struct mq_attr *attr - -
241 mq_unlink man/ cs/ 0xf1 const char *name - - - - -
242 mq_timedsend man/ cs/ 0xf2 mqd_t mqdes const char *msg_ptr size_t msg_len unsigned int msg_prio const struct __kernel_timespec *abs_timeout -
243 mq_timedreceive man/ cs/ 0xf3 mqd_t mqdes char *msg_ptr size_t msg_len unsigned int *msg_prio const struct __kernel_timespec *abs_timeout -
244 mq_notify man/ cs/ 0xf4 mqd_t mqdes const struct sigevent *notification - - - -
245 mq_getsetattr man/ cs/ 0xf5 mqd_t mqdes const struct mq_attr *mqstat struct mq_attr *omqstat - - -
246 kexec_load man/ cs/ 0xf6 unsigned long entry unsigned long nr_segments struct kexec_segment *segments unsigned long flags - -
247 waitid man/ cs/ 0xf7 int which pid_t pid struct siginfo *infop int options struct rusage *ru -
248 add_key man/ cs/ 0xf8 const char *_type const char *_description const void *_payload size_t plen key_serial_t destringid -
249 request_key man/ cs/ 0xf9 const char *_type const char *_description const char *_callout_info key_serial_t destringid - -
250 keyctl man/ cs/ 0xfa int cmd unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
251 ioprio_set man/ cs/ 0xfb int which int who int ioprio - - -
252 ioprio_get man/ cs/ 0xfc int which int who - - - -
253 inotify_init man/ cs/ 0xfd - - - - - -
254 inotify_add_watch man/ cs/ 0xfe int fd const char *path u32 mask - - -
255 inotify_rm_watch man/ cs/ 0xff int fd __s32 wd - - - -
256 migrate_pages man/ cs/ 0x100 pid_t pid unsigned long maxnode const unsigned long *from const unsigned long *to - -
257 openat man/ cs/ 0x101 int dfd const char *filename int flags umode_t mode - -
258 mkdirat man/ cs/ 0x102 int dfd const char * pathname umode_t mode - - -
259 mknodat man/ cs/ 0x103 int dfd const char * filename umode_t mode unsigned dev - -
260 fchownat man/ cs/ 0x104 int dfd const char *filename uid_t user gid_t group int flag -
261 futimesat man/ cs/ 0x105 int dfd const char *filename struct timeval *utimes - - -
262 newfstatat man/ cs/ 0x106 int dfd const char *filename struct stat *statbuf int flag - -
263 unlinkat man/ cs/ 0x107 int dfd const char * pathname int flag - - -
264 renameat man/ cs/ 0x108 int olddfd const char * oldname int newdfd const char * newname - -
265 linkat man/ cs/ 0x109 int olddfd const char *oldname int newdfd const char *newname int flags -
266 symlinkat man/ cs/ 0x10a const char * oldname int newdfd const char * newname - - -
267 readlinkat man/ cs/ 0x10b int dfd const char *path char *buf int bufsiz - -
268 fchmodat man/ cs/ 0x10c int dfd const char * filename umode_t mode - - -
269 faccessat man/ cs/ 0x10d int dfd const char *filename int mode - - -
270 pselect6 man/ cs/ 0x10e int fd_set * fd_set * fd_set * struct __kernel_timespec * void *
271 ppoll man/ cs/ 0x10f struct pollfd * unsigned int struct __kernel_timespec * const sigset_t * size_t -
272 unshare man/ cs/ 0x110 unsigned long unshare_flags - - - - -
273 set_robust_list man/ cs/ 0x111 struct robust_list_head *head size_t len - - - -
274 get_robust_list man/ cs/ 0x112 int pid struct robust_list_head * *head_ptr size_t *len_ptr - - -
275 splice man/ cs/ 0x113 int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
276 tee man/ cs/ 0x114 int fdin int fdout size_t len unsigned int flags - -
277 sync_file_range man/ cs/ 0x115 int fd loff_t offset loff_t nbytes unsigned int flags - -
278 vmsplice man/ cs/ 0x116 int fd const struct iovec *iov unsigned long nr_segs unsigned int flags - -
279 move_pages man/ cs/ 0x117 pid_t pid unsigned long nr_pages const void * *pages const int *nodes int *status int flags
280 utimensat man/ cs/ 0x118 int dfd const char *filename struct __kernel_timespec *utimes int flags - -
281 epoll_pwait man/ cs/ 0x119 int epfd struct epoll_event *events int maxevents int timeout const sigset_t *sigmask size_t sigsetsize
282 signalfd man/ cs/ 0x11a int ufd sigset_t *user_mask size_t sizemask - - -
283 timerfd_create man/ cs/ 0x11b int clockid int flags - - - -
284 eventfd man/ cs/ 0x11c unsigned int count - - - - -
285 fallocate man/ cs/ 0x11d int fd int mode loff_t offset loff_t len - -
286 timerfd_settime man/ cs/ 0x11e int ufd int flags const struct __kernel_itimerspec *utmr struct __kernel_itimerspec *otmr - -
287 timerfd_gettime man/ cs/ 0x11f int ufd struct __kernel_itimerspec *otmr - - - -
288 accept4 man/ cs/ 0x120 int struct sockaddr * int * int - -
289 signalfd4 man/ cs/ 0x121 int ufd sigset_t *user_mask size_t sizemask int flags - -
290 eventfd2 man/ cs/ 0x122 unsigned int count int flags - - - -
291 epoll_create1 man/ cs/ 0x123 int flags - - - - -
292 dup3 man/ cs/ 0x124 unsigned int oldfd unsigned int newfd int flags - - -
293 pipe2 man/ cs/ 0x125 int *fildes int flags - - - -
294 inotify_init1 man/ cs/ 0x126 int flags - - - - -
295 preadv man/ cs/ 0x127 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
296 pwritev man/ cs/ 0x128 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
297 rt_tgsigqueueinfo man/ cs/ 0x129 pid_t tgid pid_t pid int sig siginfo_t *uinfo - -
298 perf_event_open man/ cs/ 0x12a struct perf_event_attr *attr_uptr pid_t pid int cpu int group_fd unsigned long flags -
299 recvmmsg man/ cs/ 0x12b int fd struct mmsghdr *msg unsigned int vlen unsigned flags struct __kernel_timespec *timeout -
300 fanotify_init man/ cs/ 0x12c unsigned int flags unsigned int event_f_flags - - - -
301 fanotify_mark man/ cs/ 0x12d int fanotify_fd unsigned int flags u64 mask int fd const char *pathname -
302 prlimit64 man/ cs/ 0x12e pid_t pid unsigned int resource const struct rlimit64 *new_rlim struct rlimit64 *old_rlim - -
303 name_to_handle_at man/ cs/ 0x12f int dfd const char *name struct file_handle *handle int *mnt_id int flag -
304 open_by_handle_at man/ cs/ 0x130 int mountdirfd struct file_handle *handle int flags - - -
305 clock_adjtime man/ cs/ 0x131 clockid_t which_clock struct __kernel_timex *tx - - - -
306 syncfs man/ cs/ 0x132 int fd - - - - -
307 sendmmsg man/ cs/ 0x133 int fd struct mmsghdr *msg unsigned int vlen unsigned flags - -
308 setns man/ cs/ 0x134 int fd int nstype - - - -
309 getcpu man/ cs/ 0x135 unsigned *cpu unsigned *node struct getcpu_cache *cache - - -
310 process_vm_readv man/ cs/ 0x136 pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
311 process_vm_writev man/ cs/ 0x137 pid_t pid const struct iovec *lvec unsigned long liovcnt const struct iovec *rvec unsigned long riovcnt unsigned long flags
312 kcmp man/ cs/ 0x138 pid_t pid1 pid_t pid2 int type unsigned long idx1 unsigned long idx2 -
313 finit_module man/ cs/ 0x139 int fd const char *uargs int flags - - -
314 sched_setattr man/ cs/ 0x13a pid_t pid struct sched_attr *attr unsigned int flags - - -
315 sched_getattr man/ cs/ 0x13b pid_t pid struct sched_attr *attr unsigned int size unsigned int flags - -
316 renameat2 man/ cs/ 0x13c int olddfd const char *oldname int newdfd const char *newname unsigned int flags -
317 seccomp man/ cs/ 0x13d unsigned int op unsigned int flags void *uargs - - -
318 getrandom man/ cs/ 0x13e char *buf size_t count unsigned int flags - - -
319 memfd_create man/ cs/ 0x13f const char *uname_ptr unsigned int flags - - - -
320 kexec_file_load man/ cs/ 0x140 int kernel_fd int initrd_fd unsigned long cmdline_len const char *cmdline_ptr unsigned long flags -
321 bpf man/ cs/ 0x141 int cmd union bpf_attr *attr unsigned int size - - -
322 execveat man/ cs/ 0x142 int dfd const char *filename const char *const *argv const char *const *envp int flags -
323 userfaultfd man/ cs/ 0x143 int flags - - - - -
324 membarrier man/ cs/ 0x144 int cmd int flags - - - -
325 mlock2 man/ cs/ 0x145 unsigned long start size_t len int flags - - -
326 copy_file_range man/ cs/ 0x146 int fd_in loff_t *off_in int fd_out loff_t *off_out size_t len unsigned int flags
327 preadv2 man/ cs/ 0x147 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
328 pwritev2 man/ cs/ 0x148 unsigned long fd const struct iovec *vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
329 pkey_mprotect man/ cs/ 0x149 unsigned long start size_t len unsigned long prot int pkey - -
330 pkey_alloc man/ cs/ 0x14a unsigned long flags unsigned long init_val - - - -
331 pkey_free man/ cs/ 0x14b int pkey - - - - -
332 statx man/ cs/ 0x14c int dfd const char *path unsigned flags unsigned mask struct statx *buffer -

本文作者 : wtfff
本作品采用知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议(CC BY-NC-SA 4.0)进行许可。This blog is under a CC BY-NC-SA 4.0 Unported License
本文链接 : http://im0use.github.io/2022/06/14/syscall-cheatsheet/

本文最后更新于 天前,文中所描述的信息可能已发生改变