/[gxemul]/upstream/0.4.6/src/include/syscall_freebsd.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /upstream/0.4.6/src/include/syscall_freebsd.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 43 - (show annotations)
Mon Oct 8 16:22:43 2007 UTC (16 years, 7 months ago) by dpavlin
File MIME type: text/plain
File size: 12505 byte(s)
0.4.6
1 /* gxemul: $Id: syscall_freebsd.h,v 1.1 2007/06/15 00:41:21 debug Exp $ */
2
3 #ifndef SYSCALL_FREEBSD_H
4 #define SYSCALL_FREEBSD_H
5
6
7 /*
8 * System call numbers.
9 *
10 * DO NOT EDIT-- this file is automatically generated.
11 * $FreeBSD: src/sys/sys/syscall.h,v 1.178.2.5 2006/10/10 13:47:59 rwatson Exp $
12 * created from FreeBSD: src/sys/kern/syscalls.master,v 1.198.2.5 2006/10/10 13:19:47 rwatson Exp
13 */
14
15 #define FREEBSD_SYS_syscall 0
16 #define FREEBSD_SYS_exit 1
17 #define FREEBSD_SYS_fork 2
18 #define FREEBSD_SYS_read 3
19 #define FREEBSD_SYS_write 4
20 #define FREEBSD_SYS_open 5
21 #define FREEBSD_SYS_close 6
22 #define FREEBSD_SYS_wait4 7
23 /* 8 is old creat */
24 #define FREEBSD_SYS_link 9
25 #define FREEBSD_SYS_unlink 10
26 /* 11 is obsolete execv */
27 #define FREEBSD_SYS_chdir 12
28 #define FREEBSD_SYS_fchdir 13
29 #define FREEBSD_SYS_mknod 14
30 #define FREEBSD_SYS_chmod 15
31 #define FREEBSD_SYS_chown 16
32 #define FREEBSD_SYS_break 17
33 /* 18 is old getfsstat */
34 /* 19 is old lseek */
35 #define FREEBSD_SYS_getpid 20
36 #define FREEBSD_SYS_mount 21
37 #define FREEBSD_SYS_unmount 22
38 #define FREEBSD_SYS_setuid 23
39 #define FREEBSD_SYS_getuid 24
40 #define FREEBSD_SYS_geteuid 25
41 #define FREEBSD_SYS_ptrace 26
42 #define FREEBSD_SYS_recvmsg 27
43 #define FREEBSD_SYS_sendmsg 28
44 #define FREEBSD_SYS_recvfrom 29
45 #define FREEBSD_SYS_accept 30
46 #define FREEBSD_SYS_getpeername 31
47 #define FREEBSD_SYS_getsockname 32
48 #define FREEBSD_SYS_access 33
49 #define FREEBSD_SYS_chflags 34
50 #define FREEBSD_SYS_fchflags 35
51 #define FREEBSD_SYS_sync 36
52 #define FREEBSD_SYS_kill 37
53 /* 38 is old stat */
54 #define FREEBSD_SYS_getppid 39
55 /* 40 is old lstat */
56 #define FREEBSD_SYS_dup 41
57 #define FREEBSD_SYS_pipe 42
58 #define FREEBSD_SYS_getegid 43
59 #define FREEBSD_SYS_profil 44
60 #define FREEBSD_SYS_ktrace 45
61 /* 46 is old sigaction */
62 #define FREEBSD_SYS_getgid 47
63 /* 48 is old sigprocmask */
64 #define FREEBSD_SYS_getlogin 49
65 #define FREEBSD_SYS_setlogin 50
66 #define FREEBSD_SYS_acct 51
67 /* 52 is old sigpending */
68 #define FREEBSD_SYS_sigaltstack 53
69 #define FREEBSD_SYS_ioctl 54
70 #define FREEBSD_SYS_reboot 55
71 #define FREEBSD_SYS_revoke 56
72 #define FREEBSD_SYS_symlink 57
73 #define FREEBSD_SYS_readlink 58
74 #define FREEBSD_SYS_execve 59
75 #define FREEBSD_SYS_umask 60
76 #define FREEBSD_SYS_chroot 61
77 /* 62 is old fstat */
78 /* 63 is old getkerninfo */
79 /* 64 is old getpagesize */
80 #define FREEBSD_SYS_msync 65
81 #define FREEBSD_SYS_vfork 66
82 /* 67 is obsolete vread */
83 /* 68 is obsolete vwrite */
84 #define FREEBSD_SYS_sbrk 69
85 #define FREEBSD_SYS_sstk 70
86 /* 71 is old mmap */
87 #define FREEBSD_SYS_vadvise 72
88 #define FREEBSD_SYS_munmap 73
89 #define FREEBSD_SYS_mprotect 74
90 #define FREEBSD_SYS_madvise 75
91 /* 76 is obsolete vhangup */
92 /* 77 is obsolete vlimit */
93 #define FREEBSD_SYS_mincore 78
94 #define FREEBSD_SYS_getgroups 79
95 #define FREEBSD_SYS_setgroups 80
96 #define FREEBSD_SYS_getpgrp 81
97 #define FREEBSD_SYS_setpgid 82
98 #define FREEBSD_SYS_setitimer 83
99 /* 84 is old wait */
100 #define FREEBSD_SYS_swapon 85
101 #define FREEBSD_SYS_getitimer 86
102 /* 87 is old gethostname */
103 /* 88 is old sethostname */
104 #define FREEBSD_SYS_getdtablesize 89
105 #define FREEBSD_SYS_dup2 90
106 #define FREEBSD_SYS_fcntl 92
107 #define FREEBSD_SYS_select 93
108 #define FREEBSD_SYS_fsync 95
109 #define FREEBSD_SYS_setpriority 96
110 #define FREEBSD_SYS_socket 97
111 #define FREEBSD_SYS_connect 98
112 /* 99 is old accept */
113 #define FREEBSD_SYS_getpriority 100
114 /* 101 is old send */
115 /* 102 is old recv */
116 /* 103 is old sigreturn */
117 #define FREEBSD_SYS_bind 104
118 #define FREEBSD_SYS_setsockopt 105
119 #define FREEBSD_SYS_listen 106
120 /* 107 is obsolete vtimes */
121 /* 108 is old sigvec */
122 /* 109 is old sigblock */
123 /* 110 is old sigsetmask */
124 /* 111 is old sigsuspend */
125 /* 112 is old sigstack */
126 /* 113 is old recvmsg */
127 /* 114 is old sendmsg */
128 /* 115 is obsolete vtrace */
129 #define FREEBSD_SYS_gettimeofday 116
130 #define FREEBSD_SYS_getrusage 117
131 #define FREEBSD_SYS_getsockopt 118
132 #define FREEBSD_SYS_readv 120
133 #define FREEBSD_SYS_writev 121
134 #define FREEBSD_SYS_settimeofday 122
135 #define FREEBSD_SYS_fchown 123
136 #define FREEBSD_SYS_fchmod 124
137 /* 125 is old recvfrom */
138 #define FREEBSD_SYS_setreuid 126
139 #define FREEBSD_SYS_setregid 127
140 #define FREEBSD_SYS_rename 128
141 /* 129 is old truncate */
142 /* 130 is old ftruncate */
143 #define FREEBSD_SYS_flock 131
144 #define FREEBSD_SYS_mkfifo 132
145 #define FREEBSD_SYS_sendto 133
146 #define FREEBSD_SYS_shutdown 134
147 #define FREEBSD_SYS_socketpair 135
148 #define FREEBSD_SYS_mkdir 136
149 #define FREEBSD_SYS_rmdir 137
150 #define FREEBSD_SYS_utimes 138
151 /* 139 is obsolete 4.2 sigreturn */
152 #define FREEBSD_SYS_adjtime 140
153 /* 141 is old getpeername */
154 /* 142 is old gethostid */
155 /* 143 is old sethostid */
156 /* 144 is old getrlimit */
157 /* 145 is old setrlimit */
158 /* 146 is old killpg */
159 #define FREEBSD_SYS_setsid 147
160 #define FREEBSD_SYS_quotactl 148
161 /* 149 is old quota */
162 /* 150 is old getsockname */
163 #define FREEBSD_SYS_nfssvc 155
164 /* 156 is old getdirentries */
165 /* 157 is old statfs */
166 /* 158 is old fstatfs */
167 #define FREEBSD_SYS_lgetfh 160
168 #define FREEBSD_SYS_getfh 161
169 #define FREEBSD_SYS_getdomainname 162
170 #define FREEBSD_SYS_setdomainname 163
171 #define FREEBSD_SYS_uname 164
172 #define FREEBSD_SYS_sysarch 165
173 #define FREEBSD_SYS_rtprio 166
174 #define FREEBSD_SYS_semsys 169
175 #define FREEBSD_SYS_msgsys 170
176 #define FREEBSD_SYS_shmsys 171
177 #define FREEBSD_SYS_pread 173
178 #define FREEBSD_SYS_pwrite 174
179 #define FREEBSD_SYS_ntp_adjtime 176
180 #define FREEBSD_SYS_setgid 181
181 #define FREEBSD_SYS_setegid 182
182 #define FREEBSD_SYS_seteuid 183
183 #define FREEBSD_SYS_stat 188
184 #define FREEBSD_SYS_fstat 189
185 #define FREEBSD_SYS_lstat 190
186 #define FREEBSD_SYS_pathconf 191
187 #define FREEBSD_SYS_fpathconf 192
188 #define FREEBSD_SYS_getrlimit 194
189 #define FREEBSD_SYS_setrlimit 195
190 #define FREEBSD_SYS_getdirentries 196
191 #define FREEBSD_SYS_mmap 197
192 #define FREEBSD_SYS___syscall 198
193 #define FREEBSD_SYS_lseek 199
194 #define FREEBSD_SYS_truncate 200
195 #define FREEBSD_SYS_ftruncate 201
196 #define FREEBSD_SYS___sysctl 202
197 #define FREEBSD_SYS_mlock 203
198 #define FREEBSD_SYS_munlock 204
199 #define FREEBSD_SYS_undelete 205
200 #define FREEBSD_SYS_futimes 206
201 #define FREEBSD_SYS_getpgid 207
202 #define FREEBSD_SYS_poll 209
203 #define FREEBSD_SYS___semctl 220
204 #define FREEBSD_SYS_semget 221
205 #define FREEBSD_SYS_semop 222
206 #define FREEBSD_SYS_msgctl 224
207 #define FREEBSD_SYS_msgget 225
208 #define FREEBSD_SYS_msgsnd 226
209 #define FREEBSD_SYS_msgrcv 227
210 #define FREEBSD_SYS_shmat 228
211 #define FREEBSD_SYS_shmctl 229
212 #define FREEBSD_SYS_shmdt 230
213 #define FREEBSD_SYS_shmget 231
214 #define FREEBSD_SYS_clock_gettime 232
215 #define FREEBSD_SYS_clock_settime 233
216 #define FREEBSD_SYS_clock_getres 234
217 #define FREEBSD_SYS_nanosleep 240
218 #define FREEBSD_SYS_ntp_gettime 248
219 #define FREEBSD_SYS_minherit 250
220 #define FREEBSD_SYS_rfork 251
221 #define FREEBSD_SYS_openbsd_poll 252
222 #define FREEBSD_SYS_issetugid 253
223 #define FREEBSD_SYS_lchown 254
224 #define FREEBSD_SYS_getdents 272
225 #define FREEBSD_SYS_lchmod 274
226 #define FREEBSD_SYS_netbsd_lchown 275
227 #define FREEBSD_SYS_lutimes 276
228 #define FREEBSD_SYS_netbsd_msync 277
229 #define FREEBSD_SYS_nstat 278
230 #define FREEBSD_SYS_nfstat 279
231 #define FREEBSD_SYS_nlstat 280
232 #define FREEBSD_SYS_preadv 289
233 #define FREEBSD_SYS_pwritev 290
234 /* 297 is old fhstatfs */
235 #define FREEBSD_SYS_fhopen 298
236 #define FREEBSD_SYS_fhstat 299
237 #define FREEBSD_SYS_modnext 300
238 #define FREEBSD_SYS_modstat 301
239 #define FREEBSD_SYS_modfnext 302
240 #define FREEBSD_SYS_modfind 303
241 #define FREEBSD_SYS_kldload 304
242 #define FREEBSD_SYS_kldunload 305
243 #define FREEBSD_SYS_kldfind 306
244 #define FREEBSD_SYS_kldnext 307
245 #define FREEBSD_SYS_kldstat 308
246 #define FREEBSD_SYS_kldfirstmod 309
247 #define FREEBSD_SYS_getsid 310
248 #define FREEBSD_SYS_setresuid 311
249 #define FREEBSD_SYS_setresgid 312
250 /* 313 is obsolete signanosleep */
251 #define FREEBSD_SYS_aio_return 314
252 #define FREEBSD_SYS_aio_suspend 315
253 #define FREEBSD_SYS_aio_cancel 316
254 #define FREEBSD_SYS_aio_error 317
255 #define FREEBSD_SYS_aio_read 318
256 #define FREEBSD_SYS_aio_write 319
257 #define FREEBSD_SYS_lio_listio 320
258 #define FREEBSD_SYS_yield 321
259 /* 322 is obsolete thr_sleep */
260 /* 323 is obsolete thr_wakeup */
261 #define FREEBSD_SYS_mlockall 324
262 #define FREEBSD_SYS_munlockall 325
263 #define FREEBSD_SYS___getcwd 326
264 #define FREEBSD_SYS_sched_setparam 327
265 #define FREEBSD_SYS_sched_getparam 328
266 #define FREEBSD_SYS_sched_setscheduler 329
267 #define FREEBSD_SYS_sched_getscheduler 330
268 #define FREEBSD_SYS_sched_yield 331
269 #define FREEBSD_SYS_sched_get_priority_max 332
270 #define FREEBSD_SYS_sched_get_priority_min 333
271 #define FREEBSD_SYS_sched_rr_get_interval 334
272 #define FREEBSD_SYS_utrace 335
273 /* 336 is old sendfile */
274 #define FREEBSD_SYS_kldsym 337
275 #define FREEBSD_SYS_jail 338
276 #define FREEBSD_SYS_sigprocmask 340
277 #define FREEBSD_SYS_sigsuspend 341
278 /* 342 is old sigaction */
279 #define FREEBSD_SYS_sigpending 343
280 /* 344 is old sigreturn */
281 #define FREEBSD_SYS_sigtimedwait 345
282 #define FREEBSD_SYS_sigwaitinfo 346
283 #define FREEBSD_SYS___acl_get_file 347
284 #define FREEBSD_SYS___acl_set_file 348
285 #define FREEBSD_SYS___acl_get_fd 349
286 #define FREEBSD_SYS___acl_set_fd 350
287 #define FREEBSD_SYS___acl_delete_file 351
288 #define FREEBSD_SYS___acl_delete_fd 352
289 #define FREEBSD_SYS___acl_aclcheck_file 353
290 #define FREEBSD_SYS___acl_aclcheck_fd 354
291 #define FREEBSD_SYS_extattrctl 355
292 #define FREEBSD_SYS_extattr_set_file 356
293 #define FREEBSD_SYS_extattr_get_file 357
294 #define FREEBSD_SYS_extattr_delete_file 358
295 #define FREEBSD_SYS_aio_waitcomplete 359
296 #define FREEBSD_SYS_getresuid 360
297 #define FREEBSD_SYS_getresgid 361
298 #define FREEBSD_SYS_kqueue 362
299 #define FREEBSD_SYS_kevent 363
300 #define FREEBSD_SYS_extattr_set_fd 371
301 #define FREEBSD_SYS_extattr_get_fd 372
302 #define FREEBSD_SYS_extattr_delete_fd 373
303 #define FREEBSD_SYS___setugid 374
304 #define FREEBSD_SYS_nfsclnt 375
305 #define FREEBSD_SYS_eaccess 376
306 #define FREEBSD_SYS_nmount 378
307 #define FREEBSD_SYS_kse_exit 379
308 #define FREEBSD_SYS_kse_wakeup 380
309 #define FREEBSD_SYS_kse_create 381
310 #define FREEBSD_SYS_kse_thr_interrupt 382
311 #define FREEBSD_SYS_kse_release 383
312 #define FREEBSD_SYS___mac_get_proc 384
313 #define FREEBSD_SYS___mac_set_proc 385
314 #define FREEBSD_SYS___mac_get_fd 386
315 #define FREEBSD_SYS___mac_get_file 387
316 #define FREEBSD_SYS___mac_set_fd 388
317 #define FREEBSD_SYS___mac_set_file 389
318 #define FREEBSD_SYS_kenv 390
319 #define FREEBSD_SYS_lchflags 391
320 #define FREEBSD_SYS_uuidgen 392
321 #define FREEBSD_SYS_sendfile 393
322 #define FREEBSD_SYS_mac_syscall 394
323 #define FREEBSD_SYS_getfsstat 395
324 #define FREEBSD_SYS_statfs 396
325 #define FREEBSD_SYS_fstatfs 397
326 #define FREEBSD_SYS_fhstatfs 398
327 #define FREEBSD_SYS_ksem_close 400
328 #define FREEBSD_SYS_ksem_post 401
329 #define FREEBSD_SYS_ksem_wait 402
330 #define FREEBSD_SYS_ksem_trywait 403
331 #define FREEBSD_SYS_ksem_init 404
332 #define FREEBSD_SYS_ksem_open 405
333 #define FREEBSD_SYS_ksem_unlink 406
334 #define FREEBSD_SYS_ksem_getvalue 407
335 #define FREEBSD_SYS_ksem_destroy 408
336 #define FREEBSD_SYS___mac_get_pid 409
337 #define FREEBSD_SYS___mac_get_link 410
338 #define FREEBSD_SYS___mac_set_link 411
339 #define FREEBSD_SYS_extattr_set_link 412
340 #define FREEBSD_SYS_extattr_get_link 413
341 #define FREEBSD_SYS_extattr_delete_link 414
342 #define FREEBSD_SYS___mac_execve 415
343 #define FREEBSD_SYS_sigaction 416
344 #define FREEBSD_SYS_sigreturn 417
345 #define FREEBSD_SYS_getcontext 421
346 #define FREEBSD_SYS_setcontext 422
347 #define FREEBSD_SYS_swapcontext 423
348 #define FREEBSD_SYS_swapoff 424
349 #define FREEBSD_SYS___acl_get_link 425
350 #define FREEBSD_SYS___acl_set_link 426
351 #define FREEBSD_SYS___acl_delete_link 427
352 #define FREEBSD_SYS___acl_aclcheck_link 428
353 #define FREEBSD_SYS_sigwait 429
354 #define FREEBSD_SYS_thr_create 430
355 #define FREEBSD_SYS_thr_exit 431
356 #define FREEBSD_SYS_thr_self 432
357 #define FREEBSD_SYS_thr_kill 433
358 #define FREEBSD_SYS__umtx_lock 434
359 #define FREEBSD_SYS__umtx_unlock 435
360 #define FREEBSD_SYS_jail_attach 436
361 #define FREEBSD_SYS_extattr_list_fd 437
362 #define FREEBSD_SYS_extattr_list_file 438
363 #define FREEBSD_SYS_extattr_list_link 439
364 #define FREEBSD_SYS_kse_switchin 440
365 #define FREEBSD_SYS_ksem_timedwait 441
366 #define FREEBSD_SYS_thr_suspend 442
367 #define FREEBSD_SYS_thr_wake 443
368 #define FREEBSD_SYS_kldunloadf 444
369 #define FREEBSD_SYS_audit 445
370 #define FREEBSD_SYS_auditon 446
371 #define FREEBSD_SYS_getauid 447
372 #define FREEBSD_SYS_setauid 448
373 #define FREEBSD_SYS_getaudit 449
374 #define FREEBSD_SYS_setaudit 450
375 #define FREEBSD_SYS_getaudit_addr 451
376 #define FREEBSD_SYS_setaudit_addr 452
377 #define FREEBSD_SYS_auditctl 453
378 #define FREEBSD_SYS__umtx_op 454
379 #define FREEBSD_SYS_thr_new 455
380 #define FREEBSD_SYS_MAXSYSCALL 456
381
382
383 #endif /* SYSCALL_FREEBSD_H */

  ViewVC Help
Powered by ViewVC 1.1.26