NetBSD/sys/compat/svr4/svr4_sysent.c

570 lines
20 KiB
C
Raw Normal View History

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