syscall.h.in 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. #define __NR_syscall 4000
  2. #define __NR_exit 4001
  3. #define __NR_fork 4002
  4. #define __NR_read 4003
  5. #define __NR_write 4004
  6. #define __NR_open 4005
  7. #define __NR_close 4006
  8. #define __NR_waitpid 4007
  9. #define __NR_creat 4008
  10. #define __NR_link 4009
  11. #define __NR_unlink 4010
  12. #define __NR_execve 4011
  13. #define __NR_chdir 4012
  14. #define __NR_time 4013
  15. #define __NR_mknod 4014
  16. #define __NR_chmod 4015
  17. #define __NR_lchown 4016
  18. #define __NR_break 4017
  19. #define __NR_unused18 4018
  20. #define __NR_lseek 4019
  21. #define __NR_getpid 4020
  22. #define __NR_mount 4021
  23. #define __NR_umount 4022
  24. #define __NR_setuid 4023
  25. #define __NR_getuid 4024
  26. #define __NR_stime 4025
  27. #define __NR_ptrace 4026
  28. #define __NR_alarm 4027
  29. #define __NR_unused28 4028
  30. #define __NR_pause 4029
  31. #define __NR_utime 4030
  32. #define __NR_stty 4031
  33. #define __NR_gtty 4032
  34. #define __NR_access 4033
  35. #define __NR_nice 4034
  36. #define __NR_ftime 4035
  37. #define __NR_sync 4036
  38. #define __NR_kill 4037
  39. #define __NR_rename 4038
  40. #define __NR_mkdir 4039
  41. #define __NR_rmdir 4040
  42. #define __NR_dup 4041
  43. #define __NR_pipe 4042
  44. #define __NR_times 4043
  45. #define __NR_prof 4044
  46. #define __NR_brk 4045
  47. #define __NR_setgid 4046
  48. #define __NR_getgid 4047
  49. #define __NR_signal 4048
  50. #define __NR_geteuid 4049
  51. #define __NR_getegid 4050
  52. #define __NR_acct 4051
  53. #define __NR_umount2 4052
  54. #define __NR_lock 4053
  55. #define __NR_ioctl 4054
  56. #define __NR_fcntl 4055
  57. #define __NR_mpx 4056
  58. #define __NR_setpgid 4057
  59. #define __NR_ulimit 4058
  60. #define __NR_unused59 4059
  61. #define __NR_umask 4060
  62. #define __NR_chroot 4061
  63. #define __NR_ustat 4062
  64. #define __NR_dup2 4063
  65. #define __NR_getppid 4064
  66. #define __NR_getpgrp 4065
  67. #define __NR_setsid 4066
  68. #define __NR_sigaction 4067
  69. #define __NR_sgetmask 4068
  70. #define __NR_ssetmask 4069
  71. #define __NR_setreuid 4070
  72. #define __NR_setregid 4071
  73. #define __NR_sigsuspend 4072
  74. #define __NR_sigpending 4073
  75. #define __NR_sethostname 4074
  76. #define __NR_setrlimit 4075
  77. #define __NR_getrlimit 4076
  78. #define __NR_getrusage 4077
  79. #define __NR_gettimeofday_time32 4078
  80. #define __NR_settimeofday_time32 4079
  81. #define __NR_getgroups 4080
  82. #define __NR_setgroups 4081
  83. #define __NR_reserved82 4082
  84. #define __NR_symlink 4083
  85. #define __NR_unused84 4084
  86. #define __NR_readlink 4085
  87. #define __NR_uselib 4086
  88. #define __NR_swapon 4087
  89. #define __NR_reboot 4088
  90. #define __NR_readdir 4089
  91. #define __NR_mmap 4090
  92. #define __NR_munmap 4091
  93. #define __NR_truncate 4092
  94. #define __NR_ftruncate 4093
  95. #define __NR_fchmod 4094
  96. #define __NR_fchown 4095
  97. #define __NR_getpriority 4096
  98. #define __NR_setpriority 4097
  99. #define __NR_profil 4098
  100. #define __NR_statfs 4099
  101. #define __NR_fstatfs 4100
  102. #define __NR_ioperm 4101
  103. #define __NR_socketcall 4102
  104. #define __NR_syslog 4103
  105. #define __NR_setitimer 4104
  106. #define __NR_getitimer 4105
  107. #define __NR_stat 4106
  108. #define __NR_lstat 4107
  109. #define __NR_fstat 4108
  110. #define __NR_unused109 4109
  111. #define __NR_iopl 4110
  112. #define __NR_vhangup 4111
  113. #define __NR_idle 4112
  114. #define __NR_vm86 4113
  115. #define __NR_wait4 4114
  116. #define __NR_swapoff 4115
  117. #define __NR_sysinfo 4116
  118. #define __NR_ipc 4117
  119. #define __NR_fsync 4118
  120. #define __NR_sigreturn 4119
  121. #define __NR_clone 4120
  122. #define __NR_setdomainname 4121
  123. #define __NR_uname 4122
  124. #define __NR_modify_ldt 4123
  125. #define __NR_adjtimex 4124
  126. #define __NR_mprotect 4125
  127. #define __NR_sigprocmask 4126
  128. #define __NR_create_module 4127
  129. #define __NR_init_module 4128
  130. #define __NR_delete_module 4129
  131. #define __NR_get_kernel_syms 4130
  132. #define __NR_quotactl 4131
  133. #define __NR_getpgid 4132
  134. #define __NR_fchdir 4133
  135. #define __NR_bdflush 4134
  136. #define __NR_sysfs 4135
  137. #define __NR_personality 4136
  138. #define __NR_afs_syscall 4137
  139. #define __NR_setfsuid 4138
  140. #define __NR_setfsgid 4139
  141. #define __NR__llseek 4140
  142. #define __NR_getdents 4141
  143. #define __NR__newselect 4142
  144. #define __NR_flock 4143
  145. #define __NR_msync 4144
  146. #define __NR_readv 4145
  147. #define __NR_writev 4146
  148. #define __NR_cacheflush 4147
  149. #define __NR_cachectl 4148
  150. #define __NR_sysmips 4149
  151. #define __NR_unused150 4150
  152. #define __NR_getsid 4151
  153. #define __NR_fdatasync 4152
  154. #define __NR__sysctl 4153
  155. #define __NR_mlock 4154
  156. #define __NR_munlock 4155
  157. #define __NR_mlockall 4156
  158. #define __NR_munlockall 4157
  159. #define __NR_sched_setparam 4158
  160. #define __NR_sched_getparam 4159
  161. #define __NR_sched_setscheduler 4160
  162. #define __NR_sched_getscheduler 4161
  163. #define __NR_sched_yield 4162
  164. #define __NR_sched_get_priority_max 4163
  165. #define __NR_sched_get_priority_min 4164
  166. #define __NR_sched_rr_get_interval 4165
  167. #define __NR_nanosleep 4166
  168. #define __NR_mremap 4167
  169. #define __NR_accept 4168
  170. #define __NR_bind 4169
  171. #define __NR_connect 4170
  172. #define __NR_getpeername 4171
  173. #define __NR_getsockname 4172
  174. #define __NR_getsockopt 4173
  175. #define __NR_listen 4174
  176. #define __NR_recv 4175
  177. #define __NR_recvfrom 4176
  178. #define __NR_recvmsg 4177
  179. #define __NR_send 4178
  180. #define __NR_sendmsg 4179
  181. #define __NR_sendto 4180
  182. #define __NR_setsockopt 4181
  183. #define __NR_shutdown 4182
  184. #define __NR_socket 4183
  185. #define __NR_socketpair 4184
  186. #define __NR_setresuid 4185
  187. #define __NR_getresuid 4186
  188. #define __NR_query_module 4187
  189. #define __NR_poll 4188
  190. #define __NR_nfsservctl 4189
  191. #define __NR_setresgid 4190
  192. #define __NR_getresgid 4191
  193. #define __NR_prctl 4192
  194. #define __NR_rt_sigreturn 4193
  195. #define __NR_rt_sigaction 4194
  196. #define __NR_rt_sigprocmask 4195
  197. #define __NR_rt_sigpending 4196
  198. #define __NR_rt_sigtimedwait 4197
  199. #define __NR_rt_sigqueueinfo 4198
  200. #define __NR_rt_sigsuspend 4199
  201. #define __NR_pread64 4200
  202. #define __NR_pwrite64 4201
  203. #define __NR_chown 4202
  204. #define __NR_getcwd 4203
  205. #define __NR_capget 4204
  206. #define __NR_capset 4205
  207. #define __NR_sigaltstack 4206
  208. #define __NR_sendfile 4207
  209. #define __NR_getpmsg 4208
  210. #define __NR_putpmsg 4209
  211. #define __NR_mmap2 4210
  212. #define __NR_truncate64 4211
  213. #define __NR_ftruncate64 4212
  214. #define __NR_stat64 4213
  215. #define __NR_lstat64 4214
  216. #define __NR_fstat64 4215
  217. #define __NR_pivot_root 4216
  218. #define __NR_mincore 4217
  219. #define __NR_madvise 4218
  220. #define __NR_getdents64 4219
  221. #define __NR_fcntl64 4220
  222. #define __NR_reserved221 4221
  223. #define __NR_gettid 4222
  224. #define __NR_readahead 4223
  225. #define __NR_setxattr 4224
  226. #define __NR_lsetxattr 4225
  227. #define __NR_fsetxattr 4226
  228. #define __NR_getxattr 4227
  229. #define __NR_lgetxattr 4228
  230. #define __NR_fgetxattr 4229
  231. #define __NR_listxattr 4230
  232. #define __NR_llistxattr 4231
  233. #define __NR_flistxattr 4232
  234. #define __NR_removexattr 4233
  235. #define __NR_lremovexattr 4234
  236. #define __NR_fremovexattr 4235
  237. #define __NR_tkill 4236
  238. #define __NR_sendfile64 4237
  239. #define __NR_futex 4238
  240. #define __NR_sched_setaffinity 4239
  241. #define __NR_sched_getaffinity 4240
  242. #define __NR_io_setup 4241
  243. #define __NR_io_destroy 4242
  244. #define __NR_io_getevents 4243
  245. #define __NR_io_submit 4244
  246. #define __NR_io_cancel 4245
  247. #define __NR_exit_group 4246
  248. #define __NR_lookup_dcookie 4247
  249. #define __NR_epoll_create 4248
  250. #define __NR_epoll_ctl 4249
  251. #define __NR_epoll_wait 4250
  252. #define __NR_remap_file_pages 4251
  253. #define __NR_set_tid_address 4252
  254. #define __NR_restart_syscall 4253
  255. #define __NR_fadvise64 4254
  256. #define __NR_statfs64 4255
  257. #define __NR_fstatfs64 4256
  258. #define __NR_timer_create 4257
  259. #define __NR_timer_settime32 4258
  260. #define __NR_timer_gettime32 4259
  261. #define __NR_timer_getoverrun 4260
  262. #define __NR_timer_delete 4261
  263. #define __NR_clock_settime32 4262
  264. #define __NR_clock_gettime32 4263
  265. #define __NR_clock_getres_time32 4264
  266. #define __NR_clock_nanosleep_time32 4265
  267. #define __NR_tgkill 4266
  268. #define __NR_utimes 4267
  269. #define __NR_mbind 4268
  270. #define __NR_get_mempolicy 4269
  271. #define __NR_set_mempolicy 4270
  272. #define __NR_mq_open 4271
  273. #define __NR_mq_unlink 4272
  274. #define __NR_mq_timedsend 4273
  275. #define __NR_mq_timedreceive 4274
  276. #define __NR_mq_notify 4275
  277. #define __NR_mq_getsetattr 4276
  278. #define __NR_vserver 4277
  279. #define __NR_waitid 4278
  280. #define __NR_add_key 4280
  281. #define __NR_request_key 4281
  282. #define __NR_keyctl 4282
  283. #define __NR_set_thread_area 4283
  284. #define __NR_inotify_init 4284
  285. #define __NR_inotify_add_watch 4285
  286. #define __NR_inotify_rm_watch 4286
  287. #define __NR_migrate_pages 4287
  288. #define __NR_openat 4288
  289. #define __NR_mkdirat 4289
  290. #define __NR_mknodat 4290
  291. #define __NR_fchownat 4291
  292. #define __NR_futimesat 4292
  293. #define __NR_fstatat64 4293
  294. #define __NR_unlinkat 4294
  295. #define __NR_renameat 4295
  296. #define __NR_linkat 4296
  297. #define __NR_symlinkat 4297
  298. #define __NR_readlinkat 4298
  299. #define __NR_fchmodat 4299
  300. #define __NR_faccessat 4300
  301. #define __NR_pselect6 4301
  302. #define __NR_ppoll 4302
  303. #define __NR_unshare 4303
  304. #define __NR_splice 4304
  305. #define __NR_sync_file_range 4305
  306. #define __NR_tee 4306
  307. #define __NR_vmsplice 4307
  308. #define __NR_move_pages 4308
  309. #define __NR_set_robust_list 4309
  310. #define __NR_get_robust_list 4310
  311. #define __NR_kexec_load 4311
  312. #define __NR_getcpu 4312
  313. #define __NR_epoll_pwait 4313
  314. #define __NR_ioprio_set 4314
  315. #define __NR_ioprio_get 4315
  316. #define __NR_utimensat 4316
  317. #define __NR_signalfd 4317
  318. #define __NR_timerfd 4318
  319. #define __NR_eventfd 4319
  320. #define __NR_fallocate 4320
  321. #define __NR_timerfd_create 4321
  322. #define __NR_timerfd_gettime32 4322
  323. #define __NR_timerfd_settime32 4323
  324. #define __NR_signalfd4 4324
  325. #define __NR_eventfd2 4325
  326. #define __NR_epoll_create1 4326
  327. #define __NR_dup3 4327
  328. #define __NR_pipe2 4328
  329. #define __NR_inotify_init1 4329
  330. #define __NR_preadv 4330
  331. #define __NR_pwritev 4331
  332. #define __NR_rt_tgsigqueueinfo 4332
  333. #define __NR_perf_event_open 4333
  334. #define __NR_accept4 4334
  335. #define __NR_recvmmsg 4335
  336. #define __NR_fanotify_init 4336
  337. #define __NR_fanotify_mark 4337
  338. #define __NR_prlimit64 4338
  339. #define __NR_name_to_handle_at 4339
  340. #define __NR_open_by_handle_at 4340
  341. #define __NR_clock_adjtime 4341
  342. #define __NR_syncfs 4342
  343. #define __NR_sendmmsg 4343
  344. #define __NR_setns 4344
  345. #define __NR_process_vm_readv 4345
  346. #define __NR_process_vm_writev 4346
  347. #define __NR_kcmp 4347
  348. #define __NR_finit_module 4348
  349. #define __NR_sched_setattr 4349
  350. #define __NR_sched_getattr 4350
  351. #define __NR_renameat2 4351
  352. #define __NR_seccomp 4352
  353. #define __NR_getrandom 4353
  354. #define __NR_memfd_create 4354
  355. #define __NR_bpf 4355
  356. #define __NR_execveat 4356
  357. #define __NR_userfaultfd 4357
  358. #define __NR_membarrier 4358
  359. #define __NR_mlock2 4359
  360. #define __NR_copy_file_range 4360
  361. #define __NR_preadv2 4361
  362. #define __NR_pwritev2 4362
  363. #define __NR_pkey_mprotect 4363
  364. #define __NR_pkey_alloc 4364
  365. #define __NR_pkey_free 4365
  366. #define __NR_statx 4366
  367. #define __NR_rseq 4367
  368. #define __NR_io_pgetevents 4368
  369. #define __NR_semget 4393
  370. #define __NR_semctl 4394
  371. #define __NR_shmget 4395
  372. #define __NR_shmctl 4396
  373. #define __NR_shmat 4397
  374. #define __NR_shmdt 4398
  375. #define __NR_msgget 4399
  376. #define __NR_msgsnd 4400
  377. #define __NR_msgrcv 4401
  378. #define __NR_msgctl 4402
  379. #define __NR_clock_gettime64 4403
  380. #define __NR_clock_settime64 4404
  381. #define __NR_clock_adjtime64 4405
  382. #define __NR_clock_getres_time64 4406
  383. #define __NR_clock_nanosleep_time64 4407
  384. #define __NR_timer_gettime64 4408
  385. #define __NR_timer_settime64 4409
  386. #define __NR_timerfd_gettime64 4410
  387. #define __NR_timerfd_settime64 4411
  388. #define __NR_utimensat_time64 4412
  389. #define __NR_pselect6_time64 4413
  390. #define __NR_ppoll_time64 4414
  391. #define __NR_io_pgetevents_time64 4416
  392. #define __NR_recvmmsg_time64 4417
  393. #define __NR_mq_timedsend_time64 4418
  394. #define __NR_mq_timedreceive_time64 4419
  395. #define __NR_semtimedop_time64 4420
  396. #define __NR_rt_sigtimedwait_time64 4421
  397. #define __NR_futex_time64 4422
  398. #define __NR_sched_rr_get_interval_time64 4423
  399. #define __NR_pidfd_send_signal 4424
  400. #define __NR_io_uring_setup 4425
  401. #define __NR_io_uring_enter 4426
  402. #define __NR_io_uring_register 4427
  403. #define __NR_open_tree 4428
  404. #define __NR_move_mount 4429
  405. #define __NR_fsopen 4430
  406. #define __NR_fsconfig 4431
  407. #define __NR_fsmount 4432
  408. #define __NR_fspick 4433
  409. #define __NR_pidfd_open 4434
  410. #define __NR_clone3 4435
  411. #define __NR_close_range 4436
  412. #define __NR_openat2 4437
  413. #define __NR_pidfd_getfd 4438
  414. #define __NR_faccessat2 4439
  415. #define __NR_process_madvise 4440
  416. #define __NR_epoll_pwait2 4441
  417. #define __NR_mount_setattr 4442
  418. #define __NR_landlock_create_ruleset 4444
  419. #define __NR_landlock_add_rule 4445
  420. #define __NR_landlock_restrict_self 4446
  421. #define __NR_process_mrelease 4448
  422. #define __NR_futex_waitv 4449
  423. #define __NR_set_mempolicy_home_node 4450
  424. #define __NR_cachestat 4451
  425. #define __NR_fchmodat2 4452