Remove upc_{control,register} syscalls and everything that has to do with it.
[dragonfly.git] / sys / sys / syscall.h
CommitLineData
984263bc
MD
1/*
2 * System call numbers.
3 *
ba03102a 4 * DO NOT EDIT-- To regenerate this file, edit syscalls.master followed
c5b92a8c 5 * by running make sysent in the same directory.
984263bc
MD
6 */
7
8#define SYS_syscall 0
9#define SYS_exit 1
10#define SYS_fork 2
11#define SYS_read 3
12#define SYS_write 4
13#define SYS_open 5
14#define SYS_close 6
15#define SYS_wait4 7
16 /* 8 is old creat */
17#define SYS_link 9
18#define SYS_unlink 10
19 /* 11 is obsolete execv */
20#define SYS_chdir 12
21#define SYS_fchdir 13
22#define SYS_mknod 14
23#define SYS_chmod 15
24#define SYS_chown 16
25#define SYS_break 17
26#define SYS_getfsstat 18
27 /* 19 is old lseek */
28#define SYS_getpid 20
29#define SYS_mount 21
30#define SYS_unmount 22
31#define SYS_setuid 23
32#define SYS_getuid 24
33#define SYS_geteuid 25
34#define SYS_ptrace 26
35#define SYS_recvmsg 27
36#define SYS_sendmsg 28
37#define SYS_recvfrom 29
38#define SYS_accept 30
39#define SYS_getpeername 31
40#define SYS_getsockname 32
41#define SYS_access 33
42#define SYS_chflags 34
43#define SYS_fchflags 35
44#define SYS_sync 36
45#define SYS_kill 37
46 /* 38 is old stat */
47#define SYS_getppid 39
48 /* 40 is old lstat */
49#define SYS_dup 41
50#define SYS_pipe 42
51#define SYS_getegid 43
52#define SYS_profil 44
53#define SYS_ktrace 45
65957d54 54 /* 46 is obsolete freebsd3_sigaction */
984263bc 55#define SYS_getgid 47
65957d54 56 /* 48 is obsolete freebsd3_sigprocmask */
984263bc
MD
57#define SYS_getlogin 49
58#define SYS_setlogin 50
59#define SYS_acct 51
65957d54 60 /* 52 is obsolete freebsd3_sigpending */
984263bc
MD
61#define SYS_sigaltstack 53
62#define SYS_ioctl 54
63#define SYS_reboot 55
64#define SYS_revoke 56
65#define SYS_symlink 57
66#define SYS_readlink 58
67#define SYS_execve 59
68#define SYS_umask 60
69#define SYS_chroot 61
70 /* 62 is old fstat */
71 /* 63 is old getkerninfo */
72 /* 64 is old getpagesize */
73#define SYS_msync 65
74#define SYS_vfork 66
75 /* 67 is obsolete vread */
76 /* 68 is obsolete vwrite */
77#define SYS_sbrk 69
78#define SYS_sstk 70
79 /* 71 is old mmap */
83b1807f 80 /* 72 is old vadvise */
984263bc
MD
81#define SYS_munmap 73
82#define SYS_mprotect 74
83#define SYS_madvise 75
84 /* 76 is obsolete vhangup */
85 /* 77 is obsolete vlimit */
86#define SYS_mincore 78
87#define SYS_getgroups 79
88#define SYS_setgroups 80
89#define SYS_getpgrp 81
90#define SYS_setpgid 82
91#define SYS_setitimer 83
92 /* 84 is old wait */
93#define SYS_swapon 85
94#define SYS_getitimer 86
95 /* 87 is old gethostname */
96 /* 88 is old sethostname */
97#define SYS_getdtablesize 89
98#define SYS_dup2 90
99#define SYS_fcntl 92
100#define SYS_select 93
101#define SYS_fsync 95
102#define SYS_setpriority 96
103#define SYS_socket 97
104#define SYS_connect 98
105 /* 99 is old accept */
106#define SYS_getpriority 100
107 /* 101 is old send */
108 /* 102 is old recv */
65957d54 109 /* 103 is obsolete freebsd3_sigreturn */
984263bc
MD
110#define SYS_bind 104
111#define SYS_setsockopt 105
112#define SYS_listen 106
113 /* 107 is obsolete vtimes */
114 /* 108 is old sigvec */
115 /* 109 is old sigblock */
116 /* 110 is old sigsetmask */
65957d54 117 /* 111 is obsolete freebsd3_sigsuspend */
984263bc
MD
118 /* 112 is old sigstack */
119 /* 113 is old recvmsg */
120 /* 114 is old sendmsg */
121 /* 115 is obsolete vtrace */
122#define SYS_gettimeofday 116
123#define SYS_getrusage 117
124#define SYS_getsockopt 118
125#define SYS_readv 120
126#define SYS_writev 121
127#define SYS_settimeofday 122
128#define SYS_fchown 123
129#define SYS_fchmod 124
130 /* 125 is old recvfrom */
131#define SYS_setreuid 126
132#define SYS_setregid 127
133#define SYS_rename 128
134 /* 129 is old truncate */
135 /* 130 is old ftruncate */
136#define SYS_flock 131
137#define SYS_mkfifo 132
138#define SYS_sendto 133
139#define SYS_shutdown 134
140#define SYS_socketpair 135
141#define SYS_mkdir 136
142#define SYS_rmdir 137
143#define SYS_utimes 138
144 /* 139 is obsolete 4.2 sigreturn */
145#define SYS_adjtime 140
146 /* 141 is old getpeername */
147 /* 142 is old gethostid */
148 /* 143 is old sethostid */
149 /* 144 is old getrlimit */
150 /* 145 is old setrlimit */
151 /* 146 is old killpg */
152#define SYS_setsid 147
153#define SYS_quotactl 148
154 /* 149 is old quota */
155 /* 150 is old getsockname */
156#define SYS_nfssvc 155
157 /* 156 is old getdirentries */
158#define SYS_statfs 157
159#define SYS_fstatfs 158
160#define SYS_getfh 161
161#define SYS_getdomainname 162
162#define SYS_setdomainname 163
163#define SYS_uname 164
164#define SYS_sysarch 165
165#define SYS_rtprio 166
166#define SYS_semsys 169
167#define SYS_msgsys 170
168#define SYS_shmsys 171
b09fd398
MD
169#define SYS_extpread 173
170#define SYS_extpwrite 174
984263bc
MD
171#define SYS_ntp_adjtime 176
172#define SYS_setgid 181
173#define SYS_setegid 182
174#define SYS_seteuid 183
f1787048
JS
175 /* 188 is old stat */
176 /* 189 is old fstat */
177 /* 190 is old lstat */
984263bc
MD
178#define SYS_pathconf 191
179#define SYS_fpathconf 192
180#define SYS_getrlimit 194
181#define SYS_setrlimit 195
01f31ab3 182 /* 196 is old getdirentries */
984263bc
MD
183#define SYS_mmap 197
184#define SYS___syscall 198
185#define SYS_lseek 199
186#define SYS_truncate 200
187#define SYS_ftruncate 201
188#define SYS___sysctl 202
189#define SYS_mlock 203
190#define SYS_munlock 204
191#define SYS_undelete 205
192#define SYS_futimes 206
193#define SYS_getpgid 207
194#define SYS_poll 209
195#define SYS___semctl 220
196#define SYS_semget 221
197#define SYS_semop 222
198#define SYS_msgctl 224
199#define SYS_msgget 225
200#define SYS_msgsnd 226
201#define SYS_msgrcv 227
202#define SYS_shmat 228
203#define SYS_shmctl 229
204#define SYS_shmdt 230
205#define SYS_shmget 231
206#define SYS_clock_gettime 232
207#define SYS_clock_settime 233
208#define SYS_clock_getres 234
209#define SYS_nanosleep 240
210#define SYS_minherit 250
211#define SYS_rfork 251
212#define SYS_openbsd_poll 252
213#define SYS_issetugid 253
214#define SYS_lchown 254
01f31ab3 215 /* 272 is old getdents */
984263bc
MD
216#define SYS_lchmod 274
217#define SYS_netbsd_lchown 275
218#define SYS_lutimes 276
219#define SYS_netbsd_msync 277
d06e0be9
JS
220 /* 278 is obsolete { */
221 /* 279 is obsolete { */
222 /* 280 is obsolete { */
b09fd398
MD
223#define SYS_extpreadv 289
224#define SYS_extpwritev 290
984263bc
MD
225#define SYS_fhstatfs 297
226#define SYS_fhopen 298
f1787048 227 /* 299 is old fhstat */
984263bc
MD
228#define SYS_modnext 300
229#define SYS_modstat 301
230#define SYS_modfnext 302
231#define SYS_modfind 303
232#define SYS_kldload 304
233#define SYS_kldunload 305
234#define SYS_kldfind 306
235#define SYS_kldnext 307
236#define SYS_kldstat 308
237#define SYS_kldfirstmod 309
238#define SYS_getsid 310
239#define SYS_setresuid 311
240#define SYS_setresgid 312
241 /* 313 is obsolete signanosleep */
242#define SYS_aio_return 314
243#define SYS_aio_suspend 315
244#define SYS_aio_cancel 316
245#define SYS_aio_error 317
246#define SYS_aio_read 318
247#define SYS_aio_write 319
248#define SYS_lio_listio 320
249#define SYS_yield 321
984263bc
MD
250#define SYS_mlockall 324
251#define SYS_munlockall 325
252#define SYS___getcwd 326
253#define SYS_sched_setparam 327
254#define SYS_sched_getparam 328
255#define SYS_sched_setscheduler 329
256#define SYS_sched_getscheduler 330
257#define SYS_sched_yield 331
258#define SYS_sched_get_priority_max 332
259#define SYS_sched_get_priority_min 333
260#define SYS_sched_rr_get_interval 334
261#define SYS_utrace 335
75a872f8 262 /* 336 is obsolete freebsd4_sendfile */
984263bc
MD
263#define SYS_kldsym 337
264#define SYS_jail 338
265#define SYS_sigprocmask 340
266#define SYS_sigsuspend 341
267#define SYS_sigaction 342
268#define SYS_sigpending 343
269#define SYS_sigreturn 344
3a59f0f7
DX
270#define SYS_sigtimedwait 345
271#define SYS_sigwaitinfo 346
984263bc
MD
272#define SYS___acl_get_file 347
273#define SYS___acl_set_file 348
274#define SYS___acl_get_fd 349
275#define SYS___acl_set_fd 350
276#define SYS___acl_delete_file 351
277#define SYS___acl_delete_fd 352
278#define SYS___acl_aclcheck_file 353
279#define SYS___acl_aclcheck_fd 354
280#define SYS_extattrctl 355
281#define SYS_extattr_set_file 356
282#define SYS_extattr_get_file 357
283#define SYS_extattr_delete_file 358
284#define SYS_aio_waitcomplete 359
285#define SYS_getresuid 360
286#define SYS_getresgid 361
287#define SYS_kqueue 362
288#define SYS_kevent 363
78812139 289#define SYS_sctp_peeloff 364
91fdc001 290#define SYS_lchflags 391
2a0783db 291#define SYS_uuidgen 392
984263bc 292#define SYS_sendfile 393
98a7f915
MD
293#define SYS_varsym_set 450
294#define SYS_varsym_get 451
0a004aa2 295#define SYS_varsym_list 452
7adb15b6
SW
296 /* 453 is obsolete upc_register */
297 /* 454 is obsolete upc_control */
8f8e1daf
SW
298 /* 455 is obsolete caps_sys_service */
299 /* 456 is obsolete caps_sys_client */
300 /* 457 is obsolete caps_sys_close */
301 /* 458 is obsolete caps_sys_put */
302 /* 459 is obsolete caps_sys_reply */
303 /* 460 is obsolete caps_sys_get */
304 /* 461 is obsolete caps_sys_wait */
305 /* 462 is obsolete caps_sys_abort */
306 /* 463 is obsolete caps_sys_getgen */
307 /* 464 is obsolete caps_sys_setgen */
29802dbb
MD
308#define SYS_exec_sys_register 465
309#define SYS_exec_sys_unregister 466
0ba6fbbf 310#define SYS_sys_checkpoint 467
949ecb9b 311#define SYS_mountctl 468
da5fb9ef
MD
312#define SYS_umtx_sleep 469
313#define SYS_umtx_wakeup 470
b9fca94d 314#define SYS_jail_attach 471
ba491dfb
MD
315#define SYS_set_tls_area 472
316#define SYS_get_tls_area 473
ae5995b9 317#define SYS_closefrom 474
f1787048
JS
318#define SYS_stat 475
319#define SYS_fstat 476
320#define SYS_lstat 477
321#define SYS_fhstat 478
01f31ab3
JS
322#define SYS_getdirentries 479
323#define SYS_getdents 480
cb7f4ab1 324#define SYS_usched_set 481
b09fd398
MD
325#define SYS_extaccept 482
326#define SYS_extconnect 483
e143cb06 327#define SYS_syslink 484
d3313941
MD
328#define SYS_mcontrol 485
329#define SYS_vmspace_create 486
330#define SYS_vmspace_destroy 487
331#define SYS_vmspace_ctl 488
332#define SYS_vmspace_mmap 489
333#define SYS_vmspace_munmap 490
334#define SYS_vmspace_mcontrol 491
021a4ed4
MD
335#define SYS_vmspace_pread 492
336#define SYS_vmspace_pwrite 493
a704dbd9 337#define SYS_extexit 494
a0a27cfb 338#define SYS_lwp_create 495
c2e552b5
SS
339#define SYS_lwp_gettid 496
340#define SYS_lwp_kill 497
649d3bd2 341#define SYS_lwp_rtprio 498
ae7cb1b5 342#define SYS_pselect 499
d9fad06e
MD
343#define SYS_statvfs 500
344#define SYS_fstatvfs 501
345#define SYS_fhstatvfs 502
00fe9d48 346#define SYS_getvfsstat 503
83a11774 347#define SYS_openat 504
e101a3f4 348#define SYS_fstatat 505
8cde3c79 349#define SYS_fchmodat 506
32013176 350#define SYS_fchownat 507
3a6d8629 351#define SYS_unlinkat 508
18cf460b 352#define SYS_faccessat 509
0b96c93b
SK
353#define SYS_mq_open 510
354#define SYS_mq_close 511
355#define SYS_mq_unlink 512
356#define SYS_mq_getattr 513
357#define SYS_mq_setattr 514
358#define SYS_mq_notify 515
359#define SYS_mq_send 516
360#define SYS_mq_receive 517
361#define SYS_mq_timedsend 518
362#define SYS_mq_timedreceive 519
aa166ad1
AH
363#define SYS_ioprio_set 520
364#define SYS_ioprio_get 521
72f12c5b 365#define SYS_chroot_kernel 522
c7238745 366#define SYS_renameat 523
6d98f93c
SW
367#define SYS_mkdirat 524
368#define SYS_mkfifoat 525
369#define SYS_mknodat 526
370#define SYS_readlinkat 527
371#define SYS_symlinkat 528
ba45172b 372#define SYS_swapoff 529
b4d6d8bb 373#define SYS_vquotactl 530
77e32d4c 374#define SYS_linkat 531
6eb83deb
JM
375#define SYS_eaccess 532
376#define SYS_MAXSYSCALL 533