2003-01-19 02:28:15 +03:00
|
|
|
/* $NetBSD: irix_sysent.c,v 1.52 2003/01/18 23:33:37 thorpej Exp $ */
|
2001-09-22 22:51:35 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* System call switch table.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
2003-01-19 02:28:15 +03:00
|
|
|
* created from NetBSD: syscalls.master,v 1.47 2003/01/18 07:44:52 thorpej Exp
|
2001-09-22 22:51:35 +04:00
|
|
|
*/
|
|
|
|
|
2001-11-13 05:07:52 +03:00
|
|
|
#include <sys/cdefs.h>
|
2003-01-19 02:28:15 +03:00
|
|
|
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.52 2003/01/18 23:33:37 thorpej Exp $");
|
2001-11-13 05:07:52 +03:00
|
|
|
|
2001-09-22 22:51:35 +04:00
|
|
|
#if defined(_KERNEL_OPT)
|
|
|
|
#include "opt_ntp.h"
|
|
|
|
#include "opt_sysv.h"
|
2002-02-03 04:21:47 +03:00
|
|
|
#include "opt_compat_43.h"
|
2001-09-22 22:51:35 +04:00
|
|
|
#endif
|
|
|
|
#include <sys/param.h>
|
|
|
|
#include <sys/systm.h>
|
|
|
|
#include <sys/signal.h>
|
|
|
|
#include <sys/mount.h>
|
|
|
|
#include <sys/poll.h>
|
2001-11-28 15:00:53 +03:00
|
|
|
#include <sys/ioctl_compat.h>
|
2003-01-18 10:45:34 +03:00
|
|
|
#include <sys/sa.h>
|
2001-09-22 22:51:35 +04:00
|
|
|
#include <sys/syscallargs.h>
|
2001-11-28 15:00:53 +03:00
|
|
|
#include <compat/svr4/svr4_types.h>
|
2002-02-18 01:49:53 +03:00
|
|
|
#include <compat/svr4/svr4_signal.h>
|
|
|
|
#include <compat/svr4/svr4_ucontext.h>
|
|
|
|
#include <compat/svr4/svr4_lwp.h>
|
2002-03-11 00:56:24 +03:00
|
|
|
#include <compat/svr4/svr4_statvfs.h>
|
2002-02-18 01:49:53 +03:00
|
|
|
#include <compat/svr4/svr4_syscallargs.h>
|
2001-11-28 15:00:53 +03:00
|
|
|
#include <compat/irix/irix_types.h>
|
2001-12-25 22:04:18 +03:00
|
|
|
#include <compat/irix/irix_signal.h>
|
2001-11-28 15:00:53 +03:00
|
|
|
#include <compat/irix/irix_syscallargs.h>
|
2001-09-22 22:51:35 +04:00
|
|
|
|
|
|
|
#define s(type) sizeof(type)
|
|
|
|
|
|
|
|
struct sysent irix_sysent[] = {
|
|
|
|
{ 0, 0, 0,
|
2001-11-27 00:36:24 +03:00
|
|
|
sys_nosys }, /* 0 = syscall */
|
|
|
|
{ 1, s(struct sys_exit_args), 0,
|
|
|
|
sys_exit }, /* 1 = exit */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-27 00:36:24 +03:00
|
|
|
sys_fork }, /* 2 = fork */
|
|
|
|
{ 3, s(struct sys_read_args), 0,
|
|
|
|
sys_read }, /* 3 = read */
|
|
|
|
{ 3, s(struct sys_write_args), 0,
|
|
|
|
sys_write }, /* 4 = write */
|
2002-05-22 09:14:00 +04:00
|
|
|
{ 3, s(struct irix_sys_open_args), 0,
|
|
|
|
irix_sys_open }, /* 5 = open */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 1, s(struct sys_close_args), 0,
|
|
|
|
sys_close }, /* 6 = close */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 7 = obsolete wait */
|
|
|
|
{ 2, s(struct svr4_sys_creat_args), 0,
|
|
|
|
svr4_sys_creat }, /* 8 = creat */
|
|
|
|
{ 2, s(struct sys_link_args), 0,
|
|
|
|
sys_link }, /* 9 = link */
|
|
|
|
{ 1, s(struct sys_unlink_args), 0,
|
|
|
|
sys_unlink }, /* 10 = unlink */
|
|
|
|
{ 2, s(struct svr4_sys_execv_args), 0,
|
|
|
|
svr4_sys_execv }, /* 11 = execv */
|
|
|
|
{ 1, s(struct sys_chdir_args), 0,
|
|
|
|
sys_chdir }, /* 12 = chdir */
|
|
|
|
{ 1, s(struct svr4_sys_time_args), 0,
|
|
|
|
svr4_sys_time }, /* 13 = time */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 14 = obsolete mknod */
|
|
|
|
{ 2, s(struct sys_chmod_args), 0,
|
|
|
|
sys_chmod }, /* 15 = chmod */
|
|
|
|
{ 3, s(struct sys___posix_chown_args), 0,
|
|
|
|
sys___posix_chown }, /* 16 = chown */
|
2002-06-13 00:33:20 +04:00
|
|
|
{ 1, s(struct irix_sys_break_args), 0,
|
|
|
|
irix_sys_break }, /* 17 = break */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 18 = obsolete stat */
|
|
|
|
{ 3, s(struct compat_43_sys_lseek_args), 0,
|
|
|
|
compat_43_sys_lseek }, /* 19 = lseek */
|
|
|
|
{ 0, 0, SYCALL_MPSAFE | 0,
|
|
|
|
sys_getpid }, /* 20 = getpid */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 21 = unimplemented old_mount */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 22 = unimplemented System V umount */
|
|
|
|
{ 1, s(struct sys_setuid_args), 0,
|
|
|
|
sys_setuid }, /* 23 = setuid */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_getuid_with_euid }, /* 24 = getuid_with_euid */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 25 = unimplemented stime */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 26 = unimplemented ptrace */
|
2002-02-03 04:21:47 +03:00
|
|
|
{ 1, s(struct svr4_sys_alarm_args), 0,
|
|
|
|
svr4_sys_alarm }, /* 27 = alarm */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 2, s(struct svr4_sys_fstat_args), 0,
|
|
|
|
svr4_sys_fstat }, /* 28 = fstat */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
svr4_sys_pause }, /* 29 = pause */
|
|
|
|
{ 2, s(struct svr4_sys_utime_args), 0,
|
|
|
|
svr4_sys_utime }, /* 30 = utime */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 31 = unimplemented was stty */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 32 = unimplemented was gtty */
|
|
|
|
{ 2, s(struct svr4_sys_access_args), 0,
|
|
|
|
svr4_sys_access }, /* 33 = access */
|
|
|
|
{ 1, s(struct svr4_sys_nice_args), 0,
|
|
|
|
svr4_sys_nice }, /* 34 = nice */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 35 = unimplemented statfs */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_sync }, /* 36 = sync */
|
|
|
|
{ 2, s(struct svr4_sys_kill_args), 0,
|
|
|
|
svr4_sys_kill }, /* 37 = kill */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 38 = unimplemented fstatfs */
|
|
|
|
{ 3, s(struct svr4_sys_pgrpsys_args), 0,
|
|
|
|
svr4_sys_pgrpsys }, /* 39 = pgrpsys */
|
|
|
|
{ 6, s(struct irix_sys_syssgi_args), 0,
|
|
|
|
irix_sys_syssgi }, /* 40 = syssgi */
|
|
|
|
{ 1, s(struct sys_dup_args), 0,
|
|
|
|
sys_dup }, /* 41 = dup */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_pipe }, /* 42 = pipe */
|
|
|
|
{ 1, s(struct svr4_sys_times_args), 0,
|
|
|
|
svr4_sys_times }, /* 43 = times */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 44 = unimplemented profil */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 45 = unimplemented plock */
|
|
|
|
{ 1, s(struct sys_setgid_args), 0,
|
|
|
|
sys_setgid }, /* 46 = setgid */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_getgid_with_egid }, /* 47 = getgid_with_egid */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 48 = obsolete ssig */
|
|
|
|
#ifdef SYSVMSG
|
|
|
|
{ 5, s(struct svr4_sys_msgsys_args), 0,
|
|
|
|
svr4_sys_msgsys }, /* 49 = msgsys */
|
|
|
|
#else
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 49 = unimplemented msgsys */
|
|
|
|
#endif
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 50 = unimplemented sysmips */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 51 = unimplemented acct */
|
|
|
|
#ifdef SYSVSHM
|
2002-06-13 00:33:20 +04:00
|
|
|
{ 4, s(struct irix_sys_shmsys_args), 0,
|
|
|
|
irix_sys_shmsys }, /* 52 = shmsys */
|
2001-11-28 15:00:53 +03:00
|
|
|
#else
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 52 = unimplemented shmsys */
|
|
|
|
#endif
|
|
|
|
#ifdef SYSVSEM
|
|
|
|
{ 5, s(struct svr4_sys_semsys_args), 0,
|
|
|
|
svr4_sys_semsys }, /* 53 = semsys */
|
|
|
|
#else
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 53 = unimplemented semsys */
|
|
|
|
#endif
|
2002-03-03 23:12:17 +03:00
|
|
|
{ 3, s(struct irix_sys_ioctl_args), 0,
|
|
|
|
irix_sys_ioctl }, /* 54 = ioctl */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 55 = unimplemented uadmin */
|
2001-12-02 11:30:10 +03:00
|
|
|
{ 5, s(struct irix_sys_sysmp_args), 0,
|
|
|
|
irix_sys_sysmp }, /* 56 = sysmp */
|
2002-10-06 03:17:29 +04:00
|
|
|
{ 4, s(struct irix_sys_utssys_args), 0,
|
|
|
|
irix_sys_utssys }, /* 57 = utssys */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 58 = unimplemented */
|
|
|
|
{ 3, s(struct svr4_sys_execve_args), 0,
|
|
|
|
svr4_sys_execve }, /* 59 = execve */
|
|
|
|
{ 1, s(struct sys_umask_args), 0,
|
|
|
|
sys_umask }, /* 60 = umask */
|
|
|
|
{ 1, s(struct sys_chroot_args), 0,
|
|
|
|
sys_chroot }, /* 61 = chroot */
|
2002-04-02 23:58:38 +04:00
|
|
|
{ 3, s(struct irix_sys_fcntl_args), 0,
|
|
|
|
irix_sys_fcntl }, /* 62 = fcntl */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 2, s(struct svr4_sys_ulimit_args), 0,
|
|
|
|
svr4_sys_ulimit }, /* 63 = ulimit */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 64 = unimplemented reserved for unix/pc */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 65 = unimplemented reserved for unix/pc */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 66 = unimplemented reserved for unix/pc */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 67 = unimplemented reserved for unix/pc */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 68 = unimplemented reserved for unix/pc */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 69 = unimplemented reserved for unix/pc */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 70 = obsolete advfs */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 71 = obsolete unadvfs */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 72 = obsolete rmount */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 73 = obsolete rumount */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 74 = obsolete rfstart */
|
2002-06-13 00:33:20 +04:00
|
|
|
{ 2, s(struct irix_sys_getrlimit64_args), 0,
|
|
|
|
irix_sys_getrlimit64 }, /* 75 = getrlimit64 */
|
|
|
|
{ 2, s(struct irix_sys_setrlimit64_args), 0,
|
|
|
|
irix_sys_setrlimit64 }, /* 76 = setrlimit64 */
|
|
|
|
{ 2, s(struct sys_nanosleep_args), 0,
|
|
|
|
sys_nanosleep }, /* 77 = nanosleep */
|
2001-12-25 19:40:48 +03:00
|
|
|
{ 7, s(struct irix_sys_lseek64_args), 0,
|
|
|
|
irix_sys_lseek64 }, /* 78 = lseek64 */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 1, s(struct sys_rmdir_args), 0,
|
|
|
|
sys_rmdir }, /* 79 = rmdir */
|
|
|
|
{ 2, s(struct sys_mkdir_args), 0,
|
|
|
|
sys_mkdir }, /* 80 = mkdir */
|
2001-12-23 23:15:03 +03:00
|
|
|
{ 3, s(struct irix_sys_getdents_args), 0,
|
|
|
|
irix_sys_getdents }, /* 81 = getdents */
|
2001-12-08 14:17:37 +03:00
|
|
|
{ 1, s(struct irix_sys_sginap_args), 0,
|
|
|
|
irix_sys_sginap }, /* 82 = sginap */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 83 = unimplemented sgikopt */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 84 = unimplemented sysfs */
|
|
|
|
{ 4, s(struct svr4_sys_getmsg_args), 0,
|
|
|
|
svr4_sys_getmsg }, /* 85 = getmsg */
|
|
|
|
{ 4, s(struct svr4_sys_putmsg_args), 0,
|
|
|
|
svr4_sys_putmsg }, /* 86 = putmsg */
|
|
|
|
{ 3, s(struct sys_poll_args), 0,
|
|
|
|
sys_poll }, /* 87 = poll */
|
2002-04-12 22:44:57 +04:00
|
|
|
{ 3, s(struct irix_sys_sigreturn_args), 0,
|
2001-12-08 14:17:37 +03:00
|
|
|
irix_sys_sigreturn }, /* 88 = sigreturn */
|
Added accept, bind, connect, getpeername, getsockname, listen, recv, recvfrom,
recvmsg, select, send, sendmsg, sendto, setsockopt, shutdown, socket, readv,
and writev. IRIX's telnet now works.
2001-12-26 00:32:30 +03:00
|
|
|
{ 3, s(struct compat_43_sys_accept_args), 0,
|
|
|
|
compat_43_sys_accept }, /* 89 = accept */
|
|
|
|
{ 3, s(struct sys_bind_args), 0,
|
|
|
|
sys_bind }, /* 90 = bind */
|
|
|
|
{ 3, s(struct sys_connect_args), 0,
|
|
|
|
sys_connect }, /* 91 = connect */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2002-02-21 14:09:43 +03:00
|
|
|
compat_43_sys_gethostid }, /* 92 = gethostid */
|
Added accept, bind, connect, getpeername, getsockname, listen, recv, recvfrom,
recvmsg, select, send, sendmsg, sendto, setsockopt, shutdown, socket, readv,
and writev. IRIX's telnet now works.
2001-12-26 00:32:30 +03:00
|
|
|
{ 3, s(struct compat_43_sys_getpeername_args), 0,
|
|
|
|
compat_43_sys_getpeername }, /* 93 = getpeername */
|
|
|
|
{ 3, s(struct compat_43_sys_getsockname_args), 0,
|
|
|
|
compat_43_sys_getsockname }, /* 94 = getsockname */
|
|
|
|
{ 5, s(struct sys_getsockopt_args), 0,
|
|
|
|
sys_getsockopt }, /* 95 = getsockopt */
|
|
|
|
{ 2, s(struct sys_listen_args), 0,
|
|
|
|
sys_listen }, /* 96 = listen */
|
|
|
|
{ 4, s(struct compat_43_sys_recv_args), 0,
|
|
|
|
compat_43_sys_recv }, /* 97 = recv */
|
|
|
|
{ 6, s(struct compat_43_sys_recvfrom_args), 0,
|
|
|
|
compat_43_sys_recvfrom }, /* 98 = recvfrom */
|
|
|
|
{ 3, s(struct compat_43_sys_recvmsg_args), 0,
|
|
|
|
compat_43_sys_recvmsg }, /* 99 = recvmsg */
|
|
|
|
{ 5, s(struct sys_select_args), 0,
|
|
|
|
sys_select }, /* 100 = select */
|
|
|
|
{ 4, s(struct compat_43_sys_send_args), 0,
|
|
|
|
compat_43_sys_send }, /* 101 = send */
|
|
|
|
{ 3, s(struct compat_43_sys_sendmsg_args), 0,
|
|
|
|
compat_43_sys_sendmsg }, /* 102 = sendmsg */
|
|
|
|
{ 6, s(struct sys_sendto_args), 0,
|
|
|
|
sys_sendto }, /* 103 = sendto */
|
2002-02-21 14:09:43 +03:00
|
|
|
{ 1, s(struct compat_43_sys_sethostid_args), 0,
|
|
|
|
compat_43_sys_sethostid }, /* 104 = sethostid */
|
Added accept, bind, connect, getpeername, getsockname, listen, recv, recvfrom,
recvmsg, select, send, sendmsg, sendto, setsockopt, shutdown, socket, readv,
and writev. IRIX's telnet now works.
2001-12-26 00:32:30 +03:00
|
|
|
{ 5, s(struct sys_setsockopt_args), 0,
|
|
|
|
sys_setsockopt }, /* 105 = setsockopt */
|
|
|
|
{ 2, s(struct sys_shutdown_args), 0,
|
|
|
|
sys_shutdown }, /* 106 = shutdown */
|
|
|
|
{ 3, s(struct svr4_sys_socket_args), 0,
|
|
|
|
svr4_sys_socket }, /* 107 = socket */
|
2002-02-03 04:21:47 +03:00
|
|
|
{ 2, s(struct compat_43_sys_gethostname_args), 0,
|
|
|
|
compat_43_sys_gethostname }, /* 108 = gethostname */
|
|
|
|
{ 2, s(struct compat_43_sys_sethostname_args), 0,
|
|
|
|
compat_43_sys_sethostname }, /* 109 = sethostname */
|
|
|
|
{ 2, s(struct compat_09_sys_getdomainname_args), 0,
|
|
|
|
compat_09_sys_getdomainname }, /* 110 = getdomainname */
|
|
|
|
{ 2, s(struct compat_09_sys_setdomainname_args), 0,
|
|
|
|
compat_09_sys_setdomainname }, /* 111 = setdomainname */
|
2002-03-26 13:52:52 +03:00
|
|
|
{ 2, s(struct sys_truncate_args), 0,
|
|
|
|
sys_truncate }, /* 112 = truncate */
|
|
|
|
{ 2, s(struct sys_ftruncate_args), 0,
|
|
|
|
sys_ftruncate }, /* 113 = ftruncate */
|
2001-12-27 14:07:23 +03:00
|
|
|
{ 2, s(struct sys_rename_args), 0,
|
|
|
|
sys_rename }, /* 114 = rename */
|
|
|
|
{ 2, s(struct sys_symlink_args), 0,
|
|
|
|
sys_symlink }, /* 115 = symlink */
|
|
|
|
{ 3, s(struct sys_readlink_args), 0,
|
|
|
|
sys_readlink }, /* 116 = readlink */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 117 = unimplemented lstat */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 118 = unimplemented */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 119 = unimplemented nfs_svc */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 120 = unimplemented nfs_getfh */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 121 = unimplemented async_daemon */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 122 = unimplemented exportfs */
|
2002-03-05 01:19:02 +03:00
|
|
|
{ 2, s(struct sys_setregid_args), 0,
|
|
|
|
sys_setregid }, /* 123 = setregid */
|
|
|
|
{ 2, s(struct sys_setreuid_args), 0,
|
|
|
|
sys_setreuid }, /* 124 = setreuid */
|
2002-02-03 20:39:54 +03:00
|
|
|
{ 2, s(struct sys_getitimer_args), 0,
|
|
|
|
sys_getitimer }, /* 125 = getitimer */
|
|
|
|
{ 3, s(struct sys_setitimer_args), 0,
|
|
|
|
sys_setitimer }, /* 126 = setitimer */
|
|
|
|
{ 2, s(struct sys_adjtime_args), 0,
|
|
|
|
sys_adjtime }, /* 127 = adjtime */
|
|
|
|
{ 1, s(struct svr4_sys_gettimeofday_args), 0,
|
|
|
|
svr4_sys_gettimeofday }, /* 128 = gettimeofday */
|
2002-04-28 21:21:58 +04:00
|
|
|
{ 3, s(struct irix_sys_sproc_args), 0,
|
|
|
|
irix_sys_sproc }, /* 129 = sproc */
|
2001-12-02 12:23:58 +03:00
|
|
|
{ 2, s(struct irix_sys_prctl_args), 0,
|
|
|
|
irix_sys_prctl }, /* 130 = prctl */
|
2002-06-05 21:27:11 +04:00
|
|
|
{ 3, s(struct irix_sys_procblk_args), 0,
|
|
|
|
irix_sys_procblk }, /* 131 = procblk */
|
2002-04-28 21:21:58 +04:00
|
|
|
{ 5, s(struct irix_sys_sprocsp_args), 0,
|
|
|
|
irix_sys_sprocsp }, /* 132 = sprocsp */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 133 = unimplemented sgigsc */
|
2002-04-22 09:58:46 +04:00
|
|
|
{ 6, s(struct irix_sys_mmap_args), 0,
|
|
|
|
irix_sys_mmap }, /* 134 = mmap */
|
2002-06-13 00:33:20 +04:00
|
|
|
{ 2, s(struct irix_sys_munmap_args), 0,
|
|
|
|
irix_sys_munmap }, /* 135 = munmap */
|
|
|
|
{ 3, s(struct irix_sys_mprotect_args), 0,
|
|
|
|
irix_sys_mprotect }, /* 136 = mprotect */
|
2002-04-20 20:56:28 +04:00
|
|
|
{ 3, s(struct sys___msync13_args), 0,
|
|
|
|
sys___msync13 }, /* 137 = __msync13 */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 138 = unimplemented madvise */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 139 = unimplemented pagelock */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 140 = unimplemented getpagesize */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 141 = unimplemented quotactl */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 142 = unimplemented */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2002-04-17 00:15:47 +04:00
|
|
|
sys_getpgrp }, /* 143 = getpgrp */
|
|
|
|
{ 2, s(struct irix_sys_setpgrp_args), 0,
|
|
|
|
irix_sys_setpgrp }, /* 144 = setpgrp */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-12-23 23:57:30 +03:00
|
|
|
sys_nosys }, /* 145 = unimplemented vhangup */
|
2002-04-03 00:29:52 +04:00
|
|
|
{ 1, s(struct sys_fsync_args), 0,
|
|
|
|
sys_fsync }, /* 146 = fsync */
|
2002-04-23 09:47:38 +04:00
|
|
|
{ 1, s(struct sys_fchdir_args), 0,
|
|
|
|
sys_fchdir }, /* 147 = fchdir */
|
2002-06-13 00:33:20 +04:00
|
|
|
{ 2, s(struct irix_sys_getrlimit_args), 0,
|
|
|
|
irix_sys_getrlimit }, /* 148 = getrlimit */
|
|
|
|
{ 2, s(struct irix_sys_setrlimit_args), 0,
|
|
|
|
irix_sys_setrlimit }, /* 149 = setrlimit */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 150 = unimplemented cacheflush */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 151 = unimplemented cachectl */
|
2002-04-23 09:47:38 +04:00
|
|
|
{ 3, s(struct sys___posix_fchown_args), 0,
|
|
|
|
sys___posix_fchown }, /* 152 = fchown */
|
2002-05-22 09:14:00 +04:00
|
|
|
{ 2, s(struct sys_fchmod_args), 0,
|
|
|
|
sys_fchmod }, /* 153 = fchmod */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 154 = unimplemented wait3 */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 155 = unimplemented socketpair */
|
2002-02-18 01:49:53 +03:00
|
|
|
{ 3, s(struct irix_sys_systeminfo_args), 0,
|
|
|
|
irix_sys_systeminfo }, /* 156 = systeminfo */
|
2002-10-06 03:17:29 +04:00
|
|
|
{ 1, s(struct irix_sys_uname_args), 0,
|
|
|
|
irix_sys_uname }, /* 157 = uname */
|
2001-12-08 21:08:04 +03:00
|
|
|
{ 3, s(struct irix_sys_xstat_args), 0,
|
|
|
|
irix_sys_xstat }, /* 158 = xstat */
|
2001-12-22 15:09:20 +03:00
|
|
|
{ 3, s(struct irix_sys_lxstat_args), 0,
|
|
|
|
irix_sys_lxstat }, /* 159 = lxstat */
|
|
|
|
{ 3, s(struct irix_sys_fxstat_args), 0,
|
|
|
|
irix_sys_fxstat }, /* 160 = fxstat */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 161 = unimplemented xmknod */
|
2002-04-15 01:50:49 +04:00
|
|
|
{ 4, s(struct irix_sys_sigaction_args), 0,
|
|
|
|
irix_sys_sigaction }, /* 162 = sigaction */
|
2001-12-08 14:17:37 +03:00
|
|
|
{ 2, s(struct svr4_sys_sigpending_args), 0,
|
|
|
|
svr4_sys_sigpending }, /* 163 = sigpending */
|
2002-03-28 13:36:14 +03:00
|
|
|
{ 3, s(struct irix_sys_sigprocmask_args), 0,
|
|
|
|
irix_sys_sigprocmask }, /* 164 = sigprocmask */
|
2001-12-08 14:17:37 +03:00
|
|
|
{ 1, s(struct svr4_sys_sigsuspend_args), 0,
|
|
|
|
svr4_sys_sigsuspend }, /* 165 = sigsuspend */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 166 = unimplemented sigpoll_sys */
|
2002-03-16 16:29:42 +03:00
|
|
|
{ 2, s(struct irix_sys_swapctl_args), 0,
|
|
|
|
irix_sys_swapctl }, /* 167 = swapctl */
|
2001-12-25 22:04:18 +03:00
|
|
|
{ 1, s(struct irix_sys_getcontext_args), 0,
|
|
|
|
irix_sys_getcontext }, /* 168 = getcontext */
|
|
|
|
{ 1, s(struct irix_sys_setcontext_args), 0,
|
|
|
|
irix_sys_setcontext }, /* 169 = setcontext */
|
2001-12-26 14:04:20 +03:00
|
|
|
{ 5, s(struct irix_sys_waitsys_args), 0,
|
|
|
|
irix_sys_waitsys }, /* 170 = waitsys */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 171 = unimplemented sigstack */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 172 = unimplemented sigaltstack */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 173 = unimplemented sigsendset */
|
2002-03-11 00:56:24 +03:00
|
|
|
{ 2, s(struct svr4_sys_statvfs_args), 0,
|
|
|
|
svr4_sys_statvfs }, /* 174 = statvfs */
|
|
|
|
{ 2, s(struct svr4_sys_fstatvfs_args), 0,
|
|
|
|
svr4_sys_fstatvfs }, /* 175 = fstatvfs */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 176 = unimplemented getpmsg */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 177 = unimplemented putpmsg */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 178 = unimplemented lchown */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 179 = unimplemented priocntl */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 180 = unimplemented sigqueue */
|
Added accept, bind, connect, getpeername, getsockname, listen, recv, recvfrom,
recvmsg, select, send, sendmsg, sendto, setsockopt, shutdown, socket, readv,
and writev. IRIX's telnet now works.
2001-12-26 00:32:30 +03:00
|
|
|
{ 3, s(struct sys_readv_args), 0,
|
|
|
|
sys_readv }, /* 181 = readv */
|
|
|
|
{ 3, s(struct sys_writev_args), 0,
|
|
|
|
sys_writev }, /* 182 = writev */
|
2002-03-26 13:52:52 +03:00
|
|
|
{ 3, s(struct sys_truncate_args), 0,
|
|
|
|
sys_truncate }, /* 183 = truncate64 */
|
|
|
|
{ 3, s(struct sys_ftruncate_args), 0,
|
|
|
|
sys_ftruncate }, /* 184 = ftruncate64 */
|
2002-04-22 09:58:46 +04:00
|
|
|
{ 7, s(struct irix_sys_mmap64_args), 0,
|
|
|
|
irix_sys_mmap64 }, /* 185 = mmap64 */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 186 = unimplemented dmi */
|
2002-04-29 00:23:21 +04:00
|
|
|
{ 4, s(struct svr4_sys_pread_args), 0,
|
|
|
|
svr4_sys_pread }, /* 187 = pread */
|
|
|
|
{ 4, s(struct svr4_sys_pwrite_args), 0,
|
|
|
|
svr4_sys_pwrite }, /* 188 = pwrite */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 189 = unimplemented fdatasync */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 190 = unimplemented sgifastpath */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 191 = unimplemented attr_get */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 192 = unimplemented attr_getf */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 193 = unimplemented attr_set */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 194 = unimplemented attr_setf */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 195 = unimplemented attr_remove */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 196 = unimplemented attr_removef */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 197 = unimplemented attr_list */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 198 = unimplemented attr_listf */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 199 = unimplemented attr_multi */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 200 = unimplemented attr_multif */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 201 = unimplemented statvfs64 */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 202 = unimplemented fstatvfs64 */
|
2001-12-22 17:43:43 +03:00
|
|
|
{ 2, s(struct irix_sys_getmountid_args), 0,
|
|
|
|
irix_sys_getmountid }, /* 203 = getmountid */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 204 = unimplemented nsproc */
|
2002-02-04 23:26:34 +03:00
|
|
|
{ 3, s(struct irix_sys_getdents64_args), 0,
|
|
|
|
irix_sys_getdents64 }, /* 205 = getdents64 */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 0, 0, 0,
|
2001-12-23 23:57:30 +03:00
|
|
|
sys_nosys }, /* 206 = unimplemented afs_syscall */
|
2001-12-23 23:15:03 +03:00
|
|
|
{ 4, s(struct irix_sys_ngetdents_args), 0,
|
|
|
|
irix_sys_ngetdents }, /* 207 = ngetdents */
|
2002-02-04 23:26:34 +03:00
|
|
|
{ 4, s(struct irix_sys_ngetdents64_args), 0,
|
|
|
|
irix_sys_ngetdents64 }, /* 208 = ngetdents64 */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 0, 0, 0,
|
2001-12-23 23:57:30 +03:00
|
|
|
sys_nosys }, /* 209 = unimplemented sgi_sesmgr */
|
2002-04-28 21:21:58 +04:00
|
|
|
{ 6, s(struct irix_sys_pidsprocsp_args), 0,
|
|
|
|
irix_sys_pidsprocsp }, /* 210 = pidsprocsp */
|
2001-11-28 15:00:53 +03:00
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 211 = unimplemented rexec */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 212 = unimplemented timer_create */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 213 = unimplemented timer_delete */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 214 = unimplemented timer_settime */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 215 = unimplemented timer_gettime */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 216 = unimplemented timer_setoverrun */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 217 = unimplemented sched_rr_get_interval */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 218 = unimplemented sched_yield */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 219 = unimplemented sched_getscheduler */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 220 = unimplemented sched_setscheduler */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 221 = unimplemented sched_getparam */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 222 = unimplemented sched_setparam */
|
2002-04-29 18:40:23 +04:00
|
|
|
{ 2, s(struct irix_sys_usync_cntl_args), 0,
|
|
|
|
irix_sys_usync_cntl }, /* 223 = usync_cntl */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 224 = unimplemented psema_cntl */
|
2001-09-22 22:51:35 +04:00
|
|
|
{ 0, 0, 0,
|
2001-11-28 15:00:53 +03:00
|
|
|
sys_nosys }, /* 225 = unimplemented restartreturn */
|
2001-12-23 23:57:30 +03:00
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 226 = unimplemented sysget */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 227 = unimplemented xpg4_recvmsg */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 228 = unimplemented umfscall */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 229 = unimplemented nsproctid */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 230 = unimplemented rexec_complete */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 231 = unimplemented xpg4_sigaltstack */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 232 = unimplemented xpg4_sigaltstack */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 233 = unimplemented xpg4_setregid */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 234 = unimplemented linkfollow */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 235 = unimplemented utimets */
|
2002-11-01 22:30:28 +03:00
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 236 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 237 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 238 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 239 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 240 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 241 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 242 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 243 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 244 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 245 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 246 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 247 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 248 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 249 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 250 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 251 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 252 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 253 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 254 = filler */
|
|
|
|
{ 0, 0, 0,
|
|
|
|
sys_nosys }, /* 255 = filler */
|
2001-09-22 22:51:35 +04:00
|
|
|
};
|
|
|
|
|