syscall.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  1. /* WARNING!!! AUTO-GENERATED FILE!!! DO NOT EDIT!!! */
  2. #ifndef _SYSCALL_H
  3. # error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
  4. #endif
  5. #define __NR_setup 0
  6. #define SYS_setup __NR_setup
  7. #define __STR_NR_setup "0 "
  8. #define __NR_exit 1
  9. #define SYS_exit __NR_exit
  10. #define __STR_NR_exit "1 "
  11. #define __NR_fork 2
  12. #define SYS_fork __NR_fork
  13. #define __STR_NR_fork "2 "
  14. #define __NR_read 3
  15. #define SYS_read __NR_read
  16. #define __STR_NR_read "3 "
  17. #define __NR_write 4
  18. #define SYS_write __NR_write
  19. #define __STR_NR_write "4 "
  20. #define __NR_open 5
  21. #define SYS_open __NR_open
  22. #define __STR_NR_open "5 "
  23. #define __NR_close 6
  24. #define SYS_close __NR_close
  25. #define __STR_NR_close "6 "
  26. #define __NR_waitpid 7
  27. #define SYS_waitpid __NR_waitpid
  28. #define __STR_NR_waitpid "7 "
  29. #define __NR_creat 8
  30. #define SYS_creat __NR_creat
  31. #define __STR_NR_creat "8 "
  32. #define __NR_link 9
  33. #define SYS_link __NR_link
  34. #define __STR_NR_link "9 "
  35. #define __NR_unlink 10
  36. #define SYS_unlink __NR_unlink
  37. #define __STR_NR_unlink "10 "
  38. #define __NR_execve 11
  39. #define SYS_execve __NR_execve
  40. #define __STR_NR_execve "11 "
  41. #define __NR_chdir 12
  42. #define SYS_chdir __NR_chdir
  43. #define __STR_NR_chdir "12 "
  44. #define __NR_time 13
  45. #define SYS_time __NR_time
  46. #define __STR_NR_time "13 "
  47. #define __NR_mknod 14
  48. #define SYS_mknod __NR_mknod
  49. #define __STR_NR_mknod "14 "
  50. #define __NR_chmod 15
  51. #define SYS_chmod __NR_chmod
  52. #define __STR_NR_chmod "15 "
  53. #define __NR_chown 16
  54. #define SYS_chown __NR_chown
  55. #define __STR_NR_chown "16 "
  56. #define __NR_break 17
  57. #define SYS_break __NR_break
  58. #define __STR_NR_break "17 "
  59. #define __NR_oldstat 18
  60. #define SYS_oldstat __NR_oldstat
  61. #define __STR_NR_oldstat "18 "
  62. #define __NR_lseek 19
  63. #define SYS_lseek __NR_lseek
  64. #define __STR_NR_lseek "19 "
  65. #define __NR_getpid 20
  66. #define SYS_getpid __NR_getpid
  67. #define __STR_NR_getpid "20 "
  68. #define __NR_mount 21
  69. #define SYS_mount __NR_mount
  70. #define __STR_NR_mount "21 "
  71. #define __NR_umount 22
  72. #define SYS_umount __NR_umount
  73. #define __STR_NR_umount "22 "
  74. #define __NR_setuid 23
  75. #define SYS_setuid __NR_setuid
  76. #define __STR_NR_setuid "23 "
  77. #define __NR_getuid 24
  78. #define SYS_getuid __NR_getuid
  79. #define __STR_NR_getuid "24 "
  80. #define __NR_stime 25
  81. #define SYS_stime __NR_stime
  82. #define __STR_NR_stime "25 "
  83. #define __NR_ptrace 26
  84. #define SYS_ptrace __NR_ptrace
  85. #define __STR_NR_ptrace "26 "
  86. #define __NR_alarm 27
  87. #define SYS_alarm __NR_alarm
  88. #define __STR_NR_alarm "27 "
  89. #define __NR_oldfstat 28
  90. #define SYS_oldfstat __NR_oldfstat
  91. #define __STR_NR_oldfstat "28 "
  92. #define __NR_pause 29
  93. #define SYS_pause __NR_pause
  94. #define __STR_NR_pause "29 "
  95. #define __NR_utime 30
  96. #define SYS_utime __NR_utime
  97. #define __STR_NR_utime "30 "
  98. #define __NR_stty 31
  99. #define SYS_stty __NR_stty
  100. #define __STR_NR_stty "31 "
  101. #define __NR_gtty 32
  102. #define SYS_gtty __NR_gtty
  103. #define __STR_NR_gtty "32 "
  104. #define __NR_access 33
  105. #define SYS_access __NR_access
  106. #define __STR_NR_access "33 "
  107. #define __NR_nice 34
  108. #define SYS_nice __NR_nice
  109. #define __STR_NR_nice "34 "
  110. #define __NR_ftime 35
  111. #define SYS_ftime __NR_ftime
  112. #define __STR_NR_ftime "35 "
  113. #define __NR_sync 36
  114. #define SYS_sync __NR_sync
  115. #define __STR_NR_sync "36 "
  116. #define __NR_kill 37
  117. #define SYS_kill __NR_kill
  118. #define __STR_NR_kill "37 "
  119. #define __NR_rename 38
  120. #define SYS_rename __NR_rename
  121. #define __STR_NR_rename "38 "
  122. #define __NR_mkdir 39
  123. #define SYS_mkdir __NR_mkdir
  124. #define __STR_NR_mkdir "39 "
  125. #define __NR_rmdir 40
  126. #define SYS_rmdir __NR_rmdir
  127. #define __STR_NR_rmdir "40 "
  128. #define __NR_dup 41
  129. #define SYS_dup __NR_dup
  130. #define __STR_NR_dup "41 "
  131. #define __NR_pipe 42
  132. #define SYS_pipe __NR_pipe
  133. #define __STR_NR_pipe "42 "
  134. #define __NR_times 43
  135. #define SYS_times __NR_times
  136. #define __STR_NR_times "43 "
  137. #define __NR_prof 44
  138. #define SYS_prof __NR_prof
  139. #define __STR_NR_prof "44 "
  140. #define __NR_brk 45
  141. #define SYS_brk __NR_brk
  142. #define __STR_NR_brk "45 "
  143. #define __NR_setgid 46
  144. #define SYS_setgid __NR_setgid
  145. #define __STR_NR_setgid "46 "
  146. #define __NR_getgid 47
  147. #define SYS_getgid __NR_getgid
  148. #define __STR_NR_getgid "47 "
  149. #define __NR_signal 48
  150. #define SYS_signal __NR_signal
  151. #define __STR_NR_signal "48 "
  152. #define __NR_geteuid 49
  153. #define SYS_geteuid __NR_geteuid
  154. #define __STR_NR_geteuid "49 "
  155. #define __NR_getegid 50
  156. #define SYS_getegid __NR_getegid
  157. #define __STR_NR_getegid "50 "
  158. #define __NR_acct 51
  159. #define SYS_acct __NR_acct
  160. #define __STR_NR_acct "51 "
  161. #define __NR_phys 52
  162. #define SYS_phys __NR_phys
  163. #define __STR_NR_phys "52 "
  164. #define __NR_lock 53
  165. #define SYS_lock __NR_lock
  166. #define __STR_NR_lock "53 "
  167. #define __NR_ioctl 54
  168. #define SYS_ioctl __NR_ioctl
  169. #define __STR_NR_ioctl "54 "
  170. #define __NR_fcntl 55
  171. #define SYS_fcntl __NR_fcntl
  172. #define __STR_NR_fcntl "55 "
  173. #define __NR_mpx 56
  174. #define SYS_mpx __NR_mpx
  175. #define __STR_NR_mpx "56 "
  176. #define __NR_setpgid 57
  177. #define SYS_setpgid __NR_setpgid
  178. #define __STR_NR_setpgid "57 "
  179. #define __NR_ulimit 58
  180. #define SYS_ulimit __NR_ulimit
  181. #define __STR_NR_ulimit "58 "
  182. #define __NR_oldolduname 59
  183. #define SYS_oldolduname __NR_oldolduname
  184. #define __STR_NR_oldolduname "59 "
  185. #define __NR_umask 60
  186. #define SYS_umask __NR_umask
  187. #define __STR_NR_umask "60 "
  188. #define __NR_chroot 61
  189. #define SYS_chroot __NR_chroot
  190. #define __STR_NR_chroot "61 "
  191. #define __NR_ustat 62
  192. #define SYS_ustat __NR_ustat
  193. #define __STR_NR_ustat "62 "
  194. #define __NR_dup2 63
  195. #define SYS_dup2 __NR_dup2
  196. #define __STR_NR_dup2 "63 "
  197. #define __NR_getppid 64
  198. #define SYS_getppid __NR_getppid
  199. #define __STR_NR_getppid "64 "
  200. #define __NR_getpgrp 65
  201. #define SYS_getpgrp __NR_getpgrp
  202. #define __STR_NR_getpgrp "65 "
  203. #define __NR_setsid 66
  204. #define SYS_setsid __NR_setsid
  205. #define __STR_NR_setsid "66 "
  206. #define __NR_sigaction 67
  207. #define SYS_sigaction __NR_sigaction
  208. #define __STR_NR_sigaction "67 "
  209. #define __NR_sgetmask 68
  210. #define SYS_sgetmask __NR_sgetmask
  211. #define __STR_NR_sgetmask "68 "
  212. #define __NR_ssetmask 69
  213. #define SYS_ssetmask __NR_ssetmask
  214. #define __STR_NR_ssetmask "69 "
  215. #define __NR_setreuid 70
  216. #define SYS_setreuid __NR_setreuid
  217. #define __STR_NR_setreuid "70 "
  218. #define __NR_setregid 71
  219. #define SYS_setregid __NR_setregid
  220. #define __STR_NR_setregid "71 "
  221. #define __NR_sigsuspend 72
  222. #define SYS_sigsuspend __NR_sigsuspend
  223. #define __STR_NR_sigsuspend "72 "
  224. #define __NR_sigpending 73
  225. #define SYS_sigpending __NR_sigpending
  226. #define __STR_NR_sigpending "73 "
  227. #define __NR_sethostname 74
  228. #define SYS_sethostname __NR_sethostname
  229. #define __STR_NR_sethostname "74 "
  230. #define __NR_setrlimit 75
  231. #define SYS_setrlimit __NR_setrlimit
  232. #define __STR_NR_setrlimit "75 "
  233. #define __NR_getrlimit 76
  234. #define SYS_getrlimit __NR_getrlimit
  235. #define __STR_NR_getrlimit "76 "
  236. #define __NR_getrusage 77
  237. #define SYS_getrusage __NR_getrusage
  238. #define __STR_NR_getrusage "77 "
  239. #define __NR_gettimeofday 78
  240. #define SYS_gettimeofday __NR_gettimeofday
  241. #define __STR_NR_gettimeofday "78 "
  242. #define __NR_settimeofday 79
  243. #define SYS_settimeofday __NR_settimeofday
  244. #define __STR_NR_settimeofday "79 "
  245. #define __NR_getgroups 80
  246. #define SYS_getgroups __NR_getgroups
  247. #define __STR_NR_getgroups "80 "
  248. #define __NR_setgroups 81
  249. #define SYS_setgroups __NR_setgroups
  250. #define __STR_NR_setgroups "81 "
  251. #define __NR_select 82
  252. #define SYS_select __NR_select
  253. #define __STR_NR_select "82 "
  254. #define __NR_symlink 83
  255. #define SYS_symlink __NR_symlink
  256. #define __STR_NR_symlink "83 "
  257. #define __NR_oldlstat 84
  258. #define SYS_oldlstat __NR_oldlstat
  259. #define __STR_NR_oldlstat "84 "
  260. #define __NR_readlink 85
  261. #define SYS_readlink __NR_readlink
  262. #define __STR_NR_readlink "85 "
  263. #define __NR_uselib 86
  264. #define SYS_uselib __NR_uselib
  265. #define __STR_NR_uselib "86 "
  266. #define __NR_swapon 87
  267. #define SYS_swapon __NR_swapon
  268. #define __STR_NR_swapon "87 "
  269. #define __NR_reboot 88
  270. #define SYS_reboot __NR_reboot
  271. #define __STR_NR_reboot "88 "
  272. #define __NR_readdir 89
  273. #define SYS_readdir __NR_readdir
  274. #define __STR_NR_readdir "89 "
  275. #define __NR_mmap 90
  276. #define SYS_mmap __NR_mmap
  277. #define __STR_NR_mmap "90 "
  278. #define __NR_munmap 91
  279. #define SYS_munmap __NR_munmap
  280. #define __STR_NR_munmap "91 "
  281. #define __NR_truncate 92
  282. #define SYS_truncate __NR_truncate
  283. #define __STR_NR_truncate "92 "
  284. #define __NR_ftruncate 93
  285. #define SYS_ftruncate __NR_ftruncate
  286. #define __STR_NR_ftruncate "93 "
  287. #define __NR_fchmod 94
  288. #define SYS_fchmod __NR_fchmod
  289. #define __STR_NR_fchmod "94 "
  290. #define __NR_fchown 95
  291. #define SYS_fchown __NR_fchown
  292. #define __STR_NR_fchown "95 "
  293. #define __NR_getpriority 96
  294. #define SYS_getpriority __NR_getpriority
  295. #define __STR_NR_getpriority "96 "
  296. #define __NR_setpriority 97
  297. #define SYS_setpriority __NR_setpriority
  298. #define __STR_NR_setpriority "97 "
  299. #define __NR_profil 98
  300. #define SYS_profil __NR_profil
  301. #define __STR_NR_profil "98 "
  302. #define __NR_statfs 99
  303. #define SYS_statfs __NR_statfs
  304. #define __STR_NR_statfs "99 "
  305. #define __NR_fstatfs 100
  306. #define SYS_fstatfs __NR_fstatfs
  307. #define __STR_NR_fstatfs "100 "
  308. #define __NR_ioperm 101
  309. #define SYS_ioperm __NR_ioperm
  310. #define __STR_NR_ioperm "101 "
  311. #define __NR_socketcall 102
  312. #define SYS_socketcall __NR_socketcall
  313. #define __STR_NR_socketcall "102 "
  314. #define __NR_syslog 103
  315. #define SYS_syslog __NR_syslog
  316. #define __STR_NR_syslog "103 "
  317. #define __NR_setitimer 104
  318. #define SYS_setitimer __NR_setitimer
  319. #define __STR_NR_setitimer "104 "
  320. #define __NR_getitimer 105
  321. #define SYS_getitimer __NR_getitimer
  322. #define __STR_NR_getitimer "105 "
  323. #define __NR_stat 106
  324. #define SYS_stat __NR_stat
  325. #define __STR_NR_stat "106 "
  326. #define __NR_lstat 107
  327. #define SYS_lstat __NR_lstat
  328. #define __STR_NR_lstat "107 "
  329. #define __NR_fstat 108
  330. #define SYS_fstat __NR_fstat
  331. #define __STR_NR_fstat "108 "
  332. #define __NR_olduname 109
  333. #define SYS_olduname __NR_olduname
  334. #define __STR_NR_olduname "109 "
  335. #define __NR_iopl not supported
  336. #define SYS_iopl __NR_iopl
  337. #define __STR_NR_iopl "not supported "
  338. #define __NR_vhangup 111
  339. #define SYS_vhangup __NR_vhangup
  340. #define __STR_NR_vhangup "111 "
  341. #define __NR_idle 112
  342. #define SYS_idle __NR_idle
  343. #define __STR_NR_idle "112 "
  344. #define __NR_vm86 not supported
  345. #define SYS_vm86 __NR_vm86
  346. #define __STR_NR_vm86 "not supported "
  347. #define __NR_wait4 114
  348. #define SYS_wait4 __NR_wait4
  349. #define __STR_NR_wait4 "114 "
  350. #define __NR_swapoff 115
  351. #define SYS_swapoff __NR_swapoff
  352. #define __STR_NR_swapoff "115 "
  353. #define __NR_sysinfo 116
  354. #define SYS_sysinfo __NR_sysinfo
  355. #define __STR_NR_sysinfo "116 "
  356. #define __NR_ipc 117
  357. #define SYS_ipc __NR_ipc
  358. #define __STR_NR_ipc "117 "
  359. #define __NR_fsync 118
  360. #define SYS_fsync __NR_fsync
  361. #define __STR_NR_fsync "118 "
  362. #define __NR_sigreturn 119
  363. #define SYS_sigreturn __NR_sigreturn
  364. #define __STR_NR_sigreturn "119 "
  365. #define __NR_clone 120
  366. #define SYS_clone __NR_clone
  367. #define __STR_NR_clone "120 "
  368. #define __NR_setdomainname 121
  369. #define SYS_setdomainname __NR_setdomainname
  370. #define __STR_NR_setdomainname "121 "
  371. #define __NR_uname 122
  372. #define SYS_uname __NR_uname
  373. #define __STR_NR_uname "122 "
  374. #define __NR_cacheflush 123
  375. #define SYS_cacheflush __NR_cacheflush
  376. #define __STR_NR_cacheflush "123 "
  377. #define __NR_adjtimex 124
  378. #define SYS_adjtimex __NR_adjtimex
  379. #define __STR_NR_adjtimex "124 "
  380. #define __NR_mprotect 125
  381. #define SYS_mprotect __NR_mprotect
  382. #define __STR_NR_mprotect "125 "
  383. #define __NR_sigprocmask 126
  384. #define SYS_sigprocmask __NR_sigprocmask
  385. #define __STR_NR_sigprocmask "126 "
  386. #define __NR_create_module 127
  387. #define SYS_create_module __NR_create_module
  388. #define __STR_NR_create_module "127 "
  389. #define __NR_init_module 128
  390. #define SYS_init_module __NR_init_module
  391. #define __STR_NR_init_module "128 "
  392. #define __NR_delete_module 129
  393. #define SYS_delete_module __NR_delete_module
  394. #define __STR_NR_delete_module "129 "
  395. #define __NR_get_kernel_syms 130
  396. #define SYS_get_kernel_syms __NR_get_kernel_syms
  397. #define __STR_NR_get_kernel_syms "130 "
  398. #define __NR_quotactl 131
  399. #define SYS_quotactl __NR_quotactl
  400. #define __STR_NR_quotactl "131 "
  401. #define __NR_getpgid 132
  402. #define SYS_getpgid __NR_getpgid
  403. #define __STR_NR_getpgid "132 "
  404. #define __NR_fchdir 133
  405. #define SYS_fchdir __NR_fchdir
  406. #define __STR_NR_fchdir "133 "
  407. #define __NR_bdflush 134
  408. #define SYS_bdflush __NR_bdflush
  409. #define __STR_NR_bdflush "134 "
  410. #define __NR_sysfs 135
  411. #define SYS_sysfs __NR_sysfs
  412. #define __STR_NR_sysfs "135 "
  413. #define __NR_personality 136
  414. #define SYS_personality __NR_personality
  415. #define __STR_NR_personality "136 "
  416. #define __NR_afs_syscall 137
  417. #define SYS_afs_syscall __NR_afs_syscall
  418. #define __STR_NR_afs_syscall "137 "
  419. #define __NR_setfsuid 138
  420. #define SYS_setfsuid __NR_setfsuid
  421. #define __STR_NR_setfsuid "138 "
  422. #define __NR_setfsgid 139
  423. #define SYS_setfsgid __NR_setfsgid
  424. #define __STR_NR_setfsgid "139 "
  425. #define __NR__llseek 140
  426. #define SYS__llseek __NR__llseek
  427. #define __STR_NR__llseek "140 "
  428. #define __NR_getdents 141
  429. #define SYS_getdents __NR_getdents
  430. #define __STR_NR_getdents "141 "
  431. #define __NR__newselect 142
  432. #define SYS__newselect __NR__newselect
  433. #define __STR_NR__newselect "142 "
  434. #define __NR_flock 143
  435. #define SYS_flock __NR_flock
  436. #define __STR_NR_flock "143 "
  437. #define __NR_msync 144
  438. #define SYS_msync __NR_msync
  439. #define __STR_NR_msync "144 "
  440. #define __NR_readv 145
  441. #define SYS_readv __NR_readv
  442. #define __STR_NR_readv "145 "
  443. #define __NR_writev 146
  444. #define SYS_writev __NR_writev
  445. #define __STR_NR_writev "146 "
  446. #define __NR_getsid 147
  447. #define SYS_getsid __NR_getsid
  448. #define __STR_NR_getsid "147 "
  449. #define __NR_fdatasync 148
  450. #define SYS_fdatasync __NR_fdatasync
  451. #define __STR_NR_fdatasync "148 "
  452. #define __NR__sysctl 149
  453. #define SYS__sysctl __NR__sysctl
  454. #define __STR_NR__sysctl "149 "
  455. #define __NR_mlock 150
  456. #define SYS_mlock __NR_mlock
  457. #define __STR_NR_mlock "150 "
  458. #define __NR_munlock 151
  459. #define SYS_munlock __NR_munlock
  460. #define __STR_NR_munlock "151 "
  461. #define __NR_mlockall 152
  462. #define SYS_mlockall __NR_mlockall
  463. #define __STR_NR_mlockall "152 "
  464. #define __NR_munlockall 153
  465. #define SYS_munlockall __NR_munlockall
  466. #define __STR_NR_munlockall "153 "
  467. #define __NR_sched_setparam 154
  468. #define SYS_sched_setparam __NR_sched_setparam
  469. #define __STR_NR_sched_setparam "154 "
  470. #define __NR_sched_getparam 155
  471. #define SYS_sched_getparam __NR_sched_getparam
  472. #define __STR_NR_sched_getparam "155 "
  473. #define __NR_sched_setscheduler 156
  474. #define SYS_sched_setscheduler __NR_sched_setscheduler
  475. #define __STR_NR_sched_setscheduler "156 "
  476. #define __NR_sched_getscheduler 157
  477. #define SYS_sched_getscheduler __NR_sched_getscheduler
  478. #define __STR_NR_sched_getscheduler "157 "
  479. #define __NR_sched_yield 158
  480. #define SYS_sched_yield __NR_sched_yield
  481. #define __STR_NR_sched_yield "158 "
  482. #define __NR_sched_get_priority_max 159
  483. #define SYS_sched_get_priority_max __NR_sched_get_priority_max
  484. #define __STR_NR_sched_get_priority_max "159 "
  485. #define __NR_sched_get_priority_min 160
  486. #define SYS_sched_get_priority_min __NR_sched_get_priority_min
  487. #define __STR_NR_sched_get_priority_min "160 "
  488. #define __NR_sched_rr_get_interval 161
  489. #define SYS_sched_rr_get_interval __NR_sched_rr_get_interval
  490. #define __STR_NR_sched_rr_get_interval "161 "
  491. #define __NR_nanosleep 162
  492. #define SYS_nanosleep __NR_nanosleep
  493. #define __STR_NR_nanosleep "162 "
  494. #define __NR_mremap 163
  495. #define SYS_mremap __NR_mremap
  496. #define __STR_NR_mremap "163 "