-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsyscall.h
345 lines (345 loc) · 13.8 KB
/
syscall.h
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
#define SYS_exit 4001
#define SYS_fork 4002
#define SYS_read 4003
#define SYS_write 4004
#define SYS_open 4005
#define SYS_close 4006
#define SYS_waitpid 4007
#define SYS_creat 4008
#define SYS_link 4009
#define SYS_unlink 4010
#define SYS_execve 4011
#define SYS_chdir 4012
#define SYS_time 4013
#define SYS_mknod 4014
#define SYS_chmod 4015
#define SYS_lchown 4016
#define SYS_break 4017
#define SYS_unused18 4018
#define SYS_lseek 4019
#define SYS_getpid 4020
#define SYS_mount 4021
#define SYS_umount 4022
#define SYS_setuid 4023
#define SYS_getuid 4024
#define SYS_stime 4025
#define SYS_ptrace 4026
#define SYS_alarm 4027
#define SYS_unused28 4028
#define SYS_pause 4029
#define SYS_utime 4030
#define SYS_stty 4031
#define SYS_gtty 4032
#define SYS_access 4033
#define SYS_nice 4034
#define SYS_ftime 4035
#define SYS_sync 4036
#define SYS_kill 4037
#define SYS_rename 4038
#define SYS_mkdir 4039
#define SYS_rmdir 4040
#define SYS_dup 4041
#define SYS_pipe 4042
#define SYS_times 4043
#define SYS_prof 4044
#define SYS_brk 4045
#define SYS_setgid 4046
#define SYS_getgid 4047
#define SYS_signal 4048
#define SYS_geteuid 4049
#define SYS_getegid 4050
#define SYS_acct 4051
#define SYS_umount2 4052
#define SYS_lock 4053
#define SYS_ioctl 4054
#define SYS_fcntl 4055
#define SYS_mpx 4056
#define SYS_setpgid 4057
#define SYS_ulimit 4058
#define SYS_unused59 4059
#define SYS_umask 4060
#define SYS_chroot 4061
#define SYS_ustat 4062
#define SYS_dup2 4063
#define SYS_getppid 4064
#define SYS_getpgrp 4065
#define SYS_setsid 4066
#define SYS_sigaction 4067
#define SYS_sgetmask 4068
#define SYS_ssetmask 4069
#define SYS_setreuid 4070
#define SYS_setregid 4071
#define SYS_sigsuspend 4072
#define SYS_sigpending 4073
#define SYS_sethostname 4074
#define SYS_setrlimit 4075
#define SYS_getrlimit 4076
#define SYS_getrusage 4077
#define SYS_gettimeofday 4078
#define SYS_settimeofday 4079
#define SYS_getgroups 4080
#define SYS_setgroups 4081
#define SYS_reserved82 4082
#define SYS_symlink 4083
#define SYS_unused84 4084
#define SYS_readlink 4085
#define SYS_uselib 4086
#define SYS_swapon 4087
#define SYS_reboot 4088
#define SYS_readdir 4089
#define SYS_mmap 4090
#define SYS_munmap 4091
#define SYS_truncate 4092
#define SYS_ftruncate 4093
#define SYS_fchmod 4094
#define SYS_fchown 4095
#define SYS_getpriority 4096
#define SYS_setpriority 4097
#define SYS_profil 4098
#define SYS_statfs 4099
#define SYS_fstatfs 4100
#define SYS_ioperm 4101
#define SYS_socketcall 4102
#define SYS_syslog 4103
#define SYS_setitimer 4104
#define SYS_getitimer 4105
#define SYS_stat 4106
#define SYS_lstat 4107
#define SYS_fstat 4108
#define SYS_unused109 4109
#define SYS_iopl 4110
#define SYS_vhangup 4111
#define SYS_idle 4112
#define SYS_vm86 4113
#define SYS_wait4 4114
#define SYS_swapoff 4115
#define SYS_sysinfo 4116
#define SYS_ipc 4117
#define SYS_fsync 4118
#define SYS_sigreturn 4119
#define SYS_clone 4120
#define SYS_setdomainname 4121
#define SYS_uname 4122
#define SYS_modify_ldt 4123
#define SYS_adjtimex 4124
#define SYS_mprotect 4125
#define SYS_sigprocmask 4126
#define SYS_create_module 4127
#define SYS_init_module 4128
#define SYS_delete_module 4129
#define SYS_get_kernel_syms 4130
#define SYS_quotactl 4131
#define SYS_getpgid 4132
#define SYS_fchdir 4133
#define SYS_bdflush 4134
#define SYS_sysfs 4135
#define SYS_personality 4136
#define SYS_afs_syscall 4137
#define SYS_setfsuid 4138
#define SYS_setfsgid 4139
#define SYS__llseek 4140
#define SYS_getdents 4141
#define SYS__newselect 4142
#define SYS_flock 4143
#define SYS_msync 4144
#define SYS_readv 4145
#define SYS_writev 4146
#define SYS_cacheflush 4147
#define SYS_cachectl 4148
#define SYS_sysmips 4149
#define SYS_unused150 4150
#define SYS_getsid 4151
#define SYS_fdatasync 4152
#define SYS__sysctl 4153
#define SYS_mlock 4154
#define SYS_munlock 4155
#define SYS_mlockall 4156
#define SYS_munlockall 4157
#define SYS_sched_setparam 4158
#define SYS_sched_getparam 4159
#define SYS_sched_setscheduler 4160
#define SYS_sched_getscheduler 4161
#define SYS_sched_yield 4162
#define SYS_sched_get_priority_max 4163
#define SYS_sched_get_priority_min 4164
#define SYS_sched_rr_get_interval 4165
#define SYS_nanosleep 4166
#define SYS_mremap 4167
#define SYS_accept 4168
#define SYS_bind 4169
#define SYS_connect 4170
#define SYS_getpeername 4171
#define SYS_getsockname 4172
#define SYS_getsockopt 4173
#define SYS_listen 4174
#define SYS_recv 4175
#define SYS_recvfrom 4176
#define SYS_recvmsg 4177
#define SYS_send 4178
#define SYS_sendmsg 4179
#define SYS_sendto 4180
#define SYS_setsockopt 4181
#define SYS_shutdown 4182
#define SYS_socket 4183
#define SYS_socketpair 4184
#define SYS_setresuid 4185
#define SYS_getresuid 4186
#define SYS_query_module 4187
#define SYS_poll 4188
#define SYS_nfsservctl 4189
#define SYS_setresgid 4190
#define SYS_getresgid 4191
#define SYS_prctl 4192
#define SYS_rt_sigreturn 4193
#define SYS_rt_sigaction 4194
#define SYS_rt_sigprocmask 4195
#define SYS_rt_sigpending 4196
#define SYS_rt_sigtimedwait 4197
#define SYS_rt_sigqueueinfo 4198
#define SYS_rt_sigsuspend 4199
#define SYS_pread64 4200
#define SYS_pwrite64 4201
#define SYS_chown 4202
#define SYS_getcwd 4203
#define SYS_capget 4204
#define SYS_capset 4205
#define SYS_sigaltstack 4206
#define SYS_sendfile 4207
#define SYS_getpmsg 4208
#define SYS_putpmsg 4209
#define SYS_mmap2 4210
#define SYS_truncate64 4211
#define SYS_ftruncate64 4212
#define SYS_stat64 4213
#define SYS_lstat64 4214
#define SYS_fstat64 4215
#define SYS_pivot_root 4216
#define SYS_mincore 4217
#define SYS_madvise 4218
#define SYS_getdents64 4219
#define SYS_fcntl64 4220
#define SYS_reserved221 4221
#define SYS_gettid 4222
#define SYS_readahead 4223
#define SYS_setxattr 4224
#define SYS_lsetxattr 4225
#define SYS_fsetxattr 4226
#define SYS_getxattr 4227
#define SYS_lgetxattr 4228
#define SYS_fgetxattr 4229
#define SYS_listxattr 4230
#define SYS_llistxattr 4231
#define SYS_flistxattr 4232
#define SYS_removexattr 4233
#define SYS_lremovexattr 4234
#define SYS_fremovexattr 4235
#define SYS_tkill 4236
#define SYS_sendfile64 4237
#define SYS_futex 4238
#define SYS_sched_setaffinity 4239
#define SYS_sched_getaffinity 4240
#define SYS_io_setup 4241
#define SYS_io_destroy 4242
#define SYS_io_getevents 4243
#define SYS_io_submit 4244
#define SYS_io_cancel 4245
#define SYS_exit_group 4246
#define SYS_lookup_dcookie 4247
#define SYS_epoll_create 4248
#define SYS_epoll_ctl 4249
#define SYS_epoll_wait 4250
#define SYS_remap_file_pages 4251
#define SYS_set_tid_address 4252
#define SYS_restart_syscall 4253
#define SYS_fadvise64 4254
#define SYS_statfs64 4255
#define SYS_fstatfs64 4256
#define SYS_timer_create 4257
#define SYS_timer_settime 4258
#define SYS_timer_gettime 4259
#define SYS_timer_getoverrun 4260
#define SYS_timer_delete 4261
#define SYS_clock_settime 4262
#define SYS_clock_gettime 4263
#define SYS_clock_getres 4264
#define SYS_clock_nanosleep 4265
#define SYS_tgkill 4266
#define SYS_utimes 4267
#define SYS_mbind 4268
#define SYS_get_mempolicy 4269
#define SYS_set_mempolicy 4270
#define SYS_mq_open 4271
#define SYS_mq_unlink 4272
#define SYS_mq_timedsend 4273
#define SYS_mq_timedreceive 4274
#define SYS_mq_notify 4275
#define SYS_mq_getsetattr 4276
#define SYS_vserver 4277
#define SYS_waitid 4278
#define SYS_add_key 4280
#define SYS_request_key 4281
#define SYS_keyctl 4282
#define SYS_set_thread_area 4283
#define SYS_inotify_init 4284
#define SYS_inotify_add_watch 4285
#define SYS_inotify_rm_watch 4286
#define SYS_migrate_pages 4287
#define SYS_openat 4288
#define SYS_mkdirat 4289
#define SYS_mknodat 4290
#define SYS_fchownat 4291
#define SYS_futimesat 4292
#define SYS_fstatat64 4293
#define SYS_unlinkat 4294
#define SYS_renameat 4295
#define SYS_linkat 4296
#define SYS_symlinkat 4297
#define SYS_readlinkat 4298
#define SYS_fchmodat 4299
#define SYS_faccessat 4300
#define SYS_pselect6 4301
#define SYS_ppoll 4302
#define SYS_unshare 4303
#define SYS_splice 4304
#define SYS_sync_file_range 4305
#define SYS_tee 4306
#define SYS_vmsplice 4307
#define SYS_move_pages 4308
#define SYS_set_robust_list 4309
#define SYS_get_robust_list 4310
#define SYS_kexec_load 4311
#define SYS_getcpu 4312
#define SYS_epoll_pwait 4313
#define SYS_ioprio_set 4314
#define SYS_ioprio_get 4315
#define SYS_utimensat 4316
#define SYS_signalfd 4317
#define SYS_timerfd 4318
#define SYS_eventfd 4319
#define SYS_fallocate 4320
#define SYS_timerfd_create 4321
#define SYS_timerfd_gettime 4322
#define SYS_timerfd_settime 4323
#define SYS_signalfd4 4324
#define SYS_eventfd2 4325
#define SYS_epoll_create1 4326
#define SYS_dup3 4327
#define SYS_pipe2 4328
#define SYS_inotify_init1 4329
#define SYS_preadv 4330
#define SYS_pwritev 4331
#define SYS_rt_tgsigqueueinfo 4332
#define SYS_perf_event_open 4333
#define SYS_accept4 4334
#define SYS_recvmmsg 4335
#define SYS_fanotify_init 4336
#define SYS_fanotify_mark 4337
#define SYS_prlimit64 4338
#define SYS_name_to_handle_at 4339
#define SYS_open_by_handle_at 4340
#define SYS_clock_adjtime 4341
#define SYS_syncfs 4342
#define SYS_sendmmsg 4343
#define SYS_setns 4344
#define SYS_process_vm_readv 4345
#define SYS_process_vm_writev 4346