NetBSD/sys/compat/svr4/svr4_sysent.c

550 lines
19 KiB
C
Raw Normal View History

1998-02-19 06:34:15 +03:00
/* $NetBSD: svr4_sysent.c,v 1.47 1998/02/19 03:34:20 thorpej Exp $ */
1998-01-09 09:19:02 +03:00
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
1998-02-19 03:45:36 +03:00
* created from NetBSD: syscalls.master,v 1.31 1998/02/19 00:45:12 thorpej Exp
*/
#include <sys/param.h>
#include <sys/systm.h>
1994-10-24 20:37:34 +03:00
#include <sys/signal.h>
#include <sys/mount.h>
1996-09-07 17:01:41 +04:00
#include <sys/poll.h>
1994-10-24 20:37:34 +03:00
#include <sys/syscallargs.h>
1995-08-14 05:29:05 +04:00
#include <compat/svr4/svr4_types.h>
1995-12-19 10:12:53 +03:00
#include <compat/svr4/svr4_time.h>
1995-08-14 05:29:05 +04:00
#include <compat/svr4/svr4_signal.h>
#include <compat/svr4/svr4_ucontext.h>
1994-10-24 20:37:34 +03:00
#include <compat/svr4/svr4_syscallargs.h>
1995-08-14 05:29:05 +04:00
#include <compat/svr4/svr4_statvfs.h>
1996-12-06 06:26:33 +03:00
#include <compat/svr4/svr4_acl.h>
1995-10-07 09:51:37 +03:00
#ifdef COMPAT_43
#define compat_43(func) __CONCAT(compat_43_,func)
#else
1995-10-15 09:13:56 +03:00
#define compat_43(func) sys_nosys
1995-10-07 09:51:37 +03:00
#endif
1994-10-24 20:37:34 +03:00
#define s(type) sizeof(type)
struct sysent svr4_sysent[] = {
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-07 09:51:37 +03:00
sys_nosys }, /* 0 = syscall */
{ 1, s(struct sys_exit_args),
1995-10-15 09:13:56 +03:00
sys_exit }, /* 1 = exit */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_fork }, /* 2 = fork */
1995-10-07 09:51:37 +03:00
{ 3, s(struct sys_read_args),
1995-10-15 09:13:56 +03:00
sys_read }, /* 3 = read */
1995-10-07 09:51:37 +03:00
{ 3, s(struct sys_write_args),
1995-10-15 09:13:56 +03:00
sys_write }, /* 4 = write */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_open_args),
1995-10-15 09:13:56 +03:00
svr4_sys_open }, /* 5 = open */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_close_args),
1995-10-15 09:13:56 +03:00
sys_close }, /* 6 = close */
1995-10-07 09:51:37 +03:00
{ 1, s(struct svr4_sys_wait_args),
1995-10-15 09:13:56 +03:00
svr4_sys_wait }, /* 7 = wait */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_creat_args),
1995-10-15 09:13:56 +03:00
svr4_sys_creat }, /* 8 = creat */
1995-10-07 09:51:37 +03:00
{ 2, s(struct sys_link_args),
1995-10-15 09:13:56 +03:00
sys_link }, /* 9 = link */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_unlink_args),
1995-10-15 09:13:56 +03:00
sys_unlink }, /* 10 = unlink */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_execv_args),
1995-10-15 09:13:56 +03:00
svr4_sys_execv }, /* 11 = execv */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_chdir_args),
1995-10-15 09:13:56 +03:00
sys_chdir }, /* 12 = chdir */
1995-10-07 09:51:37 +03:00
{ 1, s(struct svr4_sys_time_args),
1995-10-15 09:13:56 +03:00
svr4_sys_time }, /* 13 = time */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_mknod_args),
1995-10-15 09:13:56 +03:00
svr4_sys_mknod }, /* 14 = mknod */
1995-10-07 09:51:37 +03:00
{ 2, s(struct sys_chmod_args),
1995-10-15 09:13:56 +03:00
sys_chmod }, /* 15 = chmod */
{ 3, s(struct sys___posix_chown_args),
sys___posix_chown }, /* 16 = __posix_chown */
1995-10-07 09:51:37 +03:00
{ 1, s(struct svr4_sys_break_args),
1995-10-15 09:13:56 +03:00
svr4_sys_break }, /* 17 = break */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_stat_args),
1995-10-15 09:13:56 +03:00
svr4_sys_stat }, /* 18 = stat */
1995-10-07 09:51:37 +03:00
{ 3, s(struct compat_43_sys_lseek_args),
1995-10-15 09:13:56 +03:00
compat_43_sys_lseek }, /* 19 = lseek */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_getpid }, /* 20 = getpid */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 21 = unimplemented old_mount */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 22 = unimplemented System V umount */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_setuid_args),
1995-10-15 09:13:56 +03:00
sys_setuid }, /* 23 = setuid */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_getuid }, /* 24 = getuid */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 25 = unimplemented stime */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 26 = unimplemented ptrace */
1995-10-07 09:51:37 +03:00
{ 1, s(struct svr4_sys_alarm_args),
1995-10-15 09:13:56 +03:00
svr4_sys_alarm }, /* 27 = alarm */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_fstat_args),
1995-10-15 09:13:56 +03:00
svr4_sys_fstat }, /* 28 = fstat */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1996-12-06 06:26:33 +03:00
svr4_sys_pause }, /* 29 = pause */
1995-12-19 10:12:53 +03:00
{ 2, s(struct svr4_sys_utime_args),
svr4_sys_utime }, /* 30 = utime */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 31 = unimplemented was stty */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 32 = unimplemented was gtty */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_access_args),
1995-10-15 09:13:56 +03:00
svr4_sys_access }, /* 33 = access */
1997-03-15 03:06:47 +03:00
{ 1, s(struct svr4_sys_nice_args),
svr4_sys_nice }, /* 34 = nice */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 35 = unimplemented statfs */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_sync }, /* 36 = sync */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_kill_args),
1995-10-15 09:13:56 +03:00
svr4_sys_kill }, /* 37 = kill */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 38 = unimplemented fstatfs */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_pgrpsys_args),
1995-10-15 09:13:56 +03:00
svr4_sys_pgrpsys }, /* 39 = pgrpsys */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 40 = unimplemented xenix */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_dup_args),
1995-10-15 09:13:56 +03:00
sys_dup }, /* 41 = dup */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_pipe }, /* 42 = pipe */
1995-10-07 09:51:37 +03:00
{ 1, s(struct svr4_sys_times_args),
1995-10-15 09:13:56 +03:00
svr4_sys_times }, /* 43 = times */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 44 = unimplemented profil */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 45 = unimplemented plock */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_setgid_args),
1995-10-15 09:13:56 +03:00
sys_setgid }, /* 46 = setgid */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_getgid }, /* 47 = getgid */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_signal_args),
1995-10-15 09:13:56 +03:00
svr4_sys_signal }, /* 48 = signal */
#ifdef SYSVMSG
{ 5, s(struct svr4_sys_msgsys_args),
1995-10-15 09:13:56 +03:00
svr4_sys_msgsys }, /* 49 = msgsys */
#else
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 49 = unimplemented msgsys */
#endif
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_sysarch_args),
1995-10-15 09:13:56 +03:00
svr4_sys_sysarch }, /* 50 = sysarch */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 51 = unimplemented acct */
#ifdef SYSVSHM
{ 4, s(struct svr4_sys_shmsys_args),
1995-10-15 09:13:56 +03:00
svr4_sys_shmsys }, /* 52 = shmsys */
#else
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 52 = unimplemented shmsys */
#endif
#ifdef SYSVSEM
{ 5, s(struct svr4_sys_semsys_args),
1995-10-15 09:13:56 +03:00
svr4_sys_semsys }, /* 53 = semsys */
#else
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 53 = unimplemented semsys */
#endif
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_ioctl_args),
1995-10-15 09:13:56 +03:00
svr4_sys_ioctl }, /* 54 = ioctl */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 55 = unimplemented uadmin */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 56 = unimplemented exch */
1995-10-07 09:51:37 +03:00
{ 4, s(struct svr4_sys_utssys_args),
1995-10-15 09:13:56 +03:00
svr4_sys_utssys }, /* 57 = utssys */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_fsync_args),
1995-10-15 09:13:56 +03:00
sys_fsync }, /* 58 = fsync */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_execve_args),
1995-10-15 09:13:56 +03:00
svr4_sys_execve }, /* 59 = execve */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_umask_args),
1995-10-15 09:13:56 +03:00
sys_umask }, /* 60 = umask */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_chroot_args),
1995-10-15 09:13:56 +03:00
sys_chroot }, /* 61 = chroot */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_fcntl_args),
1995-10-15 09:13:56 +03:00
svr4_sys_fcntl }, /* 62 = fcntl */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_ulimit_args),
1995-10-15 09:13:56 +03:00
svr4_sys_ulimit }, /* 63 = ulimit */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 64 = unimplemented reserved for unix/pc */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 65 = unimplemented reserved for unix/pc */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 66 = unimplemented reserved for unix/pc */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 67 = unimplemented reserved for unix/pc */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 68 = unimplemented reserved for unix/pc */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 69 = unimplemented reserved for unix/pc */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 70 = obsolete advfs */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 71 = obsolete unadvfs */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 72 = obsolete rmount */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 73 = obsolete rumount */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 74 = obsolete rfstart */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 75 = obsolete sigret */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 76 = obsolete rdebug */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 77 = obsolete rfstop */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 78 = unimplemented rfsys */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_rmdir_args),
1995-10-15 09:13:56 +03:00
sys_rmdir }, /* 79 = rmdir */
1995-10-07 09:51:37 +03:00
{ 2, s(struct sys_mkdir_args),
1995-10-15 09:13:56 +03:00
sys_mkdir }, /* 80 = mkdir */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_getdents_args),
1995-10-15 09:13:56 +03:00
svr4_sys_getdents }, /* 81 = getdents */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 82 = obsolete libattach */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 83 = obsolete libdetach */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 84 = unimplemented sysfs */
1995-10-07 09:51:37 +03:00
{ 4, s(struct svr4_sys_getmsg_args),
1995-10-15 09:13:56 +03:00
svr4_sys_getmsg }, /* 85 = getmsg */
1995-10-07 09:51:37 +03:00
{ 4, s(struct svr4_sys_putmsg_args),
1995-10-15 09:13:56 +03:00
svr4_sys_putmsg }, /* 86 = putmsg */
1996-09-07 17:01:41 +04:00
{ 3, s(struct sys_poll_args),
sys_poll }, /* 87 = poll */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_lstat_args),
1995-10-15 09:13:56 +03:00
svr4_sys_lstat }, /* 88 = lstat */
1995-10-07 09:51:37 +03:00
{ 2, s(struct sys_symlink_args),
1995-10-15 09:13:56 +03:00
sys_symlink }, /* 89 = symlink */
1995-10-07 09:51:37 +03:00
{ 3, s(struct sys_readlink_args),
1995-10-15 09:13:56 +03:00
sys_readlink }, /* 90 = readlink */
1995-10-07 09:51:37 +03:00
{ 2, s(struct sys_getgroups_args),
1995-10-15 09:13:56 +03:00
sys_getgroups }, /* 91 = getgroups */
1995-10-07 09:51:37 +03:00
{ 2, s(struct sys_setgroups_args),
1995-10-15 09:13:56 +03:00
sys_setgroups }, /* 92 = setgroups */
1995-10-07 09:51:37 +03:00
{ 2, s(struct sys_fchmod_args),
1995-10-15 09:13:56 +03:00
sys_fchmod }, /* 93 = fchmod */
{ 3, s(struct sys___posix_fchown_args),
sys___posix_fchown }, /* 94 = __posix_fchown */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_sigprocmask_args),
1995-10-15 09:13:56 +03:00
svr4_sys_sigprocmask }, /* 95 = sigprocmask */
1995-10-07 09:51:37 +03:00
{ 1, s(struct svr4_sys_sigsuspend_args),
1995-10-15 09:13:56 +03:00
svr4_sys_sigsuspend }, /* 96 = sigsuspend */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_sigaltstack_args),
1995-10-15 09:13:56 +03:00
svr4_sys_sigaltstack }, /* 97 = sigaltstack */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_sigaction_args),
1995-10-15 09:13:56 +03:00
svr4_sys_sigaction }, /* 98 = sigaction */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_sigpending_args),
1995-10-15 09:13:56 +03:00
svr4_sys_sigpending }, /* 99 = sigpending */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_context_args),
1995-10-15 09:13:56 +03:00
svr4_sys_context }, /* 100 = context */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 101 = unimplemented evsys */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 102 = unimplemented evtrapret */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_statvfs_args),
1995-10-15 09:13:56 +03:00
svr4_sys_statvfs }, /* 103 = statvfs */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_fstatvfs_args),
1995-10-15 09:13:56 +03:00
svr4_sys_fstatvfs }, /* 104 = fstatvfs */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 105 = unimplemented */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 106 = unimplemented nfssvc */
1995-10-07 09:51:37 +03:00
{ 4, s(struct svr4_sys_waitsys_args),
1995-10-15 09:13:56 +03:00
svr4_sys_waitsys }, /* 107 = waitsys */
1995-10-07 09:51:37 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 108 = unimplemented sigsendsys */
1995-10-07 09:51:37 +03:00
{ 5, s(struct svr4_sys_hrtsys_args),
1995-10-15 09:13:56 +03:00
svr4_sys_hrtsys }, /* 109 = hrtsys */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 110 = unimplemented acancel */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 111 = unimplemented async */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 112 = unimplemented priocntlsys */
{ 2, s(struct svr4_sys_pathconf_args),
svr4_sys_pathconf }, /* 113 = pathconf */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 114 = unimplemented mincore */
1995-10-07 09:51:37 +03:00
{ 6, s(struct svr4_sys_mmap_args),
1995-10-15 09:13:56 +03:00
svr4_sys_mmap }, /* 115 = mmap */
1995-10-07 09:51:37 +03:00
{ 3, s(struct sys_mprotect_args),
1995-10-15 09:13:56 +03:00
sys_mprotect }, /* 116 = mprotect */
1995-10-07 09:51:37 +03:00
{ 2, s(struct sys_munmap_args),
1995-10-15 09:13:56 +03:00
sys_munmap }, /* 117 = munmap */
{ 2, s(struct svr4_sys_fpathconf_args),
svr4_sys_fpathconf }, /* 118 = fpathconf */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_vfork }, /* 119 = vfork */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_fchdir_args),
1995-10-15 09:13:56 +03:00
sys_fchdir }, /* 120 = fchdir */
1995-10-07 09:51:37 +03:00
{ 3, s(struct sys_readv_args),
1995-10-15 09:13:56 +03:00
sys_readv }, /* 121 = readv */
1995-10-07 09:51:37 +03:00
{ 3, s(struct sys_writev_args),
1995-10-15 09:13:56 +03:00
sys_writev }, /* 122 = writev */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_xstat_args),
1995-10-15 09:13:56 +03:00
svr4_sys_xstat }, /* 123 = xstat */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_lxstat_args),
1995-10-15 09:13:56 +03:00
svr4_sys_lxstat }, /* 124 = lxstat */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_fxstat_args),
1995-10-15 09:13:56 +03:00
svr4_sys_fxstat }, /* 125 = fxstat */
1996-02-02 04:18:09 +03:00
{ 4, s(struct svr4_sys_xmknod_args),
svr4_sys_xmknod }, /* 126 = xmknod */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 127 = unimplemented clocal */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_setrlimit_args),
1995-10-15 09:13:56 +03:00
svr4_sys_setrlimit }, /* 128 = setrlimit */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_getrlimit_args),
1995-10-15 09:13:56 +03:00
svr4_sys_getrlimit }, /* 129 = getrlimit */
{ 3, s(struct sys___posix_lchown_args),
sys___posix_lchown }, /* 130 = __posix_lchown */
1996-12-06 06:26:33 +03:00
{ 6, s(struct svr4_sys_memcntl_args),
svr4_sys_memcntl }, /* 131 = memcntl */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 132 = unimplemented getpmsg */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 133 = unimplemented putpmsg */
{ 2, s(struct sys___posix_rename_args),
sys___posix_rename }, /* 134 = __posix_rename */
1995-10-07 09:51:37 +03:00
{ 2, s(struct svr4_sys_uname_args),
1995-10-15 09:13:56 +03:00
svr4_sys_uname }, /* 135 = uname */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_setegid_args),
1995-10-15 09:13:56 +03:00
sys_setegid }, /* 136 = setegid */
1995-10-07 09:51:37 +03:00
{ 1, s(struct svr4_sys_sysconfig_args),
1995-10-15 09:13:56 +03:00
svr4_sys_sysconfig }, /* 137 = sysconfig */
1995-10-07 09:51:37 +03:00
{ 2, s(struct sys_adjtime_args),
1995-10-15 09:13:56 +03:00
sys_adjtime }, /* 138 = adjtime */
1995-10-07 09:51:37 +03:00
{ 3, s(struct svr4_sys_systeminfo_args),
1995-10-15 09:13:56 +03:00
svr4_sys_systeminfo }, /* 139 = systeminfo */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 140 = unimplemented */
1995-10-07 09:51:37 +03:00
{ 1, s(struct sys_seteuid_args),
1995-10-15 09:13:56 +03:00
sys_seteuid }, /* 141 = seteuid */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 142 = unimplemented vtrace */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1997-11-17 01:51:15 +03:00
sys_fork }, /* 143 = fork1 */
1994-10-24 20:37:34 +03:00
{ 0, 0,
sys_nosys }, /* 144 = unimplemented sigtimedwait */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 145 = unimplemented lwp_info */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 146 = unimplemented yield */
1994-10-24 20:37:34 +03:00
{ 0, 0,
sys_nosys }, /* 147 = unimplemented lwp_sema_wait */
1994-10-24 20:37:34 +03:00
{ 0, 0,
sys_nosys }, /* 148 = unimplemented lwp_sema_post */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 149 = unimplemented */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 150 = unimplemented */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 151 = unimplemented */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 152 = unimplemented modctl */
1995-10-07 09:51:37 +03:00
{ 1, s(struct svr4_sys_fchroot_args),
1995-10-15 09:13:56 +03:00
svr4_sys_fchroot }, /* 153 = fchroot */
1995-12-19 10:12:53 +03:00
{ 2, s(struct svr4_sys_utimes_args),
svr4_sys_utimes }, /* 154 = utimes */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
svr4_sys_vhangup }, /* 155 = vhangup */
1995-10-07 09:51:37 +03:00
{ 1, s(struct svr4_sys_gettimeofday_args),
1995-10-15 09:13:56 +03:00
svr4_sys_gettimeofday }, /* 156 = gettimeofday */
1995-10-07 09:51:37 +03:00
{ 2, s(struct sys_getitimer_args),
1995-10-15 09:13:56 +03:00
sys_getitimer }, /* 157 = getitimer */
1995-10-07 09:51:37 +03:00
{ 3, s(struct sys_setitimer_args),
1995-10-15 09:13:56 +03:00
sys_setitimer }, /* 158 = setitimer */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 159 = unimplemented lwp_create */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 160 = unimplemented lwp_exit */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 161 = unimplemented lwp_suspend */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 162 = unimplemented lwp_continue */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 163 = unimplemented lwp_kill */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 164 = unimplemented lwp_self */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 165 = unimplemented lwp_getprivate */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 166 = unimplemented lwp_setprivate */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 167 = unimplemented lwp_wait */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 168 = unimplemented lwp_mutex_unlock */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 169 = unimplemented lwp_mutex_lock */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 170 = unimplemented lwp_cond_wait */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 171 = unimplemented lwp_cond_signal */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 172 = unimplemented lwp_cond_broadcast */
{ 4, s(struct svr4_sys_pread_args),
svr4_sys_pread }, /* 173 = pread */
{ 4, s(struct svr4_sys_pwrite_args),
svr4_sys_pwrite }, /* 174 = pwrite */
{ 4, s(struct svr4_sys_llseek_args),
svr4_sys_llseek }, /* 175 = llseek */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 176 = unimplemented inst_sync */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 177 = unimplemented */
1994-10-24 20:37:34 +03:00
{ 0, 0,
sys_nosys }, /* 178 = unimplemented kaio */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 179 = unimplemented */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 180 = unimplemented */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 181 = unimplemented */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 182 = unimplemented */
1994-10-24 20:37:34 +03:00
{ 0, 0,
1995-10-15 09:13:56 +03:00
sys_nosys }, /* 183 = unimplemented */
1994-10-24 20:37:34 +03:00
{ 0, 0,
sys_nosys }, /* 184 = unimplemented tsolsys */
1996-12-06 06:26:33 +03:00
{ 4, s(struct svr4_sys_acl_args),
svr4_sys_acl }, /* 185 = acl */
1997-10-28 22:02:52 +03:00
{ 6, s(struct svr4_sys_auditsys_args),
svr4_sys_auditsys }, /* 186 = auditsys */
{ 0, 0,
sys_nosys }, /* 187 = unimplemented processor_bind */
{ 0, 0,
sys_nosys }, /* 188 = unimplemented processor_info */
{ 0, 0,
sys_nosys }, /* 189 = unimplemented p_online */
{ 0, 0,
sys_nosys }, /* 190 = unimplemented sigqueue */
{ 0, 0,
sys_nosys }, /* 191 = unimplemented clock_gettime */
{ 0, 0,
sys_nosys }, /* 192 = unimplemented clock_settime */
{ 0, 0,
sys_nosys }, /* 193 = unimplemented clock_getres */
{ 0, 0,
sys_nosys }, /* 194 = unimplemented timer_create */
{ 0, 0,
sys_nosys }, /* 195 = unimplemented timer_delete */
{ 0, 0,
sys_nosys }, /* 196 = unimplemented timer_settime */
{ 0, 0,
sys_nosys }, /* 197 = unimplemented timer_gettime */
{ 0, 0,
sys_nosys }, /* 198 = unimplemented timer_getoverrun */
1998-02-01 16:25:00 +03:00
{ 2, s(struct sys_nanosleep_args),
sys_nanosleep }, /* 199 = nanosleep */
1996-12-06 06:26:33 +03:00
{ 4, s(struct svr4_sys_facl_args),
svr4_sys_facl }, /* 200 = facl */
{ 0, 0,
sys_nosys }, /* 201 = unimplemented door */
1996-12-06 06:26:33 +03:00
{ 2, s(struct sys_setreuid_args),
sys_setreuid }, /* 202 = setreuid */
{ 2, s(struct sys_setregid_args),
sys_setregid }, /* 203 = setregid */
{ 0, 0,
sys_nosys }, /* 204 = unimplemented install_utrap */
{ 0, 0,
sys_nosys }, /* 205 = unimplemented signotify */
{ 0, 0,
sys_nosys }, /* 206 = unimplemented schedctl */
{ 0, 0,
sys_nosys }, /* 207 = unimplemented pset */
{ 0, 0,
sys_nosys }, /* 208 = unimplemented */
{ 0, 0,
sys_nosys }, /* 209 = unimplemented */
{ 0, 0,
sys_nosys }, /* 210 = unimplemented signotifywait */
{ 0, 0,
sys_nosys }, /* 211 = unimplemented lwp_sigredirect */
{ 0, 0,
sys_nosys }, /* 212 = unimplemented lwp_alarm */
{ 3, s(struct svr4_sys_getdents64_args),
svr4_sys_getdents64 }, /* 213 = getdents64 */
{ 6, s(struct svr4_sys_mmap64_args),
svr4_sys_mmap64 }, /* 214 = mmap64 */
{ 2, s(struct svr4_sys_stat64_args),
svr4_sys_stat64 }, /* 215 = stat64 */
{ 2, s(struct svr4_sys_lstat64_args),
svr4_sys_lstat64 }, /* 216 = lstat64 */
{ 2, s(struct svr4_sys_fstat64_args),
svr4_sys_fstat64 }, /* 217 = fstat64 */
{ 2, s(struct svr4_sys_statvfs64_args),
svr4_sys_statvfs64 }, /* 218 = statvfs64 */
{ 2, s(struct svr4_sys_fstatvfs64_args),
svr4_sys_fstatvfs64 }, /* 219 = fstatvfs64 */
{ 2, s(struct svr4_sys_setrlimit64_args),
svr4_sys_setrlimit64 }, /* 220 = setrlimit64 */
{ 2, s(struct svr4_sys_getrlimit64_args),
svr4_sys_getrlimit64 }, /* 221 = getrlimit64 */
{ 4, s(struct svr4_sys_pread64_args),
svr4_sys_pread64 }, /* 222 = pread64 */
{ 4, s(struct svr4_sys_pwrite64_args),
svr4_sys_pwrite64 }, /* 223 = pwrite64 */
{ 2, s(struct svr4_sys_creat64_args),
svr4_sys_creat64 }, /* 224 = creat64 */
{ 3, s(struct svr4_sys_open64_args),
svr4_sys_open64 }, /* 225 = open64 */
{ 0, 0,
sys_nosys }, /* 226 = unimplemented rpcsys */
{ 0, 0,
sys_nosys }, /* 227 = unimplemented */
{ 0, 0,
sys_nosys }, /* 228 = unimplemented */
{ 0, 0,
sys_nosys }, /* 229 = unimplemented */
{ 3, s(struct svr4_sys_socket_args),
svr4_sys_socket }, /* 230 = socket */
{ 4, s(struct sys_socketpair_args),
sys_socketpair }, /* 231 = socketpair */
{ 3, s(struct sys_bind_args),
sys_bind }, /* 232 = bind */
{ 2, s(struct sys_listen_args),
sys_listen }, /* 233 = listen */
{ 3, s(struct compat_43_sys_accept_args),
compat_43_sys_accept }, /* 234 = accept */
{ 3, s(struct sys_connect_args),
sys_connect }, /* 235 = connect */
{ 2, s(struct sys_shutdown_args),
sys_shutdown }, /* 236 = shutdown */
{ 4, s(struct compat_43_sys_recv_args),
compat_43_sys_recv }, /* 237 = recv */
{ 6, s(struct compat_43_sys_recvfrom_args),
compat_43_sys_recvfrom }, /* 238 = recvfrom */
{ 3, s(struct compat_43_sys_recvmsg_args),
compat_43_sys_recvmsg }, /* 239 = recvmsg */
{ 4, s(struct compat_43_sys_send_args),
compat_43_sys_send }, /* 240 = send */
{ 3, s(struct compat_43_sys_sendmsg_args),
compat_43_sys_sendmsg }, /* 241 = sendmsg */
{ 6, s(struct sys_sendto_args),
sys_sendto }, /* 242 = sendto */
{ 3, s(struct compat_43_sys_getpeername_args),
compat_43_sys_getpeername }, /* 243 = getpeername */
{ 3, s(struct compat_43_sys_getsockname_args),
compat_43_sys_getsockname }, /* 244 = getsockname */
{ 5, s(struct sys_getsockopt_args),
sys_getsockopt }, /* 245 = getsockopt */
{ 5, s(struct sys_setsockopt_args),
sys_setsockopt }, /* 246 = setsockopt */
{ 0, 0,
sys_nosys }, /* 247 = unimplemented sockconfig */
{ 1, s(struct sys_ntp_gettime_args),
sys_ntp_gettime }, /* 248 = ntp_gettime */
{ 1, s(struct sys_ntp_adjtime_args),
sys_ntp_adjtime }, /* 249 = ntp_adjtime */
};