Regenerate

This commit is contained in:
peter 2002-07-20 02:56:34 +00:00
parent 7a65b1270d
commit 6a546fdfbe
9 changed files with 945 additions and 4800 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD
* created from FreeBSD: src/sys/ia64/ia32/syscalls.master,v 1.2 2002/07/20 02:56:10 peter Exp
*/
#define IA32_SYS_syscall 0
@ -11,10 +11,10 @@
#define IA32_SYS_fork 2
#define IA32_SYS_read 3
#define IA32_SYS_write 4
#define IA32_SYS_open 5
#define IA32_SYS_ia32_open 5
#define IA32_SYS_close 6
#define IA32_SYS_wait4 7
/* 8 is old creat */
#define IA32_SYS_ia32_wait4 7
/* 8 is obsolete old creat */
#define IA32_SYS_link 9
#define IA32_SYS_unlink 10
/* 11 is obsolete execv */
@ -24,8 +24,8 @@
#define IA32_SYS_chmod 15
#define IA32_SYS_chown 16
#define IA32_SYS_break 17
#define IA32_SYS_getfsstat 18
/* 19 is old lseek */
#define IA32_SYS_ia32_getfsstat 18
/* 19 is obsolete olseek */
#define IA32_SYS_getpid 20
#define IA32_SYS_mount 21
#define IA32_SYS_unmount 22
@ -33,51 +33,46 @@
#define IA32_SYS_getuid 24
#define IA32_SYS_geteuid 25
#define IA32_SYS_ptrace 26
#define IA32_SYS_recvmsg 27
#define IA32_SYS_sendmsg 28
#define IA32_SYS_recvfrom 29
#define IA32_SYS_accept 30
#define IA32_SYS_getpeername 31
#define IA32_SYS_getsockname 32
#define IA32_SYS_access 33
#define IA32_SYS_chflags 34
#define IA32_SYS_ia32_access 33
#define IA32_SYS_ia32_chflags 34
#define IA32_SYS_fchflags 35
#define IA32_SYS_sync 36
#define IA32_SYS_kill 37
/* 38 is old stat */
#define IA32_SYS_getppid 39
/* 40 is old lstat */
#define IA32_SYS_dup 41
#define IA32_SYS_pipe 42
#define IA32_SYS_getegid 43
#define IA32_SYS_profil 44
#define IA32_SYS_ktrace 45
/* 46 is old sigaction */
#define IA32_SYS_getgid 47
/* 48 is old sigprocmask */
#define IA32_SYS_getlogin 49
#define IA32_SYS_setlogin 50
#define IA32_SYS_acct 51
/* 52 is old sigpending */
#define IA32_SYS_sigaltstack 53
#define IA32_SYS_sigpending 52
#define IA32_SYS_ia32_sigaltstack 53
#define IA32_SYS_ioctl 54
#define IA32_SYS_reboot 55
#define IA32_SYS_revoke 56
#define IA32_SYS_symlink 57
#define IA32_SYS_readlink 58
#define IA32_SYS_execve 59
#define IA32_SYS_ia32_execve 59
#define IA32_SYS_umask 60
#define IA32_SYS_chroot 61
/* 62 is old fstat */
/* 63 is old getkerninfo */
/* 64 is old getpagesize */
#define IA32_SYS_msync 65
#define IA32_SYS_vfork 66
/* 62 is obsolete ofstat */
/* 63 is obsolete ogetkerninfo */
/* 64 is obsolete ogetpagesize */
/* 65 is obsolete omsync */
/* 66 is obsolete ovfork */
/* 67 is obsolete vread */
/* 68 is obsolete vwrite */
#define IA32_SYS_sbrk 69
#define IA32_SYS_sstk 70
/* 71 is old mmap */
/* 71 is obsolete ommap */
#define IA32_SYS_vadvise 72
#define IA32_SYS_munmap 73
#define IA32_SYS_mprotect 74
@ -89,51 +84,51 @@
#define IA32_SYS_setgroups 80
#define IA32_SYS_getpgrp 81
#define IA32_SYS_setpgid 82
#define IA32_SYS_setitimer 83
/* 84 is old wait */
#define IA32_SYS_swapon 85
#define IA32_SYS_getitimer 86
/* 87 is old gethostname */
/* 88 is old sethostname */
#define IA32_SYS_ia32_setitimer 83
/* 84 is obsolete owait */
/* 85 is obsolete oswapon */
/* 86 is obsolete ogetitimer */
/* 87 is obsolete ogethostname */
/* 88 is obsolete osethostname */
#define IA32_SYS_getdtablesize 89
#define IA32_SYS_dup2 90
#define IA32_SYS_fcntl 92
#define IA32_SYS_select 93
#define IA32_SYS_ia32_select 93
#define IA32_SYS_fsync 95
#define IA32_SYS_setpriority 96
#define IA32_SYS_socket 97
#define IA32_SYS_connect 98
/* 99 is old accept */
#define IA32_SYS_accept 99
#define IA32_SYS_getpriority 100
/* 101 is old send */
/* 102 is old recv */
#define IA32_SYS_osigreturn 103
/* 101 is obsolete osend */
/* 102 is obsolete orecv */
/* 103 is obsolete osigreturn */
#define IA32_SYS_bind 104
#define IA32_SYS_setsockopt 105
#define IA32_SYS_listen 106
/* 107 is obsolete vtimes */
/* 108 is old sigvec */
/* 109 is old sigblock */
/* 110 is old sigsetmask */
/* 111 is old sigsuspend */
/* 112 is old sigstack */
/* 113 is old recvmsg */
/* 114 is old sendmsg */
/* 108 is obsolete osigvec */
/* 109 is obsolete osigblock */
/* 110 is obsolete osigsetmask */
/* 111 is obsolete osigsuspend */
/* 112 is obsolete osigstack */
/* 113 is obsolete orecvmsg */
/* 114 is obsolete osendmsg */
/* 115 is obsolete vtrace */
#define IA32_SYS_gettimeofday 116
#define IA32_SYS_getrusage 117
#define IA32_SYS_ia32_gettimeofday 116
#define IA32_SYS_ia32_getrusage 117
#define IA32_SYS_getsockopt 118
#define IA32_SYS_readv 120
#define IA32_SYS_writev 121
#define IA32_SYS_settimeofday 122
#define IA32_SYS_ia32_readv 120
#define IA32_SYS_ia32_writev 121
#define IA32_SYS_ia32_settimeofday 122
#define IA32_SYS_fchown 123
#define IA32_SYS_fchmod 124
/* 125 is old recvfrom */
#define IA32_SYS_recvfrom 125
#define IA32_SYS_setreuid 126
#define IA32_SYS_setregid 127
#define IA32_SYS_rename 128
/* 129 is old truncate */
/* 130 is old ftruncate */
/* 129 is obsolete otruncate */
/* 130 is obsolete ftruncate */
#define IA32_SYS_flock 131
#define IA32_SYS_mkfifo 132
#define IA32_SYS_sendto 133
@ -141,52 +136,51 @@
#define IA32_SYS_socketpair 135
#define IA32_SYS_mkdir 136
#define IA32_SYS_rmdir 137
#define IA32_SYS_utimes 138
#define IA32_SYS_ia32_utimes 138
/* 139 is obsolete 4.2 sigreturn */
#define IA32_SYS_adjtime 140
/* 141 is old getpeername */
/* 142 is old gethostid */
/* 143 is old sethostid */
/* 144 is old getrlimit */
/* 145 is old setrlimit */
/* 146 is old killpg */
#define IA32_SYS_ia32_adjtime 140
/* 141 is obsolete ogetpeername */
/* 142 is obsolete ogethostid */
/* 143 is obsolete sethostid */
/* 144 is obsolete getrlimit */
/* 145 is obsolete setrlimit */
/* 146 is obsolete killpg */
#define IA32_SYS_setsid 147
#define IA32_SYS_quotactl 148
/* 149 is old quota */
/* 150 is old getsockname */
#define IA32_SYS_nfssvc 155
/* 156 is old getdirentries */
#define IA32_SYS_statfs 157
#define IA32_SYS_fstatfs 158
/* 149 is obsolete oquota */
/* 150 is obsolete ogetsockname */
#define IA32_SYS_getdirentries 156
#define IA32_SYS_ia32_statfs 157
#define IA32_SYS_ia32_fstatfs 158
#define IA32_SYS_getfh 161
#define IA32_SYS_getdomainname 162
#define IA32_SYS_setdomainname 163
#define IA32_SYS_uname 164
#define IA32_SYS_sysarch 165
#define IA32_SYS_rtprio 166
#define IA32_SYS_semsys 169
#define IA32_SYS_msgsys 170
#define IA32_SYS_shmsys 171
#define IA32_SYS_pread 173
#define IA32_SYS_pwrite 174
#define IA32_SYS_ia32_semsys 169
#define IA32_SYS_ia32_msgsys 170
#define IA32_SYS_ia32_shmsys 171
#define IA32_SYS_ia32_pread 173
#define IA32_SYS_ia32_pwrite 174
#define IA32_SYS_ntp_adjtime 176
#define IA32_SYS_setgid 181
#define IA32_SYS_setegid 182
#define IA32_SYS_seteuid 183
#define IA32_SYS_stat 188
#define IA32_SYS_fstat 189
#define IA32_SYS_lstat 190
#define IA32_SYS_ia32_stat 188
#define IA32_SYS_ia32_fstat 189
#define IA32_SYS_ia32_lstat 190
#define IA32_SYS_pathconf 191
#define IA32_SYS_fpathconf 192
#define IA32_SYS_getrlimit 194
#define IA32_SYS_setrlimit 195
#define IA32_SYS_getdirentries 196
#define IA32_SYS_mmap 197
#define IA32_SYS_ia32_mmap 197
#define IA32_SYS___syscall 198
#define IA32_SYS_lseek 199
#define IA32_SYS_truncate 200
#define IA32_SYS_ftruncate 201
#define IA32_SYS___sysctl 202
#define IA32_SYS_ia32_lseek 199
#define IA32_SYS_ia32_truncate 200
#define IA32_SYS_ia32_ftruncate 201
#define IA32_SYS_ia32_sysctl 202
#define IA32_SYS_mlock 203
#define IA32_SYS_munlock 204
#define IA32_SYS_undelete 205
@ -238,13 +232,6 @@
#define IA32_SYS_setresuid 311
#define IA32_SYS_setresgid 312
/* 313 is obsolete signanosleep */
#define IA32_SYS_aio_return 314
#define IA32_SYS_aio_suspend 315
#define IA32_SYS_aio_cancel 316
#define IA32_SYS_aio_error 317
#define IA32_SYS_aio_read 318
#define IA32_SYS_aio_write 319
#define IA32_SYS_lio_listio 320
#define IA32_SYS_yield 321
/* 322 is obsolete thr_sleep */
/* 323 is obsolete thr_wakeup */
@ -260,12 +247,12 @@
#define IA32_SYS_sched_get_priority_min 333
#define IA32_SYS_sched_rr_get_interval 334
#define IA32_SYS_utrace 335
#define IA32_SYS_sendfile 336
#define IA32_SYS_ia32_sendfile 336
#define IA32_SYS_kldsym 337
#define IA32_SYS_jail 338
#define IA32_SYS_sigprocmask 340
#define IA32_SYS_sigsuspend 341
#define IA32_SYS_sigaction 342
#define IA32_SYS_ia32_sigaction 342
#define IA32_SYS_sigpending 343
#define IA32_SYS_sigreturn 344
#define IA32_SYS___acl_get_file 347
@ -280,22 +267,14 @@
#define IA32_SYS_extattr_set_file 356
#define IA32_SYS_extattr_get_file 357
#define IA32_SYS_extattr_delete_file 358
#define IA32_SYS_aio_waitcomplete 359
#define IA32_SYS_getresuid 360
#define IA32_SYS_getresgid 361
#define IA32_SYS_kqueue 362
#define IA32_SYS_kevent 363
#define IA32_SYS___cap_get_proc 364
#define IA32_SYS___cap_set_proc 365
#define IA32_SYS___cap_get_fd 366
#define IA32_SYS___cap_get_file 367
#define IA32_SYS___cap_set_fd 368
#define IA32_SYS___cap_set_file 369
#define IA32_SYS_extattr_set_fd 371
#define IA32_SYS_extattr_get_fd 372
#define IA32_SYS_extattr_delete_fd 373
#define IA32_SYS___setugid 374
#define IA32_SYS_nfsclnt 375
#define IA32_SYS_eaccess 376
#define IA32_SYS_nmount 378
#define IA32_SYS_kse_exit 379
@ -303,4 +282,7 @@
#define IA32_SYS_kse_new 381
#define IA32_SYS_thread_wakeup 382
#define IA32_SYS_kse_yield 383
#define IA32_SYS_MAXSYSCALL 390
#define IA32_SYS_kenv 390
#define IA32_SYS_lchflags 391
#define IA32_SYS_uuidgen 392
#define IA32_SYS_MAXSYSCALL 393

View File

@ -3,34 +3,29 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD
* created from FreeBSD: src/sys/ia64/ia32/syscalls.master,v 1.2 2002/07/20 02:56:10 peter Exp
*/
#include "opt_compat.h"
#include <sys/param.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <sys/mount.h>
#include <ia64/ia32/ia32.h>
#include <ia64/ia32/ia32_proto.h>
#define AS(name) (sizeof(struct name) / sizeof(register_t))
#ifdef COMPAT_43
#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)
#else
#define compat(n, name) 0, (sy_call_t *)nosys
#endif
/* The casts are bogus but will do for now. */
struct sysent ia32_sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 0 = syscall */
{ SYF_MPSAFE | 0, (sy_call_t *)nosys }, /* 0 = syscall */
{ SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */
{ SYF_MPSAFE | 0, (sy_call_t *)fork }, /* 2 = fork */
{ SYF_MPSAFE | AS(read_args), (sy_call_t *)read }, /* 3 = read */
{ SYF_MPSAFE | AS(write_args), (sy_call_t *)write }, /* 4 = write */
{ AS(open_args), (sy_call_t *)open }, /* 5 = open */
{ AS(ia32_open_args), (sy_call_t *)ia32_open }, /* 5 = ia32_open */
{ SYF_MPSAFE | AS(close_args), (sy_call_t *)close }, /* 6 = close */
{ SYF_MPSAFE | AS(wait_args), (sy_call_t *)wait4 }, /* 7 = wait4 */
{ compat(AS(ocreat_args),creat) }, /* 8 = old creat */
{ SYF_MPSAFE | AS(ia32_wait4_args), (sy_call_t *)ia32_wait4 }, /* 7 = ia32_wait4 */
{ 0, (sy_call_t *)nosys }, /* 8 = obsolete old creat */
{ AS(link_args), (sy_call_t *)link }, /* 9 = link */
{ AS(unlink_args), (sy_call_t *)unlink }, /* 10 = unlink */
{ 0, (sy_call_t *)nosys }, /* 11 = obsolete execv */
@ -40,8 +35,8 @@ struct sysent ia32_sysent[] = {
{ AS(chmod_args), (sy_call_t *)chmod }, /* 15 = chmod */
{ AS(chown_args), (sy_call_t *)chown }, /* 16 = chown */
{ SYF_MPSAFE | AS(obreak_args), (sy_call_t *)obreak }, /* 17 = break */
{ AS(getfsstat_args), (sy_call_t *)getfsstat }, /* 18 = getfsstat */
{ compat(AS(olseek_args),lseek) }, /* 19 = old lseek */
{ AS(ia32_getfsstat_args), (sy_call_t *)ia32_getfsstat }, /* 18 = ia32_getfsstat */
{ 0, (sy_call_t *)nosys }, /* 19 = obsolete olseek */
{ SYF_MPSAFE | 0, (sy_call_t *)getpid }, /* 20 = getpid */
{ AS(mount_args), (sy_call_t *)mount }, /* 21 = mount */
{ AS(unmount_args), (sy_call_t *)unmount }, /* 22 = unmount */
@ -49,51 +44,51 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | 0, (sy_call_t *)getuid }, /* 24 = getuid */
{ SYF_MPSAFE | 0, (sy_call_t *)geteuid }, /* 25 = geteuid */
{ AS(ptrace_args), (sy_call_t *)ptrace }, /* 26 = ptrace */
{ SYF_MPSAFE | AS(recvmsg_args), (sy_call_t *)recvmsg }, /* 27 = recvmsg */
{ 0, (sy_call_t *)nosys }, /* 27 = recvmsg */
{ SYF_MPSAFE | AS(sendmsg_args), (sy_call_t *)sendmsg }, /* 28 = sendmsg */
{ SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 29 = recvfrom */
{ SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept }, /* 30 = accept */
{ SYF_MPSAFE | AS(getpeername_args), (sy_call_t *)getpeername }, /* 31 = getpeername */
{ SYF_MPSAFE | AS(getsockname_args), (sy_call_t *)getsockname }, /* 32 = getsockname */
{ AS(access_args), (sy_call_t *)access }, /* 33 = access */
{ AS(chflags_args), (sy_call_t *)chflags }, /* 34 = chflags */
{ AS(ia32_access_args), (sy_call_t *)ia32_access }, /* 33 = ia32_access */
{ AS(ia32_chflags_args), (sy_call_t *)ia32_chflags }, /* 34 = ia32_chflags */
{ AS(fchflags_args), (sy_call_t *)fchflags }, /* 35 = fchflags */
{ 0, (sy_call_t *)sync }, /* 36 = sync */
{ SYF_MPSAFE | AS(kill_args), (sy_call_t *)kill }, /* 37 = kill */
{ compat(AS(ostat_args),stat) }, /* 38 = old stat */
{ 0, (sy_call_t *)nosys }, /* 38 = ostat */
{ SYF_MPSAFE | 0, (sy_call_t *)getppid }, /* 39 = getppid */
{ compat(AS(olstat_args),lstat) }, /* 40 = old lstat */
{ 0, (sy_call_t *)nosys }, /* 40 = olstat */
{ AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */
{ 0, (sy_call_t *)pipe }, /* 42 = pipe */
{ SYF_MPSAFE | 0, (sy_call_t *)getegid }, /* 43 = getegid */
{ SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil }, /* 44 = profil */
{ AS(ktrace_args), (sy_call_t *)ktrace }, /* 45 = ktrace */
{ compat(SYF_MPSAFE | AS(osigaction_args),sigaction) }, /* 46 = old sigaction */
{ 0, (sy_call_t *)nosys }, /* 46 = osigaction */
{ SYF_MPSAFE | 0, (sy_call_t *)getgid }, /* 47 = getgid */
{ compat(SYF_MPSAFE | AS(osigprocmask_args),sigprocmask) }, /* 48 = old sigprocmask */
{ 0, (sy_call_t *)nosys }, /* 48 = osigprocmask */
{ SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin }, /* 49 = getlogin */
{ SYF_MPSAFE | AS(setlogin_args), (sy_call_t *)setlogin }, /* 50 = setlogin */
{ SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */
{ compat(SYF_MPSAFE | 0,sigpending) }, /* 52 = old sigpending */
{ SYF_MPSAFE | AS(sigaltstack_args), (sy_call_t *)sigaltstack }, /* 53 = sigaltstack */
{ SYF_MPSAFE | 0, (sy_call_t *)sigpending }, /* 52 = sigpending */
{ AS(ia32_sigaltstack_args), (sy_call_t *)ia32_sigaltstack }, /* 53 = ia32_sigaltstack */
{ SYF_MPSAFE | AS(ioctl_args), (sy_call_t *)ioctl }, /* 54 = ioctl */
{ SYF_MPSAFE | AS(reboot_args), (sy_call_t *)reboot }, /* 55 = reboot */
{ AS(revoke_args), (sy_call_t *)revoke }, /* 56 = revoke */
{ AS(symlink_args), (sy_call_t *)symlink }, /* 57 = symlink */
{ AS(readlink_args), (sy_call_t *)readlink }, /* 58 = readlink */
{ SYF_MPSAFE | AS(execve_args), (sy_call_t *)execve }, /* 59 = execve */
{ AS(ia32_execve_args), (sy_call_t *)ia32_execve }, /* 59 = ia32_execve */
{ SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */
{ AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */
{ compat(SYF_MPSAFE | AS(ofstat_args),fstat) }, /* 62 = old fstat */
{ compat(SYF_MPSAFE | AS(getkerninfo_args),getkerninfo) }, /* 63 = old getkerninfo */
{ compat(SYF_MPSAFE | 0,getpagesize) }, /* 64 = old getpagesize */
{ AS(msync_args), (sy_call_t *)msync }, /* 65 = msync */
{ SYF_MPSAFE | 0, (sy_call_t *)vfork }, /* 66 = vfork */
{ 0, (sy_call_t *)nosys }, /* 62 = obsolete ofstat */
{ 0, (sy_call_t *)nosys }, /* 63 = obsolete ogetkerninfo */
{ 0, (sy_call_t *)nosys }, /* 64 = obsolete ogetpagesize */
{ 0, (sy_call_t *)nosys }, /* 65 = obsolete omsync */
{ 0, (sy_call_t *)nosys }, /* 66 = obsolete ovfork */
{ 0, (sy_call_t *)nosys }, /* 67 = obsolete vread */
{ 0, (sy_call_t *)nosys }, /* 68 = obsolete vwrite */
{ SYF_MPSAFE | AS(sbrk_args), (sy_call_t *)sbrk }, /* 69 = sbrk */
{ SYF_MPSAFE | AS(sstk_args), (sy_call_t *)sstk }, /* 70 = sstk */
{ compat(SYF_MPSAFE | AS(ommap_args),mmap) }, /* 71 = old mmap */
{ 0, (sy_call_t *)nosys }, /* 71 = obsolete ommap */
{ SYF_MPSAFE | AS(ovadvise_args), (sy_call_t *)ovadvise }, /* 72 = vadvise */
{ SYF_MPSAFE | AS(munmap_args), (sy_call_t *)munmap }, /* 73 = munmap */
{ SYF_MPSAFE | AS(mprotect_args), (sy_call_t *)mprotect }, /* 74 = mprotect */
@ -105,54 +100,54 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups }, /* 80 = setgroups */
{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp }, /* 81 = getpgrp */
{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid }, /* 82 = setpgid */
{ SYF_MPSAFE | AS(setitimer_args), (sy_call_t *)setitimer }, /* 83 = setitimer */
{ compat(SYF_MPSAFE | 0,wait) }, /* 84 = old wait */
{ SYF_MPSAFE | AS(swapon_args), (sy_call_t *)swapon }, /* 85 = swapon */
{ SYF_MPSAFE | AS(getitimer_args), (sy_call_t *)getitimer }, /* 86 = getitimer */
{ compat(SYF_MPSAFE | AS(gethostname_args),gethostname) }, /* 87 = old gethostname */
{ compat(SYF_MPSAFE | AS(sethostname_args),sethostname) }, /* 88 = old sethostname */
{ AS(ia32_setitimer_args), (sy_call_t *)ia32_setitimer }, /* 83 = ia32_setitimer */
{ 0, (sy_call_t *)nosys }, /* 84 = obsolete owait */
{ 0, (sy_call_t *)nosys }, /* 85 = obsolete oswapon */
{ 0, (sy_call_t *)nosys }, /* 86 = obsolete ogetitimer */
{ 0, (sy_call_t *)nosys }, /* 87 = obsolete ogethostname */
{ 0, (sy_call_t *)nosys }, /* 88 = obsolete osethostname */
{ SYF_MPSAFE | 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */
{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2 }, /* 90 = dup2 */
{ 0, (sy_call_t *)nosys }, /* 91 = getdopt */
{ SYF_MPSAFE | AS(fcntl_args), (sy_call_t *)fcntl }, /* 92 = fcntl */
{ SYF_MPSAFE | AS(select_args), (sy_call_t *)select }, /* 93 = select */
{ AS(ia32_select_args), (sy_call_t *)ia32_select }, /* 93 = ia32_select */
{ 0, (sy_call_t *)nosys }, /* 94 = setdopt */
{ AS(fsync_args), (sy_call_t *)fsync }, /* 95 = fsync */
{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority }, /* 96 = setpriority */
{ SYF_MPSAFE | AS(socket_args), (sy_call_t *)socket }, /* 97 = socket */
{ SYF_MPSAFE | AS(connect_args), (sy_call_t *)connect }, /* 98 = connect */
{ compat(SYF_MPSAFE | AS(accept_args),accept) }, /* 99 = old accept */
{ SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept }, /* 99 = accept */
{ SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority }, /* 100 = getpriority */
{ compat(SYF_MPSAFE | AS(osend_args),send) }, /* 101 = old send */
{ compat(SYF_MPSAFE | AS(orecv_args),recv) }, /* 102 = old recv */
{ AS(osigreturn_args), (sy_call_t *)osigreturn }, /* 103 = osigreturn */
{ 0, (sy_call_t *)nosys }, /* 101 = obsolete osend */
{ 0, (sy_call_t *)nosys }, /* 102 = obsolete orecv */
{ 0, (sy_call_t *)nosys }, /* 103 = obsolete osigreturn */
{ SYF_MPSAFE | AS(bind_args), (sy_call_t *)bind }, /* 104 = bind */
{ SYF_MPSAFE | AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 105 = setsockopt */
{ SYF_MPSAFE | AS(listen_args), (sy_call_t *)listen }, /* 106 = listen */
{ 0, (sy_call_t *)nosys }, /* 107 = obsolete vtimes */
{ compat(SYF_MPSAFE | AS(osigvec_args),sigvec) }, /* 108 = old sigvec */
{ compat(SYF_MPSAFE | AS(osigblock_args),sigblock) }, /* 109 = old sigblock */
{ compat(SYF_MPSAFE | AS(osigsetmask_args),sigsetmask) }, /* 110 = old sigsetmask */
{ compat(SYF_MPSAFE | AS(osigsuspend_args),sigsuspend) }, /* 111 = old sigsuspend */
{ compat(SYF_MPSAFE | AS(osigstack_args),sigstack) }, /* 112 = old sigstack */
{ compat(SYF_MPSAFE | AS(orecvmsg_args),recvmsg) }, /* 113 = old recvmsg */
{ compat(SYF_MPSAFE | AS(osendmsg_args),sendmsg) }, /* 114 = old sendmsg */
{ 0, (sy_call_t *)nosys }, /* 108 = obsolete osigvec */
{ 0, (sy_call_t *)nosys }, /* 109 = obsolete osigblock */
{ 0, (sy_call_t *)nosys }, /* 110 = obsolete osigsetmask */
{ 0, (sy_call_t *)nosys }, /* 111 = obsolete osigsuspend */
{ 0, (sy_call_t *)nosys }, /* 112 = obsolete osigstack */
{ 0, (sy_call_t *)nosys }, /* 113 = obsolete orecvmsg */
{ 0, (sy_call_t *)nosys }, /* 114 = obsolete osendmsg */
{ 0, (sy_call_t *)nosys }, /* 115 = obsolete vtrace */
{ SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */
{ SYF_MPSAFE | AS(getrusage_args), (sy_call_t *)getrusage }, /* 117 = getrusage */
{ AS(ia32_gettimeofday_args), (sy_call_t *)ia32_gettimeofday }, /* 116 = ia32_gettimeofday */
{ AS(ia32_getrusage_args), (sy_call_t *)ia32_getrusage }, /* 117 = ia32_getrusage */
{ SYF_MPSAFE | AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 118 = getsockopt */
{ 0, (sy_call_t *)nosys }, /* 119 = resuba */
{ SYF_MPSAFE | AS(readv_args), (sy_call_t *)readv }, /* 120 = readv */
{ SYF_MPSAFE | AS(writev_args), (sy_call_t *)writev }, /* 121 = writev */
{ SYF_MPSAFE | AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 122 = settimeofday */
{ AS(ia32_readv_args), (sy_call_t *)ia32_readv }, /* 120 = ia32_readv */
{ AS(ia32_writev_args), (sy_call_t *)ia32_writev }, /* 121 = ia32_writev */
{ AS(ia32_settimeofday_args), (sy_call_t *)ia32_settimeofday }, /* 122 = ia32_settimeofday */
{ AS(fchown_args), (sy_call_t *)fchown }, /* 123 = fchown */
{ AS(fchmod_args), (sy_call_t *)fchmod }, /* 124 = fchmod */
{ compat(SYF_MPSAFE | AS(recvfrom_args),recvfrom) }, /* 125 = old recvfrom */
{ SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 125 = recvfrom */
{ SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid }, /* 126 = setreuid */
{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid }, /* 127 = setregid */
{ AS(rename_args), (sy_call_t *)rename }, /* 128 = rename */
{ compat(AS(otruncate_args),truncate) }, /* 129 = old truncate */
{ compat(AS(oftruncate_args),ftruncate) }, /* 130 = old ftruncate */
{ 0, (sy_call_t *)nosys }, /* 129 = obsolete otruncate */
{ 0, (sy_call_t *)nosys }, /* 130 = obsolete ftruncate */
{ SYF_MPSAFE | AS(flock_args), (sy_call_t *)flock }, /* 131 = flock */
{ AS(mkfifo_args), (sy_call_t *)mkfifo }, /* 132 = mkfifo */
{ SYF_MPSAFE | AS(sendto_args), (sy_call_t *)sendto }, /* 133 = sendto */
@ -160,27 +155,27 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(socketpair_args), (sy_call_t *)socketpair }, /* 135 = socketpair */
{ AS(mkdir_args), (sy_call_t *)mkdir }, /* 136 = mkdir */
{ AS(rmdir_args), (sy_call_t *)rmdir }, /* 137 = rmdir */
{ AS(utimes_args), (sy_call_t *)utimes }, /* 138 = utimes */
{ AS(ia32_utimes_args), (sy_call_t *)ia32_utimes }, /* 138 = ia32_utimes */
{ 0, (sy_call_t *)nosys }, /* 139 = obsolete 4.2 sigreturn */
{ SYF_MPSAFE | AS(adjtime_args), (sy_call_t *)adjtime }, /* 140 = adjtime */
{ compat(SYF_MPSAFE | AS(ogetpeername_args),getpeername) }, /* 141 = old getpeername */
{ compat(SYF_MPSAFE | 0,gethostid) }, /* 142 = old gethostid */
{ compat(SYF_MPSAFE | AS(osethostid_args),sethostid) }, /* 143 = old sethostid */
{ compat(SYF_MPSAFE | AS(ogetrlimit_args),getrlimit) }, /* 144 = old getrlimit */
{ compat(SYF_MPSAFE | AS(osetrlimit_args),setrlimit) }, /* 145 = old setrlimit */
{ compat(SYF_MPSAFE | AS(okillpg_args),killpg) }, /* 146 = old killpg */
{ AS(ia32_adjtime_args), (sy_call_t *)ia32_adjtime }, /* 140 = ia32_adjtime */
{ 0, (sy_call_t *)nosys }, /* 141 = obsolete ogetpeername */
{ 0, (sy_call_t *)nosys }, /* 142 = obsolete ogethostid */
{ 0, (sy_call_t *)nosys }, /* 143 = obsolete sethostid */
{ 0, (sy_call_t *)nosys }, /* 144 = obsolete getrlimit */
{ 0, (sy_call_t *)nosys }, /* 145 = obsolete setrlimit */
{ 0, (sy_call_t *)nosys }, /* 146 = obsolete killpg */
{ SYF_MPSAFE | 0, (sy_call_t *)setsid }, /* 147 = setsid */
{ AS(quotactl_args), (sy_call_t *)quotactl }, /* 148 = quotactl */
{ compat(SYF_MPSAFE | 0,quota) }, /* 149 = old quota */
{ compat(SYF_MPSAFE | AS(getsockname_args),getsockname) }, /* 150 = old getsockname */
{ 0, (sy_call_t *)nosys }, /* 149 = obsolete oquota */
{ 0, (sy_call_t *)nosys }, /* 150 = obsolete ogetsockname */
{ 0, (sy_call_t *)nosys }, /* 151 = sem_lock */
{ 0, (sy_call_t *)nosys }, /* 152 = sem_wakeup */
{ 0, (sy_call_t *)nosys }, /* 153 = asyncdaemon */
{ 0, (sy_call_t *)nosys }, /* 154 = nosys */
{ SYF_MPSAFE | AS(nfssvc_args), (sy_call_t *)nosys }, /* 155 = nfssvc */
{ compat(AS(ogetdirentries_args),getdirentries) }, /* 156 = old getdirentries */
{ AS(statfs_args), (sy_call_t *)statfs }, /* 157 = statfs */
{ AS(fstatfs_args), (sy_call_t *)fstatfs }, /* 158 = fstatfs */
{ 0, (sy_call_t *)nosys }, /* 155 = nfssvc */
{ AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 156 = getdirentries */
{ AS(ia32_statfs_args), (sy_call_t *)ia32_statfs }, /* 157 = ia32_statfs */
{ AS(ia32_fstatfs_args), (sy_call_t *)ia32_fstatfs }, /* 158 = ia32_fstatfs */
{ 0, (sy_call_t *)nosys }, /* 159 = nosys */
{ 0, (sy_call_t *)nosys }, /* 160 = nosys */
{ AS(getfh_args), (sy_call_t *)getfh }, /* 161 = getfh */
@ -191,12 +186,12 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(rtprio_args), (sy_call_t *)rtprio }, /* 166 = rtprio */
{ 0, (sy_call_t *)nosys }, /* 167 = nosys */
{ 0, (sy_call_t *)nosys }, /* 168 = nosys */
{ SYF_MPSAFE | AS(semsys_args), (sy_call_t *)lkmressys }, /* 169 = semsys */
{ SYF_MPSAFE | AS(msgsys_args), (sy_call_t *)lkmressys }, /* 170 = msgsys */
{ SYF_MPSAFE | AS(shmsys_args), (sy_call_t *)lkmressys }, /* 171 = shmsys */
{ AS(ia32_semsys_args), (sy_call_t *)ia32_semsys }, /* 169 = ia32_semsys */
{ AS(ia32_msgsys_args), (sy_call_t *)ia32_msgsys }, /* 170 = ia32_msgsys */
{ AS(ia32_shmsys_args), (sy_call_t *)ia32_shmsys }, /* 171 = ia32_shmsys */
{ 0, (sy_call_t *)nosys }, /* 172 = nosys */
{ SYF_MPSAFE | AS(pread_args), (sy_call_t *)pread }, /* 173 = pread */
{ SYF_MPSAFE | AS(pwrite_args), (sy_call_t *)pwrite }, /* 174 = pwrite */
{ AS(ia32_pread_args), (sy_call_t *)ia32_pread }, /* 173 = ia32_pread */
{ AS(ia32_pwrite_args), (sy_call_t *)ia32_pwrite }, /* 174 = ia32_pwrite */
{ 0, (sy_call_t *)nosys }, /* 175 = nosys */
{ SYF_MPSAFE | AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */
{ 0, (sy_call_t *)nosys }, /* 177 = sfork */
@ -210,21 +205,21 @@ struct sysent ia32_sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 185 = lfs_markv */
{ 0, (sy_call_t *)nosys }, /* 186 = lfs_segclean */
{ 0, (sy_call_t *)nosys }, /* 187 = lfs_segwait */
{ AS(stat_args), (sy_call_t *)stat }, /* 188 = stat */
{ SYF_MPSAFE | AS(fstat_args), (sy_call_t *)fstat }, /* 189 = fstat */
{ AS(lstat_args), (sy_call_t *)lstat }, /* 190 = lstat */
{ AS(ia32_stat_args), (sy_call_t *)ia32_stat }, /* 188 = ia32_stat */
{ AS(ia32_fstat_args), (sy_call_t *)ia32_fstat }, /* 189 = ia32_fstat */
{ AS(ia32_lstat_args), (sy_call_t *)ia32_lstat }, /* 190 = ia32_lstat */
{ AS(pathconf_args), (sy_call_t *)pathconf }, /* 191 = pathconf */
{ SYF_MPSAFE | AS(fpathconf_args), (sy_call_t *)fpathconf }, /* 192 = fpathconf */
{ 0, (sy_call_t *)nosys }, /* 193 = nosys */
{ SYF_MPSAFE | AS(__getrlimit_args), (sy_call_t *)getrlimit }, /* 194 = getrlimit */
{ SYF_MPSAFE | AS(__setrlimit_args), (sy_call_t *)setrlimit }, /* 195 = setrlimit */
{ AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 196 = getdirentries */
{ SYF_MPSAFE | AS(mmap_args), (sy_call_t *)mmap }, /* 197 = mmap */
{ AS(ia32_mmap_args), (sy_call_t *)ia32_mmap }, /* 197 = ia32_mmap */
{ 0, (sy_call_t *)nosys }, /* 198 = __syscall */
{ AS(lseek_args), (sy_call_t *)lseek }, /* 199 = lseek */
{ AS(truncate_args), (sy_call_t *)truncate }, /* 200 = truncate */
{ AS(ftruncate_args), (sy_call_t *)ftruncate }, /* 201 = ftruncate */
{ SYF_MPSAFE | AS(sysctl_args), (sy_call_t *)__sysctl }, /* 202 = __sysctl */
{ AS(ia32_lseek_args), (sy_call_t *)ia32_lseek }, /* 199 = ia32_lseek */
{ AS(ia32_truncate_args), (sy_call_t *)ia32_truncate }, /* 200 = ia32_truncate */
{ AS(ia32_ftruncate_args), (sy_call_t *)ia32_ftruncate }, /* 201 = ia32_ftruncate */
{ SYF_MPSAFE | AS(ia32_sysctl_args), (sy_call_t *)ia32_sysctl }, /* 202 = ia32_sysctl */
{ SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock }, /* 203 = mlock */
{ SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock }, /* 204 = munlock */
{ AS(undelete_args), (sy_call_t *)undelete }, /* 205 = undelete */
@ -232,28 +227,28 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid }, /* 207 = getpgid */
{ 0, (sy_call_t *)nosys }, /* 208 = newreboot */
{ SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll }, /* 209 = poll */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 210 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 211 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 212 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 213 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 214 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 215 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 216 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 217 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 218 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 219 = lkmnosys */
{ SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)lkmressys }, /* 220 = __semctl */
{ SYF_MPSAFE | AS(semget_args), (sy_call_t *)lkmressys }, /* 221 = semget */
{ SYF_MPSAFE | AS(semop_args), (sy_call_t *)lkmressys }, /* 222 = semop */
{ 0, (sy_call_t *)nosys }, /* 210 = */
{ 0, (sy_call_t *)nosys }, /* 211 = */
{ 0, (sy_call_t *)nosys }, /* 212 = */
{ 0, (sy_call_t *)nosys }, /* 213 = */
{ 0, (sy_call_t *)nosys }, /* 214 = */
{ 0, (sy_call_t *)nosys }, /* 215 = */
{ 0, (sy_call_t *)nosys }, /* 216 = */
{ 0, (sy_call_t *)nosys }, /* 217 = */
{ 0, (sy_call_t *)nosys }, /* 218 = */
{ 0, (sy_call_t *)nosys }, /* 219 = */
{ SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)__semctl }, /* 220 = __semctl */
{ SYF_MPSAFE | AS(semget_args), (sy_call_t *)semget }, /* 221 = semget */
{ SYF_MPSAFE | AS(semop_args), (sy_call_t *)semop }, /* 222 = semop */
{ 0, (sy_call_t *)nosys }, /* 223 = semconfig */
{ SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)lkmressys }, /* 224 = msgctl */
{ SYF_MPSAFE | AS(msgget_args), (sy_call_t *)lkmressys }, /* 225 = msgget */
{ SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)lkmressys }, /* 226 = msgsnd */
{ SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)lkmressys }, /* 227 = msgrcv */
{ SYF_MPSAFE | AS(shmat_args), (sy_call_t *)lkmressys }, /* 228 = shmat */
{ SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)lkmressys }, /* 229 = shmctl */
{ SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)lkmressys }, /* 230 = shmdt */
{ SYF_MPSAFE | AS(shmget_args), (sy_call_t *)lkmressys }, /* 231 = shmget */
{ SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)msgctl }, /* 224 = msgctl */
{ SYF_MPSAFE | AS(msgget_args), (sy_call_t *)msgget }, /* 225 = msgget */
{ SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)msgsnd }, /* 226 = msgsnd */
{ SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)msgrcv }, /* 227 = msgrcv */
{ SYF_MPSAFE | AS(shmat_args), (sy_call_t *)shmat }, /* 228 = shmat */
{ SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)shmctl }, /* 229 = shmctl */
{ SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)shmdt }, /* 230 = shmdt */
{ SYF_MPSAFE | AS(shmget_args), (sy_call_t *)shmget }, /* 231 = shmget */
{ SYF_MPSAFE | AS(clock_gettime_args), (sy_call_t *)clock_gettime }, /* 232 = clock_gettime */
{ SYF_MPSAFE | AS(clock_settime_args), (sy_call_t *)clock_settime }, /* 233 = clock_settime */
{ SYF_MPSAFE | AS(clock_getres_args), (sy_call_t *)clock_getres }, /* 234 = clock_getres */
@ -336,13 +331,13 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid }, /* 311 = setresuid */
{ SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid }, /* 312 = setresgid */
{ 0, (sy_call_t *)nosys }, /* 313 = obsolete signanosleep */
{ AS(aio_return_args), (sy_call_t *)lkmressys }, /* 314 = aio_return */
{ AS(aio_suspend_args), (sy_call_t *)lkmressys }, /* 315 = aio_suspend */
{ AS(aio_cancel_args), (sy_call_t *)lkmressys }, /* 316 = aio_cancel */
{ AS(aio_error_args), (sy_call_t *)lkmressys }, /* 317 = aio_error */
{ AS(aio_read_args), (sy_call_t *)lkmressys }, /* 318 = aio_read */
{ AS(aio_write_args), (sy_call_t *)lkmressys }, /* 319 = aio_write */
{ AS(lio_listio_args), (sy_call_t *)lkmressys }, /* 320 = lio_listio */
{ 0, (sy_call_t *)nosys }, /* 314 = aio_return */
{ 0, (sy_call_t *)nosys }, /* 315 = aio_suspend */
{ 0, (sy_call_t *)nosys }, /* 316 = aio_cancel */
{ 0, (sy_call_t *)nosys }, /* 317 = aio_error */
{ 0, (sy_call_t *)nosys }, /* 318 = aio_read */
{ 0, (sy_call_t *)nosys }, /* 319 = aio_write */
{ 0, (sy_call_t *)nosys }, /* 320 = lio_listio */
{ SYF_MPSAFE | 0, (sy_call_t *)yield }, /* 321 = yield */
{ 0, (sy_call_t *)nosys }, /* 322 = obsolete thr_sleep */
{ 0, (sy_call_t *)nosys }, /* 323 = obsolete thr_wakeup */
@ -358,15 +353,15 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 333 = sched_get_priority_min */
{ SYF_MPSAFE | AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 334 = sched_rr_get_interval */
{ AS(utrace_args), (sy_call_t *)utrace }, /* 335 = utrace */
{ SYF_MPSAFE | AS(sendfile_args), (sy_call_t *)sendfile }, /* 336 = sendfile */
{ SYF_MPSAFE | AS(ia32_sendfile_args), (sy_call_t *)ia32_sendfile }, /* 336 = ia32_sendfile */
{ AS(kldsym_args), (sy_call_t *)kldsym }, /* 337 = kldsym */
{ SYF_MPSAFE | AS(jail_args), (sy_call_t *)jail }, /* 338 = jail */
{ 0, (sy_call_t *)nosys }, /* 339 = pioctl */
{ SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask }, /* 340 = sigprocmask */
{ SYF_MPSAFE | AS(sigsuspend_args), (sy_call_t *)sigsuspend }, /* 341 = sigsuspend */
{ SYF_MPSAFE | AS(sigaction_args), (sy_call_t *)sigaction }, /* 342 = sigaction */
{ AS(ia32_sigaction_args), (sy_call_t *)ia32_sigaction }, /* 342 = ia32_sigaction */
{ SYF_MPSAFE | AS(sigpending_args), (sy_call_t *)sigpending }, /* 343 = sigpending */
{ AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 344 = sigreturn */
{ SYF_MPSAFE | AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 344 = sigreturn */
{ 0, (sy_call_t *)nosys }, /* 345 = sigtimedwait */
{ 0, (sy_call_t *)nosys }, /* 346 = sigwaitinfo */
{ SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file }, /* 347 = __acl_get_file */
@ -381,23 +376,23 @@ struct sysent ia32_sysent[] = {
{ AS(extattr_set_file_args), (sy_call_t *)extattr_set_file }, /* 356 = extattr_set_file */
{ AS(extattr_get_file_args), (sy_call_t *)extattr_get_file }, /* 357 = extattr_get_file */
{ AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file }, /* 358 = extattr_delete_file */
{ AS(aio_waitcomplete_args), (sy_call_t *)lkmressys }, /* 359 = aio_waitcomplete */
{ 0, (sy_call_t *)nosys }, /* 359 = aio_waitcomplete */
{ SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid }, /* 360 = getresuid */
{ SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid }, /* 361 = getresgid */
{ SYF_MPSAFE | 0, (sy_call_t *)kqueue }, /* 362 = kqueue */
{ SYF_MPSAFE | AS(kevent_args), (sy_call_t *)kevent }, /* 363 = kevent */
{ AS(__cap_get_proc_args), (sy_call_t *)__cap_get_proc }, /* 364 = __cap_get_proc */
{ AS(__cap_set_proc_args), (sy_call_t *)__cap_set_proc }, /* 365 = __cap_set_proc */
{ AS(__cap_get_fd_args), (sy_call_t *)__cap_get_fd }, /* 366 = __cap_get_fd */
{ AS(__cap_get_file_args), (sy_call_t *)__cap_get_file }, /* 367 = __cap_get_file */
{ AS(__cap_set_fd_args), (sy_call_t *)__cap_set_fd }, /* 368 = __cap_set_fd */
{ AS(__cap_set_file_args), (sy_call_t *)__cap_set_file }, /* 369 = __cap_set_file */
{ AS(nosys_args), (sy_call_t *)lkmressys }, /* 370 = lkmressys */
{ 0, (sy_call_t *)nosys }, /* 364 = __cap_get_proc */
{ 0, (sy_call_t *)nosys }, /* 365 = __cap_set_proc */
{ 0, (sy_call_t *)nosys }, /* 366 = __cap_get_fd */
{ 0, (sy_call_t *)nosys }, /* 367 = __cap_get_file */
{ 0, (sy_call_t *)nosys }, /* 368 = __cap_set_fd */
{ 0, (sy_call_t *)nosys }, /* 369 = __cap_set_file */
{ 0, (sy_call_t *)nosys }, /* 370 = lkmressys */
{ AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd }, /* 371 = extattr_set_fd */
{ AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd }, /* 372 = extattr_get_fd */
{ AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd }, /* 373 = extattr_delete_fd */
{ SYF_MPSAFE | AS(__setugid_args), (sy_call_t *)__setugid }, /* 374 = __setugid */
{ AS(nfsclnt_args), (sy_call_t *)nosys }, /* 375 = nfsclnt */
{ 0, (sy_call_t *)nosys }, /* 375 = nfsclnt */
{ AS(eaccess_args), (sy_call_t *)eaccess }, /* 376 = eaccess */
{ 0, (sy_call_t *)nosys }, /* 377 = afs_syscall */
{ AS(nmount_args), (sy_call_t *)nmount }, /* 378 = nmount */
@ -412,4 +407,7 @@ struct sysent ia32_sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 387 = __mac_get_file */
{ 0, (sy_call_t *)nosys }, /* 388 = __mac_set_fd */
{ 0, (sy_call_t *)nosys }, /* 389 = __mac_set_file */
{ AS(kenv_args), (sy_call_t *)kenv }, /* 390 = kenv */
{ AS(lchflags_args), (sy_call_t *)lchflags }, /* 391 = lchflags */
{ AS(uuidgen_args), (sy_call_t *)uuidgen }, /* 392 = uuidgen */
};

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD
* created from FreeBSD: src/sys/ia64/ia32/syscalls.master,v 1.2 2002/07/20 02:56:10 peter Exp
*/
#define IA32_SYS_syscall 0
@ -11,10 +11,10 @@
#define IA32_SYS_fork 2
#define IA32_SYS_read 3
#define IA32_SYS_write 4
#define IA32_SYS_open 5
#define IA32_SYS_ia32_open 5
#define IA32_SYS_close 6
#define IA32_SYS_wait4 7
/* 8 is old creat */
#define IA32_SYS_ia32_wait4 7
/* 8 is obsolete old creat */
#define IA32_SYS_link 9
#define IA32_SYS_unlink 10
/* 11 is obsolete execv */
@ -24,8 +24,8 @@
#define IA32_SYS_chmod 15
#define IA32_SYS_chown 16
#define IA32_SYS_break 17
#define IA32_SYS_getfsstat 18
/* 19 is old lseek */
#define IA32_SYS_ia32_getfsstat 18
/* 19 is obsolete olseek */
#define IA32_SYS_getpid 20
#define IA32_SYS_mount 21
#define IA32_SYS_unmount 22
@ -33,51 +33,46 @@
#define IA32_SYS_getuid 24
#define IA32_SYS_geteuid 25
#define IA32_SYS_ptrace 26
#define IA32_SYS_recvmsg 27
#define IA32_SYS_sendmsg 28
#define IA32_SYS_recvfrom 29
#define IA32_SYS_accept 30
#define IA32_SYS_getpeername 31
#define IA32_SYS_getsockname 32
#define IA32_SYS_access 33
#define IA32_SYS_chflags 34
#define IA32_SYS_ia32_access 33
#define IA32_SYS_ia32_chflags 34
#define IA32_SYS_fchflags 35
#define IA32_SYS_sync 36
#define IA32_SYS_kill 37
/* 38 is old stat */
#define IA32_SYS_getppid 39
/* 40 is old lstat */
#define IA32_SYS_dup 41
#define IA32_SYS_pipe 42
#define IA32_SYS_getegid 43
#define IA32_SYS_profil 44
#define IA32_SYS_ktrace 45
/* 46 is old sigaction */
#define IA32_SYS_getgid 47
/* 48 is old sigprocmask */
#define IA32_SYS_getlogin 49
#define IA32_SYS_setlogin 50
#define IA32_SYS_acct 51
/* 52 is old sigpending */
#define IA32_SYS_sigaltstack 53
#define IA32_SYS_sigpending 52
#define IA32_SYS_ia32_sigaltstack 53
#define IA32_SYS_ioctl 54
#define IA32_SYS_reboot 55
#define IA32_SYS_revoke 56
#define IA32_SYS_symlink 57
#define IA32_SYS_readlink 58
#define IA32_SYS_execve 59
#define IA32_SYS_ia32_execve 59
#define IA32_SYS_umask 60
#define IA32_SYS_chroot 61
/* 62 is old fstat */
/* 63 is old getkerninfo */
/* 64 is old getpagesize */
#define IA32_SYS_msync 65
#define IA32_SYS_vfork 66
/* 62 is obsolete ofstat */
/* 63 is obsolete ogetkerninfo */
/* 64 is obsolete ogetpagesize */
/* 65 is obsolete omsync */
/* 66 is obsolete ovfork */
/* 67 is obsolete vread */
/* 68 is obsolete vwrite */
#define IA32_SYS_sbrk 69
#define IA32_SYS_sstk 70
/* 71 is old mmap */
/* 71 is obsolete ommap */
#define IA32_SYS_vadvise 72
#define IA32_SYS_munmap 73
#define IA32_SYS_mprotect 74
@ -89,51 +84,51 @@
#define IA32_SYS_setgroups 80
#define IA32_SYS_getpgrp 81
#define IA32_SYS_setpgid 82
#define IA32_SYS_setitimer 83
/* 84 is old wait */
#define IA32_SYS_swapon 85
#define IA32_SYS_getitimer 86
/* 87 is old gethostname */
/* 88 is old sethostname */
#define IA32_SYS_ia32_setitimer 83
/* 84 is obsolete owait */
/* 85 is obsolete oswapon */
/* 86 is obsolete ogetitimer */
/* 87 is obsolete ogethostname */
/* 88 is obsolete osethostname */
#define IA32_SYS_getdtablesize 89
#define IA32_SYS_dup2 90
#define IA32_SYS_fcntl 92
#define IA32_SYS_select 93
#define IA32_SYS_ia32_select 93
#define IA32_SYS_fsync 95
#define IA32_SYS_setpriority 96
#define IA32_SYS_socket 97
#define IA32_SYS_connect 98
/* 99 is old accept */
#define IA32_SYS_accept 99
#define IA32_SYS_getpriority 100
/* 101 is old send */
/* 102 is old recv */
#define IA32_SYS_osigreturn 103
/* 101 is obsolete osend */
/* 102 is obsolete orecv */
/* 103 is obsolete osigreturn */
#define IA32_SYS_bind 104
#define IA32_SYS_setsockopt 105
#define IA32_SYS_listen 106
/* 107 is obsolete vtimes */
/* 108 is old sigvec */
/* 109 is old sigblock */
/* 110 is old sigsetmask */
/* 111 is old sigsuspend */
/* 112 is old sigstack */
/* 113 is old recvmsg */
/* 114 is old sendmsg */
/* 108 is obsolete osigvec */
/* 109 is obsolete osigblock */
/* 110 is obsolete osigsetmask */
/* 111 is obsolete osigsuspend */
/* 112 is obsolete osigstack */
/* 113 is obsolete orecvmsg */
/* 114 is obsolete osendmsg */
/* 115 is obsolete vtrace */
#define IA32_SYS_gettimeofday 116
#define IA32_SYS_getrusage 117
#define IA32_SYS_ia32_gettimeofday 116
#define IA32_SYS_ia32_getrusage 117
#define IA32_SYS_getsockopt 118
#define IA32_SYS_readv 120
#define IA32_SYS_writev 121
#define IA32_SYS_settimeofday 122
#define IA32_SYS_ia32_readv 120
#define IA32_SYS_ia32_writev 121
#define IA32_SYS_ia32_settimeofday 122
#define IA32_SYS_fchown 123
#define IA32_SYS_fchmod 124
/* 125 is old recvfrom */
#define IA32_SYS_recvfrom 125
#define IA32_SYS_setreuid 126
#define IA32_SYS_setregid 127
#define IA32_SYS_rename 128
/* 129 is old truncate */
/* 130 is old ftruncate */
/* 129 is obsolete otruncate */
/* 130 is obsolete ftruncate */
#define IA32_SYS_flock 131
#define IA32_SYS_mkfifo 132
#define IA32_SYS_sendto 133
@ -141,52 +136,51 @@
#define IA32_SYS_socketpair 135
#define IA32_SYS_mkdir 136
#define IA32_SYS_rmdir 137
#define IA32_SYS_utimes 138
#define IA32_SYS_ia32_utimes 138
/* 139 is obsolete 4.2 sigreturn */
#define IA32_SYS_adjtime 140
/* 141 is old getpeername */
/* 142 is old gethostid */
/* 143 is old sethostid */
/* 144 is old getrlimit */
/* 145 is old setrlimit */
/* 146 is old killpg */
#define IA32_SYS_ia32_adjtime 140
/* 141 is obsolete ogetpeername */
/* 142 is obsolete ogethostid */
/* 143 is obsolete sethostid */
/* 144 is obsolete getrlimit */
/* 145 is obsolete setrlimit */
/* 146 is obsolete killpg */
#define IA32_SYS_setsid 147
#define IA32_SYS_quotactl 148
/* 149 is old quota */
/* 150 is old getsockname */
#define IA32_SYS_nfssvc 155
/* 156 is old getdirentries */
#define IA32_SYS_statfs 157
#define IA32_SYS_fstatfs 158
/* 149 is obsolete oquota */
/* 150 is obsolete ogetsockname */
#define IA32_SYS_getdirentries 156
#define IA32_SYS_ia32_statfs 157
#define IA32_SYS_ia32_fstatfs 158
#define IA32_SYS_getfh 161
#define IA32_SYS_getdomainname 162
#define IA32_SYS_setdomainname 163
#define IA32_SYS_uname 164
#define IA32_SYS_sysarch 165
#define IA32_SYS_rtprio 166
#define IA32_SYS_semsys 169
#define IA32_SYS_msgsys 170
#define IA32_SYS_shmsys 171
#define IA32_SYS_pread 173
#define IA32_SYS_pwrite 174
#define IA32_SYS_ia32_semsys 169
#define IA32_SYS_ia32_msgsys 170
#define IA32_SYS_ia32_shmsys 171
#define IA32_SYS_ia32_pread 173
#define IA32_SYS_ia32_pwrite 174
#define IA32_SYS_ntp_adjtime 176
#define IA32_SYS_setgid 181
#define IA32_SYS_setegid 182
#define IA32_SYS_seteuid 183
#define IA32_SYS_stat 188
#define IA32_SYS_fstat 189
#define IA32_SYS_lstat 190
#define IA32_SYS_ia32_stat 188
#define IA32_SYS_ia32_fstat 189
#define IA32_SYS_ia32_lstat 190
#define IA32_SYS_pathconf 191
#define IA32_SYS_fpathconf 192
#define IA32_SYS_getrlimit 194
#define IA32_SYS_setrlimit 195
#define IA32_SYS_getdirentries 196
#define IA32_SYS_mmap 197
#define IA32_SYS_ia32_mmap 197
#define IA32_SYS___syscall 198
#define IA32_SYS_lseek 199
#define IA32_SYS_truncate 200
#define IA32_SYS_ftruncate 201
#define IA32_SYS___sysctl 202
#define IA32_SYS_ia32_lseek 199
#define IA32_SYS_ia32_truncate 200
#define IA32_SYS_ia32_ftruncate 201
#define IA32_SYS_ia32_sysctl 202
#define IA32_SYS_mlock 203
#define IA32_SYS_munlock 204
#define IA32_SYS_undelete 205
@ -238,13 +232,6 @@
#define IA32_SYS_setresuid 311
#define IA32_SYS_setresgid 312
/* 313 is obsolete signanosleep */
#define IA32_SYS_aio_return 314
#define IA32_SYS_aio_suspend 315
#define IA32_SYS_aio_cancel 316
#define IA32_SYS_aio_error 317
#define IA32_SYS_aio_read 318
#define IA32_SYS_aio_write 319
#define IA32_SYS_lio_listio 320
#define IA32_SYS_yield 321
/* 322 is obsolete thr_sleep */
/* 323 is obsolete thr_wakeup */
@ -260,12 +247,12 @@
#define IA32_SYS_sched_get_priority_min 333
#define IA32_SYS_sched_rr_get_interval 334
#define IA32_SYS_utrace 335
#define IA32_SYS_sendfile 336
#define IA32_SYS_ia32_sendfile 336
#define IA32_SYS_kldsym 337
#define IA32_SYS_jail 338
#define IA32_SYS_sigprocmask 340
#define IA32_SYS_sigsuspend 341
#define IA32_SYS_sigaction 342
#define IA32_SYS_ia32_sigaction 342
#define IA32_SYS_sigpending 343
#define IA32_SYS_sigreturn 344
#define IA32_SYS___acl_get_file 347
@ -280,22 +267,14 @@
#define IA32_SYS_extattr_set_file 356
#define IA32_SYS_extattr_get_file 357
#define IA32_SYS_extattr_delete_file 358
#define IA32_SYS_aio_waitcomplete 359
#define IA32_SYS_getresuid 360
#define IA32_SYS_getresgid 361
#define IA32_SYS_kqueue 362
#define IA32_SYS_kevent 363
#define IA32_SYS___cap_get_proc 364
#define IA32_SYS___cap_set_proc 365
#define IA32_SYS___cap_get_fd 366
#define IA32_SYS___cap_get_file 367
#define IA32_SYS___cap_set_fd 368
#define IA32_SYS___cap_set_file 369
#define IA32_SYS_extattr_set_fd 371
#define IA32_SYS_extattr_get_fd 372
#define IA32_SYS_extattr_delete_fd 373
#define IA32_SYS___setugid 374
#define IA32_SYS_nfsclnt 375
#define IA32_SYS_eaccess 376
#define IA32_SYS_nmount 378
#define IA32_SYS_kse_exit 379
@ -303,4 +282,7 @@
#define IA32_SYS_kse_new 381
#define IA32_SYS_thread_wakeup 382
#define IA32_SYS_kse_yield 383
#define IA32_SYS_MAXSYSCALL 390
#define IA32_SYS_kenv 390
#define IA32_SYS_lchflags 391
#define IA32_SYS_uuidgen 392
#define IA32_SYS_MAXSYSCALL 393

View File

@ -3,34 +3,29 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD
* created from FreeBSD: src/sys/ia64/ia32/syscalls.master,v 1.2 2002/07/20 02:56:10 peter Exp
*/
#include "opt_compat.h"
#include <sys/param.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <sys/mount.h>
#include <ia64/ia32/ia32.h>
#include <ia64/ia32/ia32_proto.h>
#define AS(name) (sizeof(struct name) / sizeof(register_t))
#ifdef COMPAT_43
#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)
#else
#define compat(n, name) 0, (sy_call_t *)nosys
#endif
/* The casts are bogus but will do for now. */
struct sysent ia32_sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 0 = syscall */
{ SYF_MPSAFE | 0, (sy_call_t *)nosys }, /* 0 = syscall */
{ SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */
{ SYF_MPSAFE | 0, (sy_call_t *)fork }, /* 2 = fork */
{ SYF_MPSAFE | AS(read_args), (sy_call_t *)read }, /* 3 = read */
{ SYF_MPSAFE | AS(write_args), (sy_call_t *)write }, /* 4 = write */
{ AS(open_args), (sy_call_t *)open }, /* 5 = open */
{ AS(ia32_open_args), (sy_call_t *)ia32_open }, /* 5 = ia32_open */
{ SYF_MPSAFE | AS(close_args), (sy_call_t *)close }, /* 6 = close */
{ SYF_MPSAFE | AS(wait_args), (sy_call_t *)wait4 }, /* 7 = wait4 */
{ compat(AS(ocreat_args),creat) }, /* 8 = old creat */
{ SYF_MPSAFE | AS(ia32_wait4_args), (sy_call_t *)ia32_wait4 }, /* 7 = ia32_wait4 */
{ 0, (sy_call_t *)nosys }, /* 8 = obsolete old creat */
{ AS(link_args), (sy_call_t *)link }, /* 9 = link */
{ AS(unlink_args), (sy_call_t *)unlink }, /* 10 = unlink */
{ 0, (sy_call_t *)nosys }, /* 11 = obsolete execv */
@ -40,8 +35,8 @@ struct sysent ia32_sysent[] = {
{ AS(chmod_args), (sy_call_t *)chmod }, /* 15 = chmod */
{ AS(chown_args), (sy_call_t *)chown }, /* 16 = chown */
{ SYF_MPSAFE | AS(obreak_args), (sy_call_t *)obreak }, /* 17 = break */
{ AS(getfsstat_args), (sy_call_t *)getfsstat }, /* 18 = getfsstat */
{ compat(AS(olseek_args),lseek) }, /* 19 = old lseek */
{ AS(ia32_getfsstat_args), (sy_call_t *)ia32_getfsstat }, /* 18 = ia32_getfsstat */
{ 0, (sy_call_t *)nosys }, /* 19 = obsolete olseek */
{ SYF_MPSAFE | 0, (sy_call_t *)getpid }, /* 20 = getpid */
{ AS(mount_args), (sy_call_t *)mount }, /* 21 = mount */
{ AS(unmount_args), (sy_call_t *)unmount }, /* 22 = unmount */
@ -49,51 +44,51 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | 0, (sy_call_t *)getuid }, /* 24 = getuid */
{ SYF_MPSAFE | 0, (sy_call_t *)geteuid }, /* 25 = geteuid */
{ AS(ptrace_args), (sy_call_t *)ptrace }, /* 26 = ptrace */
{ SYF_MPSAFE | AS(recvmsg_args), (sy_call_t *)recvmsg }, /* 27 = recvmsg */
{ 0, (sy_call_t *)nosys }, /* 27 = recvmsg */
{ SYF_MPSAFE | AS(sendmsg_args), (sy_call_t *)sendmsg }, /* 28 = sendmsg */
{ SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 29 = recvfrom */
{ SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept }, /* 30 = accept */
{ SYF_MPSAFE | AS(getpeername_args), (sy_call_t *)getpeername }, /* 31 = getpeername */
{ SYF_MPSAFE | AS(getsockname_args), (sy_call_t *)getsockname }, /* 32 = getsockname */
{ AS(access_args), (sy_call_t *)access }, /* 33 = access */
{ AS(chflags_args), (sy_call_t *)chflags }, /* 34 = chflags */
{ AS(ia32_access_args), (sy_call_t *)ia32_access }, /* 33 = ia32_access */
{ AS(ia32_chflags_args), (sy_call_t *)ia32_chflags }, /* 34 = ia32_chflags */
{ AS(fchflags_args), (sy_call_t *)fchflags }, /* 35 = fchflags */
{ 0, (sy_call_t *)sync }, /* 36 = sync */
{ SYF_MPSAFE | AS(kill_args), (sy_call_t *)kill }, /* 37 = kill */
{ compat(AS(ostat_args),stat) }, /* 38 = old stat */
{ 0, (sy_call_t *)nosys }, /* 38 = ostat */
{ SYF_MPSAFE | 0, (sy_call_t *)getppid }, /* 39 = getppid */
{ compat(AS(olstat_args),lstat) }, /* 40 = old lstat */
{ 0, (sy_call_t *)nosys }, /* 40 = olstat */
{ AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */
{ 0, (sy_call_t *)pipe }, /* 42 = pipe */
{ SYF_MPSAFE | 0, (sy_call_t *)getegid }, /* 43 = getegid */
{ SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil }, /* 44 = profil */
{ AS(ktrace_args), (sy_call_t *)ktrace }, /* 45 = ktrace */
{ compat(SYF_MPSAFE | AS(osigaction_args),sigaction) }, /* 46 = old sigaction */
{ 0, (sy_call_t *)nosys }, /* 46 = osigaction */
{ SYF_MPSAFE | 0, (sy_call_t *)getgid }, /* 47 = getgid */
{ compat(SYF_MPSAFE | AS(osigprocmask_args),sigprocmask) }, /* 48 = old sigprocmask */
{ 0, (sy_call_t *)nosys }, /* 48 = osigprocmask */
{ SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin }, /* 49 = getlogin */
{ SYF_MPSAFE | AS(setlogin_args), (sy_call_t *)setlogin }, /* 50 = setlogin */
{ SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */
{ compat(SYF_MPSAFE | 0,sigpending) }, /* 52 = old sigpending */
{ SYF_MPSAFE | AS(sigaltstack_args), (sy_call_t *)sigaltstack }, /* 53 = sigaltstack */
{ SYF_MPSAFE | 0, (sy_call_t *)sigpending }, /* 52 = sigpending */
{ AS(ia32_sigaltstack_args), (sy_call_t *)ia32_sigaltstack }, /* 53 = ia32_sigaltstack */
{ SYF_MPSAFE | AS(ioctl_args), (sy_call_t *)ioctl }, /* 54 = ioctl */
{ SYF_MPSAFE | AS(reboot_args), (sy_call_t *)reboot }, /* 55 = reboot */
{ AS(revoke_args), (sy_call_t *)revoke }, /* 56 = revoke */
{ AS(symlink_args), (sy_call_t *)symlink }, /* 57 = symlink */
{ AS(readlink_args), (sy_call_t *)readlink }, /* 58 = readlink */
{ SYF_MPSAFE | AS(execve_args), (sy_call_t *)execve }, /* 59 = execve */
{ AS(ia32_execve_args), (sy_call_t *)ia32_execve }, /* 59 = ia32_execve */
{ SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */
{ AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */
{ compat(SYF_MPSAFE | AS(ofstat_args),fstat) }, /* 62 = old fstat */
{ compat(SYF_MPSAFE | AS(getkerninfo_args),getkerninfo) }, /* 63 = old getkerninfo */
{ compat(SYF_MPSAFE | 0,getpagesize) }, /* 64 = old getpagesize */
{ AS(msync_args), (sy_call_t *)msync }, /* 65 = msync */
{ SYF_MPSAFE | 0, (sy_call_t *)vfork }, /* 66 = vfork */
{ 0, (sy_call_t *)nosys }, /* 62 = obsolete ofstat */
{ 0, (sy_call_t *)nosys }, /* 63 = obsolete ogetkerninfo */
{ 0, (sy_call_t *)nosys }, /* 64 = obsolete ogetpagesize */
{ 0, (sy_call_t *)nosys }, /* 65 = obsolete omsync */
{ 0, (sy_call_t *)nosys }, /* 66 = obsolete ovfork */
{ 0, (sy_call_t *)nosys }, /* 67 = obsolete vread */
{ 0, (sy_call_t *)nosys }, /* 68 = obsolete vwrite */
{ SYF_MPSAFE | AS(sbrk_args), (sy_call_t *)sbrk }, /* 69 = sbrk */
{ SYF_MPSAFE | AS(sstk_args), (sy_call_t *)sstk }, /* 70 = sstk */
{ compat(SYF_MPSAFE | AS(ommap_args),mmap) }, /* 71 = old mmap */
{ 0, (sy_call_t *)nosys }, /* 71 = obsolete ommap */
{ SYF_MPSAFE | AS(ovadvise_args), (sy_call_t *)ovadvise }, /* 72 = vadvise */
{ SYF_MPSAFE | AS(munmap_args), (sy_call_t *)munmap }, /* 73 = munmap */
{ SYF_MPSAFE | AS(mprotect_args), (sy_call_t *)mprotect }, /* 74 = mprotect */
@ -105,54 +100,54 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups }, /* 80 = setgroups */
{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp }, /* 81 = getpgrp */
{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid }, /* 82 = setpgid */
{ SYF_MPSAFE | AS(setitimer_args), (sy_call_t *)setitimer }, /* 83 = setitimer */
{ compat(SYF_MPSAFE | 0,wait) }, /* 84 = old wait */
{ SYF_MPSAFE | AS(swapon_args), (sy_call_t *)swapon }, /* 85 = swapon */
{ SYF_MPSAFE | AS(getitimer_args), (sy_call_t *)getitimer }, /* 86 = getitimer */
{ compat(SYF_MPSAFE | AS(gethostname_args),gethostname) }, /* 87 = old gethostname */
{ compat(SYF_MPSAFE | AS(sethostname_args),sethostname) }, /* 88 = old sethostname */
{ AS(ia32_setitimer_args), (sy_call_t *)ia32_setitimer }, /* 83 = ia32_setitimer */
{ 0, (sy_call_t *)nosys }, /* 84 = obsolete owait */
{ 0, (sy_call_t *)nosys }, /* 85 = obsolete oswapon */
{ 0, (sy_call_t *)nosys }, /* 86 = obsolete ogetitimer */
{ 0, (sy_call_t *)nosys }, /* 87 = obsolete ogethostname */
{ 0, (sy_call_t *)nosys }, /* 88 = obsolete osethostname */
{ SYF_MPSAFE | 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */
{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2 }, /* 90 = dup2 */
{ 0, (sy_call_t *)nosys }, /* 91 = getdopt */
{ SYF_MPSAFE | AS(fcntl_args), (sy_call_t *)fcntl }, /* 92 = fcntl */
{ SYF_MPSAFE | AS(select_args), (sy_call_t *)select }, /* 93 = select */
{ AS(ia32_select_args), (sy_call_t *)ia32_select }, /* 93 = ia32_select */
{ 0, (sy_call_t *)nosys }, /* 94 = setdopt */
{ AS(fsync_args), (sy_call_t *)fsync }, /* 95 = fsync */
{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority }, /* 96 = setpriority */
{ SYF_MPSAFE | AS(socket_args), (sy_call_t *)socket }, /* 97 = socket */
{ SYF_MPSAFE | AS(connect_args), (sy_call_t *)connect }, /* 98 = connect */
{ compat(SYF_MPSAFE | AS(accept_args),accept) }, /* 99 = old accept */
{ SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept }, /* 99 = accept */
{ SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority }, /* 100 = getpriority */
{ compat(SYF_MPSAFE | AS(osend_args),send) }, /* 101 = old send */
{ compat(SYF_MPSAFE | AS(orecv_args),recv) }, /* 102 = old recv */
{ AS(osigreturn_args), (sy_call_t *)osigreturn }, /* 103 = osigreturn */
{ 0, (sy_call_t *)nosys }, /* 101 = obsolete osend */
{ 0, (sy_call_t *)nosys }, /* 102 = obsolete orecv */
{ 0, (sy_call_t *)nosys }, /* 103 = obsolete osigreturn */
{ SYF_MPSAFE | AS(bind_args), (sy_call_t *)bind }, /* 104 = bind */
{ SYF_MPSAFE | AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 105 = setsockopt */
{ SYF_MPSAFE | AS(listen_args), (sy_call_t *)listen }, /* 106 = listen */
{ 0, (sy_call_t *)nosys }, /* 107 = obsolete vtimes */
{ compat(SYF_MPSAFE | AS(osigvec_args),sigvec) }, /* 108 = old sigvec */
{ compat(SYF_MPSAFE | AS(osigblock_args),sigblock) }, /* 109 = old sigblock */
{ compat(SYF_MPSAFE | AS(osigsetmask_args),sigsetmask) }, /* 110 = old sigsetmask */
{ compat(SYF_MPSAFE | AS(osigsuspend_args),sigsuspend) }, /* 111 = old sigsuspend */
{ compat(SYF_MPSAFE | AS(osigstack_args),sigstack) }, /* 112 = old sigstack */
{ compat(SYF_MPSAFE | AS(orecvmsg_args),recvmsg) }, /* 113 = old recvmsg */
{ compat(SYF_MPSAFE | AS(osendmsg_args),sendmsg) }, /* 114 = old sendmsg */
{ 0, (sy_call_t *)nosys }, /* 108 = obsolete osigvec */
{ 0, (sy_call_t *)nosys }, /* 109 = obsolete osigblock */
{ 0, (sy_call_t *)nosys }, /* 110 = obsolete osigsetmask */
{ 0, (sy_call_t *)nosys }, /* 111 = obsolete osigsuspend */
{ 0, (sy_call_t *)nosys }, /* 112 = obsolete osigstack */
{ 0, (sy_call_t *)nosys }, /* 113 = obsolete orecvmsg */
{ 0, (sy_call_t *)nosys }, /* 114 = obsolete osendmsg */
{ 0, (sy_call_t *)nosys }, /* 115 = obsolete vtrace */
{ SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */
{ SYF_MPSAFE | AS(getrusage_args), (sy_call_t *)getrusage }, /* 117 = getrusage */
{ AS(ia32_gettimeofday_args), (sy_call_t *)ia32_gettimeofday }, /* 116 = ia32_gettimeofday */
{ AS(ia32_getrusage_args), (sy_call_t *)ia32_getrusage }, /* 117 = ia32_getrusage */
{ SYF_MPSAFE | AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 118 = getsockopt */
{ 0, (sy_call_t *)nosys }, /* 119 = resuba */
{ SYF_MPSAFE | AS(readv_args), (sy_call_t *)readv }, /* 120 = readv */
{ SYF_MPSAFE | AS(writev_args), (sy_call_t *)writev }, /* 121 = writev */
{ SYF_MPSAFE | AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 122 = settimeofday */
{ AS(ia32_readv_args), (sy_call_t *)ia32_readv }, /* 120 = ia32_readv */
{ AS(ia32_writev_args), (sy_call_t *)ia32_writev }, /* 121 = ia32_writev */
{ AS(ia32_settimeofday_args), (sy_call_t *)ia32_settimeofday }, /* 122 = ia32_settimeofday */
{ AS(fchown_args), (sy_call_t *)fchown }, /* 123 = fchown */
{ AS(fchmod_args), (sy_call_t *)fchmod }, /* 124 = fchmod */
{ compat(SYF_MPSAFE | AS(recvfrom_args),recvfrom) }, /* 125 = old recvfrom */
{ SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 125 = recvfrom */
{ SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid }, /* 126 = setreuid */
{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid }, /* 127 = setregid */
{ AS(rename_args), (sy_call_t *)rename }, /* 128 = rename */
{ compat(AS(otruncate_args),truncate) }, /* 129 = old truncate */
{ compat(AS(oftruncate_args),ftruncate) }, /* 130 = old ftruncate */
{ 0, (sy_call_t *)nosys }, /* 129 = obsolete otruncate */
{ 0, (sy_call_t *)nosys }, /* 130 = obsolete ftruncate */
{ SYF_MPSAFE | AS(flock_args), (sy_call_t *)flock }, /* 131 = flock */
{ AS(mkfifo_args), (sy_call_t *)mkfifo }, /* 132 = mkfifo */
{ SYF_MPSAFE | AS(sendto_args), (sy_call_t *)sendto }, /* 133 = sendto */
@ -160,27 +155,27 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(socketpair_args), (sy_call_t *)socketpair }, /* 135 = socketpair */
{ AS(mkdir_args), (sy_call_t *)mkdir }, /* 136 = mkdir */
{ AS(rmdir_args), (sy_call_t *)rmdir }, /* 137 = rmdir */
{ AS(utimes_args), (sy_call_t *)utimes }, /* 138 = utimes */
{ AS(ia32_utimes_args), (sy_call_t *)ia32_utimes }, /* 138 = ia32_utimes */
{ 0, (sy_call_t *)nosys }, /* 139 = obsolete 4.2 sigreturn */
{ SYF_MPSAFE | AS(adjtime_args), (sy_call_t *)adjtime }, /* 140 = adjtime */
{ compat(SYF_MPSAFE | AS(ogetpeername_args),getpeername) }, /* 141 = old getpeername */
{ compat(SYF_MPSAFE | 0,gethostid) }, /* 142 = old gethostid */
{ compat(SYF_MPSAFE | AS(osethostid_args),sethostid) }, /* 143 = old sethostid */
{ compat(SYF_MPSAFE | AS(ogetrlimit_args),getrlimit) }, /* 144 = old getrlimit */
{ compat(SYF_MPSAFE | AS(osetrlimit_args),setrlimit) }, /* 145 = old setrlimit */
{ compat(SYF_MPSAFE | AS(okillpg_args),killpg) }, /* 146 = old killpg */
{ AS(ia32_adjtime_args), (sy_call_t *)ia32_adjtime }, /* 140 = ia32_adjtime */
{ 0, (sy_call_t *)nosys }, /* 141 = obsolete ogetpeername */
{ 0, (sy_call_t *)nosys }, /* 142 = obsolete ogethostid */
{ 0, (sy_call_t *)nosys }, /* 143 = obsolete sethostid */
{ 0, (sy_call_t *)nosys }, /* 144 = obsolete getrlimit */
{ 0, (sy_call_t *)nosys }, /* 145 = obsolete setrlimit */
{ 0, (sy_call_t *)nosys }, /* 146 = obsolete killpg */
{ SYF_MPSAFE | 0, (sy_call_t *)setsid }, /* 147 = setsid */
{ AS(quotactl_args), (sy_call_t *)quotactl }, /* 148 = quotactl */
{ compat(SYF_MPSAFE | 0,quota) }, /* 149 = old quota */
{ compat(SYF_MPSAFE | AS(getsockname_args),getsockname) }, /* 150 = old getsockname */
{ 0, (sy_call_t *)nosys }, /* 149 = obsolete oquota */
{ 0, (sy_call_t *)nosys }, /* 150 = obsolete ogetsockname */
{ 0, (sy_call_t *)nosys }, /* 151 = sem_lock */
{ 0, (sy_call_t *)nosys }, /* 152 = sem_wakeup */
{ 0, (sy_call_t *)nosys }, /* 153 = asyncdaemon */
{ 0, (sy_call_t *)nosys }, /* 154 = nosys */
{ SYF_MPSAFE | AS(nfssvc_args), (sy_call_t *)nosys }, /* 155 = nfssvc */
{ compat(AS(ogetdirentries_args),getdirentries) }, /* 156 = old getdirentries */
{ AS(statfs_args), (sy_call_t *)statfs }, /* 157 = statfs */
{ AS(fstatfs_args), (sy_call_t *)fstatfs }, /* 158 = fstatfs */
{ 0, (sy_call_t *)nosys }, /* 155 = nfssvc */
{ AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 156 = getdirentries */
{ AS(ia32_statfs_args), (sy_call_t *)ia32_statfs }, /* 157 = ia32_statfs */
{ AS(ia32_fstatfs_args), (sy_call_t *)ia32_fstatfs }, /* 158 = ia32_fstatfs */
{ 0, (sy_call_t *)nosys }, /* 159 = nosys */
{ 0, (sy_call_t *)nosys }, /* 160 = nosys */
{ AS(getfh_args), (sy_call_t *)getfh }, /* 161 = getfh */
@ -191,12 +186,12 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(rtprio_args), (sy_call_t *)rtprio }, /* 166 = rtprio */
{ 0, (sy_call_t *)nosys }, /* 167 = nosys */
{ 0, (sy_call_t *)nosys }, /* 168 = nosys */
{ SYF_MPSAFE | AS(semsys_args), (sy_call_t *)lkmressys }, /* 169 = semsys */
{ SYF_MPSAFE | AS(msgsys_args), (sy_call_t *)lkmressys }, /* 170 = msgsys */
{ SYF_MPSAFE | AS(shmsys_args), (sy_call_t *)lkmressys }, /* 171 = shmsys */
{ AS(ia32_semsys_args), (sy_call_t *)ia32_semsys }, /* 169 = ia32_semsys */
{ AS(ia32_msgsys_args), (sy_call_t *)ia32_msgsys }, /* 170 = ia32_msgsys */
{ AS(ia32_shmsys_args), (sy_call_t *)ia32_shmsys }, /* 171 = ia32_shmsys */
{ 0, (sy_call_t *)nosys }, /* 172 = nosys */
{ SYF_MPSAFE | AS(pread_args), (sy_call_t *)pread }, /* 173 = pread */
{ SYF_MPSAFE | AS(pwrite_args), (sy_call_t *)pwrite }, /* 174 = pwrite */
{ AS(ia32_pread_args), (sy_call_t *)ia32_pread }, /* 173 = ia32_pread */
{ AS(ia32_pwrite_args), (sy_call_t *)ia32_pwrite }, /* 174 = ia32_pwrite */
{ 0, (sy_call_t *)nosys }, /* 175 = nosys */
{ SYF_MPSAFE | AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */
{ 0, (sy_call_t *)nosys }, /* 177 = sfork */
@ -210,21 +205,21 @@ struct sysent ia32_sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 185 = lfs_markv */
{ 0, (sy_call_t *)nosys }, /* 186 = lfs_segclean */
{ 0, (sy_call_t *)nosys }, /* 187 = lfs_segwait */
{ AS(stat_args), (sy_call_t *)stat }, /* 188 = stat */
{ SYF_MPSAFE | AS(fstat_args), (sy_call_t *)fstat }, /* 189 = fstat */
{ AS(lstat_args), (sy_call_t *)lstat }, /* 190 = lstat */
{ AS(ia32_stat_args), (sy_call_t *)ia32_stat }, /* 188 = ia32_stat */
{ AS(ia32_fstat_args), (sy_call_t *)ia32_fstat }, /* 189 = ia32_fstat */
{ AS(ia32_lstat_args), (sy_call_t *)ia32_lstat }, /* 190 = ia32_lstat */
{ AS(pathconf_args), (sy_call_t *)pathconf }, /* 191 = pathconf */
{ SYF_MPSAFE | AS(fpathconf_args), (sy_call_t *)fpathconf }, /* 192 = fpathconf */
{ 0, (sy_call_t *)nosys }, /* 193 = nosys */
{ SYF_MPSAFE | AS(__getrlimit_args), (sy_call_t *)getrlimit }, /* 194 = getrlimit */
{ SYF_MPSAFE | AS(__setrlimit_args), (sy_call_t *)setrlimit }, /* 195 = setrlimit */
{ AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 196 = getdirentries */
{ SYF_MPSAFE | AS(mmap_args), (sy_call_t *)mmap }, /* 197 = mmap */
{ AS(ia32_mmap_args), (sy_call_t *)ia32_mmap }, /* 197 = ia32_mmap */
{ 0, (sy_call_t *)nosys }, /* 198 = __syscall */
{ AS(lseek_args), (sy_call_t *)lseek }, /* 199 = lseek */
{ AS(truncate_args), (sy_call_t *)truncate }, /* 200 = truncate */
{ AS(ftruncate_args), (sy_call_t *)ftruncate }, /* 201 = ftruncate */
{ SYF_MPSAFE | AS(sysctl_args), (sy_call_t *)__sysctl }, /* 202 = __sysctl */
{ AS(ia32_lseek_args), (sy_call_t *)ia32_lseek }, /* 199 = ia32_lseek */
{ AS(ia32_truncate_args), (sy_call_t *)ia32_truncate }, /* 200 = ia32_truncate */
{ AS(ia32_ftruncate_args), (sy_call_t *)ia32_ftruncate }, /* 201 = ia32_ftruncate */
{ SYF_MPSAFE | AS(ia32_sysctl_args), (sy_call_t *)ia32_sysctl }, /* 202 = ia32_sysctl */
{ SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock }, /* 203 = mlock */
{ SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock }, /* 204 = munlock */
{ AS(undelete_args), (sy_call_t *)undelete }, /* 205 = undelete */
@ -232,28 +227,28 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid }, /* 207 = getpgid */
{ 0, (sy_call_t *)nosys }, /* 208 = newreboot */
{ SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll }, /* 209 = poll */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 210 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 211 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 212 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 213 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 214 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 215 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 216 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 217 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 218 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 219 = lkmnosys */
{ SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)lkmressys }, /* 220 = __semctl */
{ SYF_MPSAFE | AS(semget_args), (sy_call_t *)lkmressys }, /* 221 = semget */
{ SYF_MPSAFE | AS(semop_args), (sy_call_t *)lkmressys }, /* 222 = semop */
{ 0, (sy_call_t *)nosys }, /* 210 = */
{ 0, (sy_call_t *)nosys }, /* 211 = */
{ 0, (sy_call_t *)nosys }, /* 212 = */
{ 0, (sy_call_t *)nosys }, /* 213 = */
{ 0, (sy_call_t *)nosys }, /* 214 = */
{ 0, (sy_call_t *)nosys }, /* 215 = */
{ 0, (sy_call_t *)nosys }, /* 216 = */
{ 0, (sy_call_t *)nosys }, /* 217 = */
{ 0, (sy_call_t *)nosys }, /* 218 = */
{ 0, (sy_call_t *)nosys }, /* 219 = */
{ SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)__semctl }, /* 220 = __semctl */
{ SYF_MPSAFE | AS(semget_args), (sy_call_t *)semget }, /* 221 = semget */
{ SYF_MPSAFE | AS(semop_args), (sy_call_t *)semop }, /* 222 = semop */
{ 0, (sy_call_t *)nosys }, /* 223 = semconfig */
{ SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)lkmressys }, /* 224 = msgctl */
{ SYF_MPSAFE | AS(msgget_args), (sy_call_t *)lkmressys }, /* 225 = msgget */
{ SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)lkmressys }, /* 226 = msgsnd */
{ SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)lkmressys }, /* 227 = msgrcv */
{ SYF_MPSAFE | AS(shmat_args), (sy_call_t *)lkmressys }, /* 228 = shmat */
{ SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)lkmressys }, /* 229 = shmctl */
{ SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)lkmressys }, /* 230 = shmdt */
{ SYF_MPSAFE | AS(shmget_args), (sy_call_t *)lkmressys }, /* 231 = shmget */
{ SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)msgctl }, /* 224 = msgctl */
{ SYF_MPSAFE | AS(msgget_args), (sy_call_t *)msgget }, /* 225 = msgget */
{ SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)msgsnd }, /* 226 = msgsnd */
{ SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)msgrcv }, /* 227 = msgrcv */
{ SYF_MPSAFE | AS(shmat_args), (sy_call_t *)shmat }, /* 228 = shmat */
{ SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)shmctl }, /* 229 = shmctl */
{ SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)shmdt }, /* 230 = shmdt */
{ SYF_MPSAFE | AS(shmget_args), (sy_call_t *)shmget }, /* 231 = shmget */
{ SYF_MPSAFE | AS(clock_gettime_args), (sy_call_t *)clock_gettime }, /* 232 = clock_gettime */
{ SYF_MPSAFE | AS(clock_settime_args), (sy_call_t *)clock_settime }, /* 233 = clock_settime */
{ SYF_MPSAFE | AS(clock_getres_args), (sy_call_t *)clock_getres }, /* 234 = clock_getres */
@ -336,13 +331,13 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid }, /* 311 = setresuid */
{ SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid }, /* 312 = setresgid */
{ 0, (sy_call_t *)nosys }, /* 313 = obsolete signanosleep */
{ AS(aio_return_args), (sy_call_t *)lkmressys }, /* 314 = aio_return */
{ AS(aio_suspend_args), (sy_call_t *)lkmressys }, /* 315 = aio_suspend */
{ AS(aio_cancel_args), (sy_call_t *)lkmressys }, /* 316 = aio_cancel */
{ AS(aio_error_args), (sy_call_t *)lkmressys }, /* 317 = aio_error */
{ AS(aio_read_args), (sy_call_t *)lkmressys }, /* 318 = aio_read */
{ AS(aio_write_args), (sy_call_t *)lkmressys }, /* 319 = aio_write */
{ AS(lio_listio_args), (sy_call_t *)lkmressys }, /* 320 = lio_listio */
{ 0, (sy_call_t *)nosys }, /* 314 = aio_return */
{ 0, (sy_call_t *)nosys }, /* 315 = aio_suspend */
{ 0, (sy_call_t *)nosys }, /* 316 = aio_cancel */
{ 0, (sy_call_t *)nosys }, /* 317 = aio_error */
{ 0, (sy_call_t *)nosys }, /* 318 = aio_read */
{ 0, (sy_call_t *)nosys }, /* 319 = aio_write */
{ 0, (sy_call_t *)nosys }, /* 320 = lio_listio */
{ SYF_MPSAFE | 0, (sy_call_t *)yield }, /* 321 = yield */
{ 0, (sy_call_t *)nosys }, /* 322 = obsolete thr_sleep */
{ 0, (sy_call_t *)nosys }, /* 323 = obsolete thr_wakeup */
@ -358,15 +353,15 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 333 = sched_get_priority_min */
{ SYF_MPSAFE | AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 334 = sched_rr_get_interval */
{ AS(utrace_args), (sy_call_t *)utrace }, /* 335 = utrace */
{ SYF_MPSAFE | AS(sendfile_args), (sy_call_t *)sendfile }, /* 336 = sendfile */
{ SYF_MPSAFE | AS(ia32_sendfile_args), (sy_call_t *)ia32_sendfile }, /* 336 = ia32_sendfile */
{ AS(kldsym_args), (sy_call_t *)kldsym }, /* 337 = kldsym */
{ SYF_MPSAFE | AS(jail_args), (sy_call_t *)jail }, /* 338 = jail */
{ 0, (sy_call_t *)nosys }, /* 339 = pioctl */
{ SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask }, /* 340 = sigprocmask */
{ SYF_MPSAFE | AS(sigsuspend_args), (sy_call_t *)sigsuspend }, /* 341 = sigsuspend */
{ SYF_MPSAFE | AS(sigaction_args), (sy_call_t *)sigaction }, /* 342 = sigaction */
{ AS(ia32_sigaction_args), (sy_call_t *)ia32_sigaction }, /* 342 = ia32_sigaction */
{ SYF_MPSAFE | AS(sigpending_args), (sy_call_t *)sigpending }, /* 343 = sigpending */
{ AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 344 = sigreturn */
{ SYF_MPSAFE | AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 344 = sigreturn */
{ 0, (sy_call_t *)nosys }, /* 345 = sigtimedwait */
{ 0, (sy_call_t *)nosys }, /* 346 = sigwaitinfo */
{ SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file }, /* 347 = __acl_get_file */
@ -381,23 +376,23 @@ struct sysent ia32_sysent[] = {
{ AS(extattr_set_file_args), (sy_call_t *)extattr_set_file }, /* 356 = extattr_set_file */
{ AS(extattr_get_file_args), (sy_call_t *)extattr_get_file }, /* 357 = extattr_get_file */
{ AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file }, /* 358 = extattr_delete_file */
{ AS(aio_waitcomplete_args), (sy_call_t *)lkmressys }, /* 359 = aio_waitcomplete */
{ 0, (sy_call_t *)nosys }, /* 359 = aio_waitcomplete */
{ SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid }, /* 360 = getresuid */
{ SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid }, /* 361 = getresgid */
{ SYF_MPSAFE | 0, (sy_call_t *)kqueue }, /* 362 = kqueue */
{ SYF_MPSAFE | AS(kevent_args), (sy_call_t *)kevent }, /* 363 = kevent */
{ AS(__cap_get_proc_args), (sy_call_t *)__cap_get_proc }, /* 364 = __cap_get_proc */
{ AS(__cap_set_proc_args), (sy_call_t *)__cap_set_proc }, /* 365 = __cap_set_proc */
{ AS(__cap_get_fd_args), (sy_call_t *)__cap_get_fd }, /* 366 = __cap_get_fd */
{ AS(__cap_get_file_args), (sy_call_t *)__cap_get_file }, /* 367 = __cap_get_file */
{ AS(__cap_set_fd_args), (sy_call_t *)__cap_set_fd }, /* 368 = __cap_set_fd */
{ AS(__cap_set_file_args), (sy_call_t *)__cap_set_file }, /* 369 = __cap_set_file */
{ AS(nosys_args), (sy_call_t *)lkmressys }, /* 370 = lkmressys */
{ 0, (sy_call_t *)nosys }, /* 364 = __cap_get_proc */
{ 0, (sy_call_t *)nosys }, /* 365 = __cap_set_proc */
{ 0, (sy_call_t *)nosys }, /* 366 = __cap_get_fd */
{ 0, (sy_call_t *)nosys }, /* 367 = __cap_get_file */
{ 0, (sy_call_t *)nosys }, /* 368 = __cap_set_fd */
{ 0, (sy_call_t *)nosys }, /* 369 = __cap_set_file */
{ 0, (sy_call_t *)nosys }, /* 370 = lkmressys */
{ AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd }, /* 371 = extattr_set_fd */
{ AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd }, /* 372 = extattr_get_fd */
{ AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd }, /* 373 = extattr_delete_fd */
{ SYF_MPSAFE | AS(__setugid_args), (sy_call_t *)__setugid }, /* 374 = __setugid */
{ AS(nfsclnt_args), (sy_call_t *)nosys }, /* 375 = nfsclnt */
{ 0, (sy_call_t *)nosys }, /* 375 = nfsclnt */
{ AS(eaccess_args), (sy_call_t *)eaccess }, /* 376 = eaccess */
{ 0, (sy_call_t *)nosys }, /* 377 = afs_syscall */
{ AS(nmount_args), (sy_call_t *)nmount }, /* 378 = nmount */
@ -412,4 +407,7 @@ struct sysent ia32_sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 387 = __mac_get_file */
{ 0, (sy_call_t *)nosys }, /* 388 = __mac_set_fd */
{ 0, (sy_call_t *)nosys }, /* 389 = __mac_set_file */
{ AS(kenv_args), (sy_call_t *)kenv }, /* 390 = kenv */
{ AS(lchflags_args), (sy_call_t *)lchflags }, /* 391 = lchflags */
{ AS(uuidgen_args), (sy_call_t *)uuidgen }, /* 392 = uuidgen */
};

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD
* created from FreeBSD: src/sys/ia64/ia32/syscalls.master,v 1.2 2002/07/20 02:56:10 peter Exp
*/
#define IA32_SYS_syscall 0
@ -11,10 +11,10 @@
#define IA32_SYS_fork 2
#define IA32_SYS_read 3
#define IA32_SYS_write 4
#define IA32_SYS_open 5
#define IA32_SYS_ia32_open 5
#define IA32_SYS_close 6
#define IA32_SYS_wait4 7
/* 8 is old creat */
#define IA32_SYS_ia32_wait4 7
/* 8 is obsolete old creat */
#define IA32_SYS_link 9
#define IA32_SYS_unlink 10
/* 11 is obsolete execv */
@ -24,8 +24,8 @@
#define IA32_SYS_chmod 15
#define IA32_SYS_chown 16
#define IA32_SYS_break 17
#define IA32_SYS_getfsstat 18
/* 19 is old lseek */
#define IA32_SYS_ia32_getfsstat 18
/* 19 is obsolete olseek */
#define IA32_SYS_getpid 20
#define IA32_SYS_mount 21
#define IA32_SYS_unmount 22
@ -33,51 +33,46 @@
#define IA32_SYS_getuid 24
#define IA32_SYS_geteuid 25
#define IA32_SYS_ptrace 26
#define IA32_SYS_recvmsg 27
#define IA32_SYS_sendmsg 28
#define IA32_SYS_recvfrom 29
#define IA32_SYS_accept 30
#define IA32_SYS_getpeername 31
#define IA32_SYS_getsockname 32
#define IA32_SYS_access 33
#define IA32_SYS_chflags 34
#define IA32_SYS_ia32_access 33
#define IA32_SYS_ia32_chflags 34
#define IA32_SYS_fchflags 35
#define IA32_SYS_sync 36
#define IA32_SYS_kill 37
/* 38 is old stat */
#define IA32_SYS_getppid 39
/* 40 is old lstat */
#define IA32_SYS_dup 41
#define IA32_SYS_pipe 42
#define IA32_SYS_getegid 43
#define IA32_SYS_profil 44
#define IA32_SYS_ktrace 45
/* 46 is old sigaction */
#define IA32_SYS_getgid 47
/* 48 is old sigprocmask */
#define IA32_SYS_getlogin 49
#define IA32_SYS_setlogin 50
#define IA32_SYS_acct 51
/* 52 is old sigpending */
#define IA32_SYS_sigaltstack 53
#define IA32_SYS_sigpending 52
#define IA32_SYS_ia32_sigaltstack 53
#define IA32_SYS_ioctl 54
#define IA32_SYS_reboot 55
#define IA32_SYS_revoke 56
#define IA32_SYS_symlink 57
#define IA32_SYS_readlink 58
#define IA32_SYS_execve 59
#define IA32_SYS_ia32_execve 59
#define IA32_SYS_umask 60
#define IA32_SYS_chroot 61
/* 62 is old fstat */
/* 63 is old getkerninfo */
/* 64 is old getpagesize */
#define IA32_SYS_msync 65
#define IA32_SYS_vfork 66
/* 62 is obsolete ofstat */
/* 63 is obsolete ogetkerninfo */
/* 64 is obsolete ogetpagesize */
/* 65 is obsolete omsync */
/* 66 is obsolete ovfork */
/* 67 is obsolete vread */
/* 68 is obsolete vwrite */
#define IA32_SYS_sbrk 69
#define IA32_SYS_sstk 70
/* 71 is old mmap */
/* 71 is obsolete ommap */
#define IA32_SYS_vadvise 72
#define IA32_SYS_munmap 73
#define IA32_SYS_mprotect 74
@ -89,51 +84,51 @@
#define IA32_SYS_setgroups 80
#define IA32_SYS_getpgrp 81
#define IA32_SYS_setpgid 82
#define IA32_SYS_setitimer 83
/* 84 is old wait */
#define IA32_SYS_swapon 85
#define IA32_SYS_getitimer 86
/* 87 is old gethostname */
/* 88 is old sethostname */
#define IA32_SYS_ia32_setitimer 83
/* 84 is obsolete owait */
/* 85 is obsolete oswapon */
/* 86 is obsolete ogetitimer */
/* 87 is obsolete ogethostname */
/* 88 is obsolete osethostname */
#define IA32_SYS_getdtablesize 89
#define IA32_SYS_dup2 90
#define IA32_SYS_fcntl 92
#define IA32_SYS_select 93
#define IA32_SYS_ia32_select 93
#define IA32_SYS_fsync 95
#define IA32_SYS_setpriority 96
#define IA32_SYS_socket 97
#define IA32_SYS_connect 98
/* 99 is old accept */
#define IA32_SYS_accept 99
#define IA32_SYS_getpriority 100
/* 101 is old send */
/* 102 is old recv */
#define IA32_SYS_osigreturn 103
/* 101 is obsolete osend */
/* 102 is obsolete orecv */
/* 103 is obsolete osigreturn */
#define IA32_SYS_bind 104
#define IA32_SYS_setsockopt 105
#define IA32_SYS_listen 106
/* 107 is obsolete vtimes */
/* 108 is old sigvec */
/* 109 is old sigblock */
/* 110 is old sigsetmask */
/* 111 is old sigsuspend */
/* 112 is old sigstack */
/* 113 is old recvmsg */
/* 114 is old sendmsg */
/* 108 is obsolete osigvec */
/* 109 is obsolete osigblock */
/* 110 is obsolete osigsetmask */
/* 111 is obsolete osigsuspend */
/* 112 is obsolete osigstack */
/* 113 is obsolete orecvmsg */
/* 114 is obsolete osendmsg */
/* 115 is obsolete vtrace */
#define IA32_SYS_gettimeofday 116
#define IA32_SYS_getrusage 117
#define IA32_SYS_ia32_gettimeofday 116
#define IA32_SYS_ia32_getrusage 117
#define IA32_SYS_getsockopt 118
#define IA32_SYS_readv 120
#define IA32_SYS_writev 121
#define IA32_SYS_settimeofday 122
#define IA32_SYS_ia32_readv 120
#define IA32_SYS_ia32_writev 121
#define IA32_SYS_ia32_settimeofday 122
#define IA32_SYS_fchown 123
#define IA32_SYS_fchmod 124
/* 125 is old recvfrom */
#define IA32_SYS_recvfrom 125
#define IA32_SYS_setreuid 126
#define IA32_SYS_setregid 127
#define IA32_SYS_rename 128
/* 129 is old truncate */
/* 130 is old ftruncate */
/* 129 is obsolete otruncate */
/* 130 is obsolete ftruncate */
#define IA32_SYS_flock 131
#define IA32_SYS_mkfifo 132
#define IA32_SYS_sendto 133
@ -141,52 +136,51 @@
#define IA32_SYS_socketpair 135
#define IA32_SYS_mkdir 136
#define IA32_SYS_rmdir 137
#define IA32_SYS_utimes 138
#define IA32_SYS_ia32_utimes 138
/* 139 is obsolete 4.2 sigreturn */
#define IA32_SYS_adjtime 140
/* 141 is old getpeername */
/* 142 is old gethostid */
/* 143 is old sethostid */
/* 144 is old getrlimit */
/* 145 is old setrlimit */
/* 146 is old killpg */
#define IA32_SYS_ia32_adjtime 140
/* 141 is obsolete ogetpeername */
/* 142 is obsolete ogethostid */
/* 143 is obsolete sethostid */
/* 144 is obsolete getrlimit */
/* 145 is obsolete setrlimit */
/* 146 is obsolete killpg */
#define IA32_SYS_setsid 147
#define IA32_SYS_quotactl 148
/* 149 is old quota */
/* 150 is old getsockname */
#define IA32_SYS_nfssvc 155
/* 156 is old getdirentries */
#define IA32_SYS_statfs 157
#define IA32_SYS_fstatfs 158
/* 149 is obsolete oquota */
/* 150 is obsolete ogetsockname */
#define IA32_SYS_getdirentries 156
#define IA32_SYS_ia32_statfs 157
#define IA32_SYS_ia32_fstatfs 158
#define IA32_SYS_getfh 161
#define IA32_SYS_getdomainname 162
#define IA32_SYS_setdomainname 163
#define IA32_SYS_uname 164
#define IA32_SYS_sysarch 165
#define IA32_SYS_rtprio 166
#define IA32_SYS_semsys 169
#define IA32_SYS_msgsys 170
#define IA32_SYS_shmsys 171
#define IA32_SYS_pread 173
#define IA32_SYS_pwrite 174
#define IA32_SYS_ia32_semsys 169
#define IA32_SYS_ia32_msgsys 170
#define IA32_SYS_ia32_shmsys 171
#define IA32_SYS_ia32_pread 173
#define IA32_SYS_ia32_pwrite 174
#define IA32_SYS_ntp_adjtime 176
#define IA32_SYS_setgid 181
#define IA32_SYS_setegid 182
#define IA32_SYS_seteuid 183
#define IA32_SYS_stat 188
#define IA32_SYS_fstat 189
#define IA32_SYS_lstat 190
#define IA32_SYS_ia32_stat 188
#define IA32_SYS_ia32_fstat 189
#define IA32_SYS_ia32_lstat 190
#define IA32_SYS_pathconf 191
#define IA32_SYS_fpathconf 192
#define IA32_SYS_getrlimit 194
#define IA32_SYS_setrlimit 195
#define IA32_SYS_getdirentries 196
#define IA32_SYS_mmap 197
#define IA32_SYS_ia32_mmap 197
#define IA32_SYS___syscall 198
#define IA32_SYS_lseek 199
#define IA32_SYS_truncate 200
#define IA32_SYS_ftruncate 201
#define IA32_SYS___sysctl 202
#define IA32_SYS_ia32_lseek 199
#define IA32_SYS_ia32_truncate 200
#define IA32_SYS_ia32_ftruncate 201
#define IA32_SYS_ia32_sysctl 202
#define IA32_SYS_mlock 203
#define IA32_SYS_munlock 204
#define IA32_SYS_undelete 205
@ -238,13 +232,6 @@
#define IA32_SYS_setresuid 311
#define IA32_SYS_setresgid 312
/* 313 is obsolete signanosleep */
#define IA32_SYS_aio_return 314
#define IA32_SYS_aio_suspend 315
#define IA32_SYS_aio_cancel 316
#define IA32_SYS_aio_error 317
#define IA32_SYS_aio_read 318
#define IA32_SYS_aio_write 319
#define IA32_SYS_lio_listio 320
#define IA32_SYS_yield 321
/* 322 is obsolete thr_sleep */
/* 323 is obsolete thr_wakeup */
@ -260,12 +247,12 @@
#define IA32_SYS_sched_get_priority_min 333
#define IA32_SYS_sched_rr_get_interval 334
#define IA32_SYS_utrace 335
#define IA32_SYS_sendfile 336
#define IA32_SYS_ia32_sendfile 336
#define IA32_SYS_kldsym 337
#define IA32_SYS_jail 338
#define IA32_SYS_sigprocmask 340
#define IA32_SYS_sigsuspend 341
#define IA32_SYS_sigaction 342
#define IA32_SYS_ia32_sigaction 342
#define IA32_SYS_sigpending 343
#define IA32_SYS_sigreturn 344
#define IA32_SYS___acl_get_file 347
@ -280,22 +267,14 @@
#define IA32_SYS_extattr_set_file 356
#define IA32_SYS_extattr_get_file 357
#define IA32_SYS_extattr_delete_file 358
#define IA32_SYS_aio_waitcomplete 359
#define IA32_SYS_getresuid 360
#define IA32_SYS_getresgid 361
#define IA32_SYS_kqueue 362
#define IA32_SYS_kevent 363
#define IA32_SYS___cap_get_proc 364
#define IA32_SYS___cap_set_proc 365
#define IA32_SYS___cap_get_fd 366
#define IA32_SYS___cap_get_file 367
#define IA32_SYS___cap_set_fd 368
#define IA32_SYS___cap_set_file 369
#define IA32_SYS_extattr_set_fd 371
#define IA32_SYS_extattr_get_fd 372
#define IA32_SYS_extattr_delete_fd 373
#define IA32_SYS___setugid 374
#define IA32_SYS_nfsclnt 375
#define IA32_SYS_eaccess 376
#define IA32_SYS_nmount 378
#define IA32_SYS_kse_exit 379
@ -303,4 +282,7 @@
#define IA32_SYS_kse_new 381
#define IA32_SYS_thread_wakeup 382
#define IA32_SYS_kse_yield 383
#define IA32_SYS_MAXSYSCALL 390
#define IA32_SYS_kenv 390
#define IA32_SYS_lchflags 391
#define IA32_SYS_uuidgen 392
#define IA32_SYS_MAXSYSCALL 393

View File

@ -3,34 +3,29 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD
* created from FreeBSD: src/sys/ia64/ia32/syscalls.master,v 1.2 2002/07/20 02:56:10 peter Exp
*/
#include "opt_compat.h"
#include <sys/param.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <sys/mount.h>
#include <ia64/ia32/ia32.h>
#include <ia64/ia32/ia32_proto.h>
#define AS(name) (sizeof(struct name) / sizeof(register_t))
#ifdef COMPAT_43
#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)
#else
#define compat(n, name) 0, (sy_call_t *)nosys
#endif
/* The casts are bogus but will do for now. */
struct sysent ia32_sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 0 = syscall */
{ SYF_MPSAFE | 0, (sy_call_t *)nosys }, /* 0 = syscall */
{ SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */
{ SYF_MPSAFE | 0, (sy_call_t *)fork }, /* 2 = fork */
{ SYF_MPSAFE | AS(read_args), (sy_call_t *)read }, /* 3 = read */
{ SYF_MPSAFE | AS(write_args), (sy_call_t *)write }, /* 4 = write */
{ AS(open_args), (sy_call_t *)open }, /* 5 = open */
{ AS(ia32_open_args), (sy_call_t *)ia32_open }, /* 5 = ia32_open */
{ SYF_MPSAFE | AS(close_args), (sy_call_t *)close }, /* 6 = close */
{ SYF_MPSAFE | AS(wait_args), (sy_call_t *)wait4 }, /* 7 = wait4 */
{ compat(AS(ocreat_args),creat) }, /* 8 = old creat */
{ SYF_MPSAFE | AS(ia32_wait4_args), (sy_call_t *)ia32_wait4 }, /* 7 = ia32_wait4 */
{ 0, (sy_call_t *)nosys }, /* 8 = obsolete old creat */
{ AS(link_args), (sy_call_t *)link }, /* 9 = link */
{ AS(unlink_args), (sy_call_t *)unlink }, /* 10 = unlink */
{ 0, (sy_call_t *)nosys }, /* 11 = obsolete execv */
@ -40,8 +35,8 @@ struct sysent ia32_sysent[] = {
{ AS(chmod_args), (sy_call_t *)chmod }, /* 15 = chmod */
{ AS(chown_args), (sy_call_t *)chown }, /* 16 = chown */
{ SYF_MPSAFE | AS(obreak_args), (sy_call_t *)obreak }, /* 17 = break */
{ AS(getfsstat_args), (sy_call_t *)getfsstat }, /* 18 = getfsstat */
{ compat(AS(olseek_args),lseek) }, /* 19 = old lseek */
{ AS(ia32_getfsstat_args), (sy_call_t *)ia32_getfsstat }, /* 18 = ia32_getfsstat */
{ 0, (sy_call_t *)nosys }, /* 19 = obsolete olseek */
{ SYF_MPSAFE | 0, (sy_call_t *)getpid }, /* 20 = getpid */
{ AS(mount_args), (sy_call_t *)mount }, /* 21 = mount */
{ AS(unmount_args), (sy_call_t *)unmount }, /* 22 = unmount */
@ -49,51 +44,51 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | 0, (sy_call_t *)getuid }, /* 24 = getuid */
{ SYF_MPSAFE | 0, (sy_call_t *)geteuid }, /* 25 = geteuid */
{ AS(ptrace_args), (sy_call_t *)ptrace }, /* 26 = ptrace */
{ SYF_MPSAFE | AS(recvmsg_args), (sy_call_t *)recvmsg }, /* 27 = recvmsg */
{ 0, (sy_call_t *)nosys }, /* 27 = recvmsg */
{ SYF_MPSAFE | AS(sendmsg_args), (sy_call_t *)sendmsg }, /* 28 = sendmsg */
{ SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 29 = recvfrom */
{ SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept }, /* 30 = accept */
{ SYF_MPSAFE | AS(getpeername_args), (sy_call_t *)getpeername }, /* 31 = getpeername */
{ SYF_MPSAFE | AS(getsockname_args), (sy_call_t *)getsockname }, /* 32 = getsockname */
{ AS(access_args), (sy_call_t *)access }, /* 33 = access */
{ AS(chflags_args), (sy_call_t *)chflags }, /* 34 = chflags */
{ AS(ia32_access_args), (sy_call_t *)ia32_access }, /* 33 = ia32_access */
{ AS(ia32_chflags_args), (sy_call_t *)ia32_chflags }, /* 34 = ia32_chflags */
{ AS(fchflags_args), (sy_call_t *)fchflags }, /* 35 = fchflags */
{ 0, (sy_call_t *)sync }, /* 36 = sync */
{ SYF_MPSAFE | AS(kill_args), (sy_call_t *)kill }, /* 37 = kill */
{ compat(AS(ostat_args),stat) }, /* 38 = old stat */
{ 0, (sy_call_t *)nosys }, /* 38 = ostat */
{ SYF_MPSAFE | 0, (sy_call_t *)getppid }, /* 39 = getppid */
{ compat(AS(olstat_args),lstat) }, /* 40 = old lstat */
{ 0, (sy_call_t *)nosys }, /* 40 = olstat */
{ AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */
{ 0, (sy_call_t *)pipe }, /* 42 = pipe */
{ SYF_MPSAFE | 0, (sy_call_t *)getegid }, /* 43 = getegid */
{ SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil }, /* 44 = profil */
{ AS(ktrace_args), (sy_call_t *)ktrace }, /* 45 = ktrace */
{ compat(SYF_MPSAFE | AS(osigaction_args),sigaction) }, /* 46 = old sigaction */
{ 0, (sy_call_t *)nosys }, /* 46 = osigaction */
{ SYF_MPSAFE | 0, (sy_call_t *)getgid }, /* 47 = getgid */
{ compat(SYF_MPSAFE | AS(osigprocmask_args),sigprocmask) }, /* 48 = old sigprocmask */
{ 0, (sy_call_t *)nosys }, /* 48 = osigprocmask */
{ SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin }, /* 49 = getlogin */
{ SYF_MPSAFE | AS(setlogin_args), (sy_call_t *)setlogin }, /* 50 = setlogin */
{ SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */
{ compat(SYF_MPSAFE | 0,sigpending) }, /* 52 = old sigpending */
{ SYF_MPSAFE | AS(sigaltstack_args), (sy_call_t *)sigaltstack }, /* 53 = sigaltstack */
{ SYF_MPSAFE | 0, (sy_call_t *)sigpending }, /* 52 = sigpending */
{ AS(ia32_sigaltstack_args), (sy_call_t *)ia32_sigaltstack }, /* 53 = ia32_sigaltstack */
{ SYF_MPSAFE | AS(ioctl_args), (sy_call_t *)ioctl }, /* 54 = ioctl */
{ SYF_MPSAFE | AS(reboot_args), (sy_call_t *)reboot }, /* 55 = reboot */
{ AS(revoke_args), (sy_call_t *)revoke }, /* 56 = revoke */
{ AS(symlink_args), (sy_call_t *)symlink }, /* 57 = symlink */
{ AS(readlink_args), (sy_call_t *)readlink }, /* 58 = readlink */
{ SYF_MPSAFE | AS(execve_args), (sy_call_t *)execve }, /* 59 = execve */
{ AS(ia32_execve_args), (sy_call_t *)ia32_execve }, /* 59 = ia32_execve */
{ SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */
{ AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */
{ compat(SYF_MPSAFE | AS(ofstat_args),fstat) }, /* 62 = old fstat */
{ compat(SYF_MPSAFE | AS(getkerninfo_args),getkerninfo) }, /* 63 = old getkerninfo */
{ compat(SYF_MPSAFE | 0,getpagesize) }, /* 64 = old getpagesize */
{ AS(msync_args), (sy_call_t *)msync }, /* 65 = msync */
{ SYF_MPSAFE | 0, (sy_call_t *)vfork }, /* 66 = vfork */
{ 0, (sy_call_t *)nosys }, /* 62 = obsolete ofstat */
{ 0, (sy_call_t *)nosys }, /* 63 = obsolete ogetkerninfo */
{ 0, (sy_call_t *)nosys }, /* 64 = obsolete ogetpagesize */
{ 0, (sy_call_t *)nosys }, /* 65 = obsolete omsync */
{ 0, (sy_call_t *)nosys }, /* 66 = obsolete ovfork */
{ 0, (sy_call_t *)nosys }, /* 67 = obsolete vread */
{ 0, (sy_call_t *)nosys }, /* 68 = obsolete vwrite */
{ SYF_MPSAFE | AS(sbrk_args), (sy_call_t *)sbrk }, /* 69 = sbrk */
{ SYF_MPSAFE | AS(sstk_args), (sy_call_t *)sstk }, /* 70 = sstk */
{ compat(SYF_MPSAFE | AS(ommap_args),mmap) }, /* 71 = old mmap */
{ 0, (sy_call_t *)nosys }, /* 71 = obsolete ommap */
{ SYF_MPSAFE | AS(ovadvise_args), (sy_call_t *)ovadvise }, /* 72 = vadvise */
{ SYF_MPSAFE | AS(munmap_args), (sy_call_t *)munmap }, /* 73 = munmap */
{ SYF_MPSAFE | AS(mprotect_args), (sy_call_t *)mprotect }, /* 74 = mprotect */
@ -105,54 +100,54 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups }, /* 80 = setgroups */
{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp }, /* 81 = getpgrp */
{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid }, /* 82 = setpgid */
{ SYF_MPSAFE | AS(setitimer_args), (sy_call_t *)setitimer }, /* 83 = setitimer */
{ compat(SYF_MPSAFE | 0,wait) }, /* 84 = old wait */
{ SYF_MPSAFE | AS(swapon_args), (sy_call_t *)swapon }, /* 85 = swapon */
{ SYF_MPSAFE | AS(getitimer_args), (sy_call_t *)getitimer }, /* 86 = getitimer */
{ compat(SYF_MPSAFE | AS(gethostname_args),gethostname) }, /* 87 = old gethostname */
{ compat(SYF_MPSAFE | AS(sethostname_args),sethostname) }, /* 88 = old sethostname */
{ AS(ia32_setitimer_args), (sy_call_t *)ia32_setitimer }, /* 83 = ia32_setitimer */
{ 0, (sy_call_t *)nosys }, /* 84 = obsolete owait */
{ 0, (sy_call_t *)nosys }, /* 85 = obsolete oswapon */
{ 0, (sy_call_t *)nosys }, /* 86 = obsolete ogetitimer */
{ 0, (sy_call_t *)nosys }, /* 87 = obsolete ogethostname */
{ 0, (sy_call_t *)nosys }, /* 88 = obsolete osethostname */
{ SYF_MPSAFE | 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */
{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2 }, /* 90 = dup2 */
{ 0, (sy_call_t *)nosys }, /* 91 = getdopt */
{ SYF_MPSAFE | AS(fcntl_args), (sy_call_t *)fcntl }, /* 92 = fcntl */
{ SYF_MPSAFE | AS(select_args), (sy_call_t *)select }, /* 93 = select */
{ AS(ia32_select_args), (sy_call_t *)ia32_select }, /* 93 = ia32_select */
{ 0, (sy_call_t *)nosys }, /* 94 = setdopt */
{ AS(fsync_args), (sy_call_t *)fsync }, /* 95 = fsync */
{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority }, /* 96 = setpriority */
{ SYF_MPSAFE | AS(socket_args), (sy_call_t *)socket }, /* 97 = socket */
{ SYF_MPSAFE | AS(connect_args), (sy_call_t *)connect }, /* 98 = connect */
{ compat(SYF_MPSAFE | AS(accept_args),accept) }, /* 99 = old accept */
{ SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept }, /* 99 = accept */
{ SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority }, /* 100 = getpriority */
{ compat(SYF_MPSAFE | AS(osend_args),send) }, /* 101 = old send */
{ compat(SYF_MPSAFE | AS(orecv_args),recv) }, /* 102 = old recv */
{ AS(osigreturn_args), (sy_call_t *)osigreturn }, /* 103 = osigreturn */
{ 0, (sy_call_t *)nosys }, /* 101 = obsolete osend */
{ 0, (sy_call_t *)nosys }, /* 102 = obsolete orecv */
{ 0, (sy_call_t *)nosys }, /* 103 = obsolete osigreturn */
{ SYF_MPSAFE | AS(bind_args), (sy_call_t *)bind }, /* 104 = bind */
{ SYF_MPSAFE | AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 105 = setsockopt */
{ SYF_MPSAFE | AS(listen_args), (sy_call_t *)listen }, /* 106 = listen */
{ 0, (sy_call_t *)nosys }, /* 107 = obsolete vtimes */
{ compat(SYF_MPSAFE | AS(osigvec_args),sigvec) }, /* 108 = old sigvec */
{ compat(SYF_MPSAFE | AS(osigblock_args),sigblock) }, /* 109 = old sigblock */
{ compat(SYF_MPSAFE | AS(osigsetmask_args),sigsetmask) }, /* 110 = old sigsetmask */
{ compat(SYF_MPSAFE | AS(osigsuspend_args),sigsuspend) }, /* 111 = old sigsuspend */
{ compat(SYF_MPSAFE | AS(osigstack_args),sigstack) }, /* 112 = old sigstack */
{ compat(SYF_MPSAFE | AS(orecvmsg_args),recvmsg) }, /* 113 = old recvmsg */
{ compat(SYF_MPSAFE | AS(osendmsg_args),sendmsg) }, /* 114 = old sendmsg */
{ 0, (sy_call_t *)nosys }, /* 108 = obsolete osigvec */
{ 0, (sy_call_t *)nosys }, /* 109 = obsolete osigblock */
{ 0, (sy_call_t *)nosys }, /* 110 = obsolete osigsetmask */
{ 0, (sy_call_t *)nosys }, /* 111 = obsolete osigsuspend */
{ 0, (sy_call_t *)nosys }, /* 112 = obsolete osigstack */
{ 0, (sy_call_t *)nosys }, /* 113 = obsolete orecvmsg */
{ 0, (sy_call_t *)nosys }, /* 114 = obsolete osendmsg */
{ 0, (sy_call_t *)nosys }, /* 115 = obsolete vtrace */
{ SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */
{ SYF_MPSAFE | AS(getrusage_args), (sy_call_t *)getrusage }, /* 117 = getrusage */
{ AS(ia32_gettimeofday_args), (sy_call_t *)ia32_gettimeofday }, /* 116 = ia32_gettimeofday */
{ AS(ia32_getrusage_args), (sy_call_t *)ia32_getrusage }, /* 117 = ia32_getrusage */
{ SYF_MPSAFE | AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 118 = getsockopt */
{ 0, (sy_call_t *)nosys }, /* 119 = resuba */
{ SYF_MPSAFE | AS(readv_args), (sy_call_t *)readv }, /* 120 = readv */
{ SYF_MPSAFE | AS(writev_args), (sy_call_t *)writev }, /* 121 = writev */
{ SYF_MPSAFE | AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 122 = settimeofday */
{ AS(ia32_readv_args), (sy_call_t *)ia32_readv }, /* 120 = ia32_readv */
{ AS(ia32_writev_args), (sy_call_t *)ia32_writev }, /* 121 = ia32_writev */
{ AS(ia32_settimeofday_args), (sy_call_t *)ia32_settimeofday }, /* 122 = ia32_settimeofday */
{ AS(fchown_args), (sy_call_t *)fchown }, /* 123 = fchown */
{ AS(fchmod_args), (sy_call_t *)fchmod }, /* 124 = fchmod */
{ compat(SYF_MPSAFE | AS(recvfrom_args),recvfrom) }, /* 125 = old recvfrom */
{ SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 125 = recvfrom */
{ SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid }, /* 126 = setreuid */
{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid }, /* 127 = setregid */
{ AS(rename_args), (sy_call_t *)rename }, /* 128 = rename */
{ compat(AS(otruncate_args),truncate) }, /* 129 = old truncate */
{ compat(AS(oftruncate_args),ftruncate) }, /* 130 = old ftruncate */
{ 0, (sy_call_t *)nosys }, /* 129 = obsolete otruncate */
{ 0, (sy_call_t *)nosys }, /* 130 = obsolete ftruncate */
{ SYF_MPSAFE | AS(flock_args), (sy_call_t *)flock }, /* 131 = flock */
{ AS(mkfifo_args), (sy_call_t *)mkfifo }, /* 132 = mkfifo */
{ SYF_MPSAFE | AS(sendto_args), (sy_call_t *)sendto }, /* 133 = sendto */
@ -160,27 +155,27 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(socketpair_args), (sy_call_t *)socketpair }, /* 135 = socketpair */
{ AS(mkdir_args), (sy_call_t *)mkdir }, /* 136 = mkdir */
{ AS(rmdir_args), (sy_call_t *)rmdir }, /* 137 = rmdir */
{ AS(utimes_args), (sy_call_t *)utimes }, /* 138 = utimes */
{ AS(ia32_utimes_args), (sy_call_t *)ia32_utimes }, /* 138 = ia32_utimes */
{ 0, (sy_call_t *)nosys }, /* 139 = obsolete 4.2 sigreturn */
{ SYF_MPSAFE | AS(adjtime_args), (sy_call_t *)adjtime }, /* 140 = adjtime */
{ compat(SYF_MPSAFE | AS(ogetpeername_args),getpeername) }, /* 141 = old getpeername */
{ compat(SYF_MPSAFE | 0,gethostid) }, /* 142 = old gethostid */
{ compat(SYF_MPSAFE | AS(osethostid_args),sethostid) }, /* 143 = old sethostid */
{ compat(SYF_MPSAFE | AS(ogetrlimit_args),getrlimit) }, /* 144 = old getrlimit */
{ compat(SYF_MPSAFE | AS(osetrlimit_args),setrlimit) }, /* 145 = old setrlimit */
{ compat(SYF_MPSAFE | AS(okillpg_args),killpg) }, /* 146 = old killpg */
{ AS(ia32_adjtime_args), (sy_call_t *)ia32_adjtime }, /* 140 = ia32_adjtime */
{ 0, (sy_call_t *)nosys }, /* 141 = obsolete ogetpeername */
{ 0, (sy_call_t *)nosys }, /* 142 = obsolete ogethostid */
{ 0, (sy_call_t *)nosys }, /* 143 = obsolete sethostid */
{ 0, (sy_call_t *)nosys }, /* 144 = obsolete getrlimit */
{ 0, (sy_call_t *)nosys }, /* 145 = obsolete setrlimit */
{ 0, (sy_call_t *)nosys }, /* 146 = obsolete killpg */
{ SYF_MPSAFE | 0, (sy_call_t *)setsid }, /* 147 = setsid */
{ AS(quotactl_args), (sy_call_t *)quotactl }, /* 148 = quotactl */
{ compat(SYF_MPSAFE | 0,quota) }, /* 149 = old quota */
{ compat(SYF_MPSAFE | AS(getsockname_args),getsockname) }, /* 150 = old getsockname */
{ 0, (sy_call_t *)nosys }, /* 149 = obsolete oquota */
{ 0, (sy_call_t *)nosys }, /* 150 = obsolete ogetsockname */
{ 0, (sy_call_t *)nosys }, /* 151 = sem_lock */
{ 0, (sy_call_t *)nosys }, /* 152 = sem_wakeup */
{ 0, (sy_call_t *)nosys }, /* 153 = asyncdaemon */
{ 0, (sy_call_t *)nosys }, /* 154 = nosys */
{ SYF_MPSAFE | AS(nfssvc_args), (sy_call_t *)nosys }, /* 155 = nfssvc */
{ compat(AS(ogetdirentries_args),getdirentries) }, /* 156 = old getdirentries */
{ AS(statfs_args), (sy_call_t *)statfs }, /* 157 = statfs */
{ AS(fstatfs_args), (sy_call_t *)fstatfs }, /* 158 = fstatfs */
{ 0, (sy_call_t *)nosys }, /* 155 = nfssvc */
{ AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 156 = getdirentries */
{ AS(ia32_statfs_args), (sy_call_t *)ia32_statfs }, /* 157 = ia32_statfs */
{ AS(ia32_fstatfs_args), (sy_call_t *)ia32_fstatfs }, /* 158 = ia32_fstatfs */
{ 0, (sy_call_t *)nosys }, /* 159 = nosys */
{ 0, (sy_call_t *)nosys }, /* 160 = nosys */
{ AS(getfh_args), (sy_call_t *)getfh }, /* 161 = getfh */
@ -191,12 +186,12 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(rtprio_args), (sy_call_t *)rtprio }, /* 166 = rtprio */
{ 0, (sy_call_t *)nosys }, /* 167 = nosys */
{ 0, (sy_call_t *)nosys }, /* 168 = nosys */
{ SYF_MPSAFE | AS(semsys_args), (sy_call_t *)lkmressys }, /* 169 = semsys */
{ SYF_MPSAFE | AS(msgsys_args), (sy_call_t *)lkmressys }, /* 170 = msgsys */
{ SYF_MPSAFE | AS(shmsys_args), (sy_call_t *)lkmressys }, /* 171 = shmsys */
{ AS(ia32_semsys_args), (sy_call_t *)ia32_semsys }, /* 169 = ia32_semsys */
{ AS(ia32_msgsys_args), (sy_call_t *)ia32_msgsys }, /* 170 = ia32_msgsys */
{ AS(ia32_shmsys_args), (sy_call_t *)ia32_shmsys }, /* 171 = ia32_shmsys */
{ 0, (sy_call_t *)nosys }, /* 172 = nosys */
{ SYF_MPSAFE | AS(pread_args), (sy_call_t *)pread }, /* 173 = pread */
{ SYF_MPSAFE | AS(pwrite_args), (sy_call_t *)pwrite }, /* 174 = pwrite */
{ AS(ia32_pread_args), (sy_call_t *)ia32_pread }, /* 173 = ia32_pread */
{ AS(ia32_pwrite_args), (sy_call_t *)ia32_pwrite }, /* 174 = ia32_pwrite */
{ 0, (sy_call_t *)nosys }, /* 175 = nosys */
{ SYF_MPSAFE | AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */
{ 0, (sy_call_t *)nosys }, /* 177 = sfork */
@ -210,21 +205,21 @@ struct sysent ia32_sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 185 = lfs_markv */
{ 0, (sy_call_t *)nosys }, /* 186 = lfs_segclean */
{ 0, (sy_call_t *)nosys }, /* 187 = lfs_segwait */
{ AS(stat_args), (sy_call_t *)stat }, /* 188 = stat */
{ SYF_MPSAFE | AS(fstat_args), (sy_call_t *)fstat }, /* 189 = fstat */
{ AS(lstat_args), (sy_call_t *)lstat }, /* 190 = lstat */
{ AS(ia32_stat_args), (sy_call_t *)ia32_stat }, /* 188 = ia32_stat */
{ AS(ia32_fstat_args), (sy_call_t *)ia32_fstat }, /* 189 = ia32_fstat */
{ AS(ia32_lstat_args), (sy_call_t *)ia32_lstat }, /* 190 = ia32_lstat */
{ AS(pathconf_args), (sy_call_t *)pathconf }, /* 191 = pathconf */
{ SYF_MPSAFE | AS(fpathconf_args), (sy_call_t *)fpathconf }, /* 192 = fpathconf */
{ 0, (sy_call_t *)nosys }, /* 193 = nosys */
{ SYF_MPSAFE | AS(__getrlimit_args), (sy_call_t *)getrlimit }, /* 194 = getrlimit */
{ SYF_MPSAFE | AS(__setrlimit_args), (sy_call_t *)setrlimit }, /* 195 = setrlimit */
{ AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 196 = getdirentries */
{ SYF_MPSAFE | AS(mmap_args), (sy_call_t *)mmap }, /* 197 = mmap */
{ AS(ia32_mmap_args), (sy_call_t *)ia32_mmap }, /* 197 = ia32_mmap */
{ 0, (sy_call_t *)nosys }, /* 198 = __syscall */
{ AS(lseek_args), (sy_call_t *)lseek }, /* 199 = lseek */
{ AS(truncate_args), (sy_call_t *)truncate }, /* 200 = truncate */
{ AS(ftruncate_args), (sy_call_t *)ftruncate }, /* 201 = ftruncate */
{ SYF_MPSAFE | AS(sysctl_args), (sy_call_t *)__sysctl }, /* 202 = __sysctl */
{ AS(ia32_lseek_args), (sy_call_t *)ia32_lseek }, /* 199 = ia32_lseek */
{ AS(ia32_truncate_args), (sy_call_t *)ia32_truncate }, /* 200 = ia32_truncate */
{ AS(ia32_ftruncate_args), (sy_call_t *)ia32_ftruncate }, /* 201 = ia32_ftruncate */
{ SYF_MPSAFE | AS(ia32_sysctl_args), (sy_call_t *)ia32_sysctl }, /* 202 = ia32_sysctl */
{ SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock }, /* 203 = mlock */
{ SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock }, /* 204 = munlock */
{ AS(undelete_args), (sy_call_t *)undelete }, /* 205 = undelete */
@ -232,28 +227,28 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid }, /* 207 = getpgid */
{ 0, (sy_call_t *)nosys }, /* 208 = newreboot */
{ SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll }, /* 209 = poll */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 210 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 211 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 212 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 213 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 214 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 215 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 216 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 217 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 218 = lkmnosys */
{ AS(nosys_args), (sy_call_t *)lkmnosys }, /* 219 = lkmnosys */
{ SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)lkmressys }, /* 220 = __semctl */
{ SYF_MPSAFE | AS(semget_args), (sy_call_t *)lkmressys }, /* 221 = semget */
{ SYF_MPSAFE | AS(semop_args), (sy_call_t *)lkmressys }, /* 222 = semop */
{ 0, (sy_call_t *)nosys }, /* 210 = */
{ 0, (sy_call_t *)nosys }, /* 211 = */
{ 0, (sy_call_t *)nosys }, /* 212 = */
{ 0, (sy_call_t *)nosys }, /* 213 = */
{ 0, (sy_call_t *)nosys }, /* 214 = */
{ 0, (sy_call_t *)nosys }, /* 215 = */
{ 0, (sy_call_t *)nosys }, /* 216 = */
{ 0, (sy_call_t *)nosys }, /* 217 = */
{ 0, (sy_call_t *)nosys }, /* 218 = */
{ 0, (sy_call_t *)nosys }, /* 219 = */
{ SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)__semctl }, /* 220 = __semctl */
{ SYF_MPSAFE | AS(semget_args), (sy_call_t *)semget }, /* 221 = semget */
{ SYF_MPSAFE | AS(semop_args), (sy_call_t *)semop }, /* 222 = semop */
{ 0, (sy_call_t *)nosys }, /* 223 = semconfig */
{ SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)lkmressys }, /* 224 = msgctl */
{ SYF_MPSAFE | AS(msgget_args), (sy_call_t *)lkmressys }, /* 225 = msgget */
{ SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)lkmressys }, /* 226 = msgsnd */
{ SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)lkmressys }, /* 227 = msgrcv */
{ SYF_MPSAFE | AS(shmat_args), (sy_call_t *)lkmressys }, /* 228 = shmat */
{ SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)lkmressys }, /* 229 = shmctl */
{ SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)lkmressys }, /* 230 = shmdt */
{ SYF_MPSAFE | AS(shmget_args), (sy_call_t *)lkmressys }, /* 231 = shmget */
{ SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)msgctl }, /* 224 = msgctl */
{ SYF_MPSAFE | AS(msgget_args), (sy_call_t *)msgget }, /* 225 = msgget */
{ SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)msgsnd }, /* 226 = msgsnd */
{ SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)msgrcv }, /* 227 = msgrcv */
{ SYF_MPSAFE | AS(shmat_args), (sy_call_t *)shmat }, /* 228 = shmat */
{ SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)shmctl }, /* 229 = shmctl */
{ SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)shmdt }, /* 230 = shmdt */
{ SYF_MPSAFE | AS(shmget_args), (sy_call_t *)shmget }, /* 231 = shmget */
{ SYF_MPSAFE | AS(clock_gettime_args), (sy_call_t *)clock_gettime }, /* 232 = clock_gettime */
{ SYF_MPSAFE | AS(clock_settime_args), (sy_call_t *)clock_settime }, /* 233 = clock_settime */
{ SYF_MPSAFE | AS(clock_getres_args), (sy_call_t *)clock_getres }, /* 234 = clock_getres */
@ -336,13 +331,13 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid }, /* 311 = setresuid */
{ SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid }, /* 312 = setresgid */
{ 0, (sy_call_t *)nosys }, /* 313 = obsolete signanosleep */
{ AS(aio_return_args), (sy_call_t *)lkmressys }, /* 314 = aio_return */
{ AS(aio_suspend_args), (sy_call_t *)lkmressys }, /* 315 = aio_suspend */
{ AS(aio_cancel_args), (sy_call_t *)lkmressys }, /* 316 = aio_cancel */
{ AS(aio_error_args), (sy_call_t *)lkmressys }, /* 317 = aio_error */
{ AS(aio_read_args), (sy_call_t *)lkmressys }, /* 318 = aio_read */
{ AS(aio_write_args), (sy_call_t *)lkmressys }, /* 319 = aio_write */
{ AS(lio_listio_args), (sy_call_t *)lkmressys }, /* 320 = lio_listio */
{ 0, (sy_call_t *)nosys }, /* 314 = aio_return */
{ 0, (sy_call_t *)nosys }, /* 315 = aio_suspend */
{ 0, (sy_call_t *)nosys }, /* 316 = aio_cancel */
{ 0, (sy_call_t *)nosys }, /* 317 = aio_error */
{ 0, (sy_call_t *)nosys }, /* 318 = aio_read */
{ 0, (sy_call_t *)nosys }, /* 319 = aio_write */
{ 0, (sy_call_t *)nosys }, /* 320 = lio_listio */
{ SYF_MPSAFE | 0, (sy_call_t *)yield }, /* 321 = yield */
{ 0, (sy_call_t *)nosys }, /* 322 = obsolete thr_sleep */
{ 0, (sy_call_t *)nosys }, /* 323 = obsolete thr_wakeup */
@ -358,15 +353,15 @@ struct sysent ia32_sysent[] = {
{ SYF_MPSAFE | AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 333 = sched_get_priority_min */
{ SYF_MPSAFE | AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 334 = sched_rr_get_interval */
{ AS(utrace_args), (sy_call_t *)utrace }, /* 335 = utrace */
{ SYF_MPSAFE | AS(sendfile_args), (sy_call_t *)sendfile }, /* 336 = sendfile */
{ SYF_MPSAFE | AS(ia32_sendfile_args), (sy_call_t *)ia32_sendfile }, /* 336 = ia32_sendfile */
{ AS(kldsym_args), (sy_call_t *)kldsym }, /* 337 = kldsym */
{ SYF_MPSAFE | AS(jail_args), (sy_call_t *)jail }, /* 338 = jail */
{ 0, (sy_call_t *)nosys }, /* 339 = pioctl */
{ SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask }, /* 340 = sigprocmask */
{ SYF_MPSAFE | AS(sigsuspend_args), (sy_call_t *)sigsuspend }, /* 341 = sigsuspend */
{ SYF_MPSAFE | AS(sigaction_args), (sy_call_t *)sigaction }, /* 342 = sigaction */
{ AS(ia32_sigaction_args), (sy_call_t *)ia32_sigaction }, /* 342 = ia32_sigaction */
{ SYF_MPSAFE | AS(sigpending_args), (sy_call_t *)sigpending }, /* 343 = sigpending */
{ AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 344 = sigreturn */
{ SYF_MPSAFE | AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 344 = sigreturn */
{ 0, (sy_call_t *)nosys }, /* 345 = sigtimedwait */
{ 0, (sy_call_t *)nosys }, /* 346 = sigwaitinfo */
{ SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file }, /* 347 = __acl_get_file */
@ -381,23 +376,23 @@ struct sysent ia32_sysent[] = {
{ AS(extattr_set_file_args), (sy_call_t *)extattr_set_file }, /* 356 = extattr_set_file */
{ AS(extattr_get_file_args), (sy_call_t *)extattr_get_file }, /* 357 = extattr_get_file */
{ AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file }, /* 358 = extattr_delete_file */
{ AS(aio_waitcomplete_args), (sy_call_t *)lkmressys }, /* 359 = aio_waitcomplete */
{ 0, (sy_call_t *)nosys }, /* 359 = aio_waitcomplete */
{ SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid }, /* 360 = getresuid */
{ SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid }, /* 361 = getresgid */
{ SYF_MPSAFE | 0, (sy_call_t *)kqueue }, /* 362 = kqueue */
{ SYF_MPSAFE | AS(kevent_args), (sy_call_t *)kevent }, /* 363 = kevent */
{ AS(__cap_get_proc_args), (sy_call_t *)__cap_get_proc }, /* 364 = __cap_get_proc */
{ AS(__cap_set_proc_args), (sy_call_t *)__cap_set_proc }, /* 365 = __cap_set_proc */
{ AS(__cap_get_fd_args), (sy_call_t *)__cap_get_fd }, /* 366 = __cap_get_fd */
{ AS(__cap_get_file_args), (sy_call_t *)__cap_get_file }, /* 367 = __cap_get_file */
{ AS(__cap_set_fd_args), (sy_call_t *)__cap_set_fd }, /* 368 = __cap_set_fd */
{ AS(__cap_set_file_args), (sy_call_t *)__cap_set_file }, /* 369 = __cap_set_file */
{ AS(nosys_args), (sy_call_t *)lkmressys }, /* 370 = lkmressys */
{ 0, (sy_call_t *)nosys }, /* 364 = __cap_get_proc */
{ 0, (sy_call_t *)nosys }, /* 365 = __cap_set_proc */
{ 0, (sy_call_t *)nosys }, /* 366 = __cap_get_fd */
{ 0, (sy_call_t *)nosys }, /* 367 = __cap_get_file */
{ 0, (sy_call_t *)nosys }, /* 368 = __cap_set_fd */
{ 0, (sy_call_t *)nosys }, /* 369 = __cap_set_file */
{ 0, (sy_call_t *)nosys }, /* 370 = lkmressys */
{ AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd }, /* 371 = extattr_set_fd */
{ AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd }, /* 372 = extattr_get_fd */
{ AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd }, /* 373 = extattr_delete_fd */
{ SYF_MPSAFE | AS(__setugid_args), (sy_call_t *)__setugid }, /* 374 = __setugid */
{ AS(nfsclnt_args), (sy_call_t *)nosys }, /* 375 = nfsclnt */
{ 0, (sy_call_t *)nosys }, /* 375 = nfsclnt */
{ AS(eaccess_args), (sy_call_t *)eaccess }, /* 376 = eaccess */
{ 0, (sy_call_t *)nosys }, /* 377 = afs_syscall */
{ AS(nmount_args), (sy_call_t *)nmount }, /* 378 = nmount */
@ -412,4 +407,7 @@ struct sysent ia32_sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 387 = __mac_get_file */
{ 0, (sy_call_t *)nosys }, /* 388 = __mac_set_fd */
{ 0, (sy_call_t *)nosys }, /* 389 = __mac_set_file */
{ AS(kenv_args), (sy_call_t *)kenv }, /* 390 = kenv */
{ AS(lchflags_args), (sy_call_t *)lchflags }, /* 391 = lchflags */
{ AS(uuidgen_args), (sy_call_t *)uuidgen }, /* 392 = uuidgen */
};