NetBSD/sys/compat/sunos/sunos_syscalls.c

237 lines
8.8 KiB
C
Raw Normal View History

2000-04-09 10:49:16 +04:00
/* $NetBSD: sunos_syscalls.c,v 1.59 2000/04/09 06:49:17 mrg Exp $ */
1998-01-09 09:19:02 +03:00
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
2000-04-09 10:49:16 +04:00
* created from NetBSD: syscalls.master,v 1.54 2000/04/09 06:47:39 mrg Exp
*/
1998-02-19 06:34:15 +03:00
#if defined(_KERNEL) && !defined(_LKM)
1998-06-26 02:19:33 +04:00
#include "opt_nfsserver.h"
1998-10-20 02:41:06 +04:00
#include "opt_sysv.h"
#include "fs_nfs.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/syscallargs.h>
#include <compat/sunos/sunos.h>
#include <compat/sunos/sunos_syscallargs.h>
1998-02-19 06:34:15 +03:00
#endif /* _KERNEL && ! _LKM */
1994-10-26 02:03:22 +03:00
char *sunos_syscallnames[] = {
1993-11-10 04:01:59 +03:00
"syscall", /* 0 = syscall */
"exit", /* 1 = exit */
"fork", /* 2 = fork */
"read", /* 3 = read */
"write", /* 4 = write */
1995-10-07 09:41:34 +03:00
"open", /* 5 = open */
"close", /* 6 = close */
1995-10-07 09:41:34 +03:00
"wait4", /* 7 = wait4 */
"creat", /* 8 = creat */
"link", /* 9 = link */
"unlink", /* 10 = unlink */
1995-10-07 09:41:34 +03:00
"execv", /* 11 = execv */
"chdir", /* 12 = chdir */
2000-04-09 10:49:16 +04:00
"#13 (obsolete old_time)", /* 13 = obsolete old_time */
1995-10-07 09:41:34 +03:00
"mknod", /* 14 = mknod */
"chmod", /* 15 = chmod */
"chown", /* 16 = chown */
"break", /* 17 = break */
2000-04-09 10:49:16 +04:00
"#18 (obsolete old_stat)", /* 18 = obsolete old_stat */
1995-10-07 09:41:34 +03:00
"lseek", /* 19 = lseek */
"getpid", /* 20 = getpid */
1994-10-26 02:03:22 +03:00
"#21 (obsolete sunos_old_mount)", /* 21 = obsolete sunos_old_mount */
"#22 (unimplemented System V umount)", /* 22 = unimplemented System V umount */
"setuid", /* 23 = setuid */
"getuid", /* 24 = getuid */
1996-08-31 03:08:21 +04:00
"stime", /* 25 = stime */
1995-10-07 09:41:34 +03:00
"ptrace", /* 26 = ptrace */
2000-04-09 10:49:16 +04:00
"#27 (unimplemented old_sunos_alarm)", /* 27 = unimplemented old_sunos_alarm */
"#28 (unimplemented old_sunos_fstat)", /* 28 = unimplemented old_sunos_fstat */
"#29 (unimplemented old_sunos_pause)", /* 29 = unimplemented old_sunos_pause */
"#30 (unimplemented old_sunos_utime)", /* 30 = unimplemented old_sunos_utime */
"#31 (unimplemented old_sunos_stty)", /* 31 = unimplemented old_sunos_stty */
"#32 (unimplemented old_sunos_gtty)", /* 32 = unimplemented old_sunos_gtty */
1995-10-07 09:41:34 +03:00
"access", /* 33 = access */
2000-04-09 10:49:16 +04:00
"#34 (unimplemented old_sunos_nice)", /* 34 = unimplemented old_sunos_nice */
"#35 (unimplemented old_sunos_ftime)", /* 35 = unimplemented old_sunos_ftime */
"sync", /* 36 = sync */
"kill", /* 37 = kill */
1995-10-07 09:41:34 +03:00
"stat", /* 38 = stat */
1994-10-26 02:03:22 +03:00
"#39 (unimplemented sunos_setpgrp)", /* 39 = unimplemented sunos_setpgrp */
1995-10-07 09:41:34 +03:00
"lstat", /* 40 = lstat */
"dup", /* 41 = dup */
"pipe", /* 42 = pipe */
1994-10-26 02:03:22 +03:00
"#43 (unimplemented sunos_times)", /* 43 = unimplemented sunos_times */
"profil", /* 44 = profil */
1994-10-26 02:03:22 +03:00
"#45 (unimplemented)", /* 45 = unimplemented */
1994-11-26 03:00:11 +03:00
"setgid", /* 46 = setgid */
"getgid", /* 47 = getgid */
1994-10-26 02:03:22 +03:00
"#48 (unimplemented sunos_ssig)", /* 48 = unimplemented sunos_ssig */
"#49 (unimplemented reserved for USG)", /* 49 = unimplemented reserved for USG */
"#50 (unimplemented reserved for USG)", /* 50 = unimplemented reserved for USG */
"acct", /* 51 = acct */
1994-10-26 02:03:22 +03:00
"#52 (unimplemented)", /* 52 = unimplemented */
1995-10-07 09:41:34 +03:00
"mctl", /* 53 = mctl */
"ioctl", /* 54 = ioctl */
"reboot", /* 55 = reboot */
1994-10-26 02:03:22 +03:00
"#56 (obsolete sunos_owait3)", /* 56 = obsolete sunos_owait3 */
"symlink", /* 57 = symlink */
"readlink", /* 58 = readlink */
"execve", /* 59 = execve */
"umask", /* 60 = umask */
"chroot", /* 61 = chroot */
1995-10-07 09:41:34 +03:00
"fstat", /* 62 = fstat */
1994-10-26 02:03:22 +03:00
"#63 (unimplemented)", /* 63 = unimplemented */
1995-10-07 09:41:34 +03:00
"getpagesize", /* 64 = getpagesize */
"omsync", /* 65 = omsync */
"vfork", /* 66 = vfork */
1994-10-26 02:03:22 +03:00
"#67 (obsolete vread)", /* 67 = obsolete vread */
"#68 (obsolete vwrite)", /* 68 = obsolete vwrite */
"sbrk", /* 69 = sbrk */
"sstk", /* 70 = sstk */
1995-10-07 09:41:34 +03:00
"mmap", /* 71 = mmap */
"vadvise", /* 72 = vadvise */
"munmap", /* 73 = munmap */
"mprotect", /* 74 = mprotect */
"madvise", /* 75 = madvise */
1995-10-07 09:41:34 +03:00
"vhangup", /* 76 = vhangup */
1994-10-26 02:03:22 +03:00
"#77 (unimplemented vlimit)", /* 77 = unimplemented vlimit */
"mincore", /* 78 = mincore */
"getgroups", /* 79 = getgroups */
"setgroups", /* 80 = setgroups */
"getpgrp", /* 81 = getpgrp */
1995-10-07 09:41:34 +03:00
"setpgrp", /* 82 = setpgrp */
"setitimer", /* 83 = setitimer */
1995-10-07 09:41:34 +03:00
"#84 (unimplemented { int sunos_sys_wait ( void ) ; })", /* 84 = unimplemented { int sunos_sys_wait ( void ) ; } */
"swapon", /* 85 = swapon */
"getitimer", /* 86 = getitimer */
1995-10-07 09:41:34 +03:00
"gethostname", /* 87 = gethostname */
"sethostname", /* 88 = sethostname */
"getdtablesize", /* 89 = getdtablesize */
"dup2", /* 90 = dup2 */
1994-10-26 02:03:22 +03:00
"#91 (unimplemented getdopt)", /* 91 = unimplemented getdopt */
"fcntl", /* 92 = fcntl */
"select", /* 93 = select */
1994-10-26 02:03:22 +03:00
"#94 (unimplemented setdopt)", /* 94 = unimplemented setdopt */
"fsync", /* 95 = fsync */
"setpriority", /* 96 = setpriority */
"socket", /* 97 = socket */
"connect", /* 98 = connect */
1995-10-07 09:41:34 +03:00
"accept", /* 99 = accept */
"getpriority", /* 100 = getpriority */
1995-10-07 09:41:34 +03:00
"send", /* 101 = send */
"recv", /* 102 = recv */
1994-10-26 02:03:22 +03:00
"#103 (unimplemented old socketaddr)", /* 103 = unimplemented old socketaddr */
"bind", /* 104 = bind */
1995-10-07 09:41:34 +03:00
"setsockopt", /* 105 = setsockopt */
"listen", /* 106 = listen */
1994-10-26 02:03:22 +03:00
"#107 (unimplemented vtimes)", /* 107 = unimplemented vtimes */
1995-10-07 09:41:34 +03:00
"sigvec", /* 108 = sigvec */
"sigblock", /* 109 = sigblock */
"sigsetmask", /* 110 = sigsetmask */
"sigsuspend", /* 111 = sigsuspend */
1995-10-07 09:41:34 +03:00
"sigstack", /* 112 = sigstack */
"recvmsg", /* 113 = recvmsg */
"sendmsg", /* 114 = sendmsg */
1994-10-26 02:03:22 +03:00
"#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
"gettimeofday", /* 116 = gettimeofday */
"getrusage", /* 117 = getrusage */
"getsockopt", /* 118 = getsockopt */
1994-10-26 02:03:22 +03:00
"#119 (unimplemented)", /* 119 = unimplemented */
"readv", /* 120 = readv */
"writev", /* 121 = writev */
"settimeofday", /* 122 = settimeofday */
"fchown", /* 123 = fchown */
"fchmod", /* 124 = fchmod */
1995-10-07 09:41:34 +03:00
"recvfrom", /* 125 = recvfrom */
"setreuid", /* 126 = setreuid */
"setregid", /* 127 = setregid */
"rename", /* 128 = rename */
1995-10-07 09:41:34 +03:00
"truncate", /* 129 = truncate */
"ftruncate", /* 130 = ftruncate */
"flock", /* 131 = flock */
1994-10-26 02:03:22 +03:00
"#132 (unimplemented)", /* 132 = unimplemented */
"sendto", /* 133 = sendto */
"shutdown", /* 134 = shutdown */
"socketpair", /* 135 = socketpair */
"mkdir", /* 136 = mkdir */
"rmdir", /* 137 = rmdir */
"utimes", /* 138 = utimes */
1995-10-07 09:41:34 +03:00
"sigreturn", /* 139 = sigreturn */
"adjtime", /* 140 = adjtime */
1995-10-07 09:41:34 +03:00
"getpeername", /* 141 = getpeername */
"gethostid", /* 142 = gethostid */
1994-10-26 02:03:22 +03:00
"#143 (unimplemented old sethostid)", /* 143 = unimplemented old sethostid */
1995-10-07 09:41:34 +03:00
"getrlimit", /* 144 = getrlimit */
"setrlimit", /* 145 = setrlimit */
"killpg", /* 146 = killpg */
1994-10-26 02:03:22 +03:00
"#147 (unimplemented)", /* 147 = unimplemented */
"#148 (unimplemented)", /* 148 = unimplemented */
"#149 (unimplemented)", /* 149 = unimplemented */
1995-10-07 09:41:34 +03:00
"getsockname", /* 150 = getsockname */
1994-10-26 02:03:22 +03:00
"#151 (unimplemented getmsg)", /* 151 = unimplemented getmsg */
"#152 (unimplemented putmsg)", /* 152 = unimplemented putmsg */
1995-10-07 09:41:34 +03:00
"poll", /* 153 = poll */
1994-10-26 02:03:22 +03:00
"#154 (unimplemented)", /* 154 = unimplemented */
1993-12-12 23:46:24 +03:00
#ifdef NFSSERVER
1995-10-07 09:41:34 +03:00
"nfssvc", /* 155 = nfssvc */
1993-12-12 23:46:24 +03:00
#else
1994-10-26 02:03:22 +03:00
"#155 (unimplemented)", /* 155 = unimplemented */
1993-12-12 23:46:24 +03:00
#endif
"getdirentries", /* 156 = getdirentries */
1995-10-07 09:41:34 +03:00
"statfs", /* 157 = statfs */
"fstatfs", /* 158 = fstatfs */
"unmount", /* 159 = unmount */
#ifdef NFS
1993-12-12 23:46:24 +03:00
"async_daemon", /* 160 = async_daemon */
"getfh", /* 161 = getfh */
#else
1994-10-26 02:03:22 +03:00
"#160 (unimplemented)", /* 160 = unimplemented */
"#161 (unimplemented)", /* 161 = unimplemented */
1993-12-12 23:46:24 +03:00
#endif
1995-10-07 09:41:34 +03:00
"getdomainname", /* 162 = getdomainname */
"setdomainname", /* 163 = setdomainname */
1994-10-26 02:03:22 +03:00
"#164 (unimplemented rtschedule)", /* 164 = unimplemented rtschedule */
1995-10-07 09:41:34 +03:00
"quotactl", /* 165 = quotactl */
"exportfs", /* 166 = exportfs */
"mount", /* 167 = mount */
"ustat", /* 168 = ustat */
1993-11-14 17:56:35 +03:00
#ifdef SYSVSEM
1995-10-07 09:41:34 +03:00
"semsys", /* 169 = semsys */
1993-11-14 17:56:35 +03:00
#else
1995-10-07 09:41:34 +03:00
"#169 (unimplemented semsys)", /* 169 = unimplemented semsys */
1993-11-14 17:56:35 +03:00
#endif
#ifdef SYSVMSG
1995-10-07 09:41:34 +03:00
"msgsys", /* 170 = msgsys */
1993-11-14 17:56:35 +03:00
#else
1995-10-07 09:41:34 +03:00
"#170 (unimplemented msgsys)", /* 170 = unimplemented msgsys */
1993-11-14 17:56:35 +03:00
#endif
#ifdef SYSVSHM
1995-10-07 09:41:34 +03:00
"shmsys", /* 171 = shmsys */
#else
1995-10-07 09:41:34 +03:00
"#171 (unimplemented shmsys)", /* 171 = unimplemented shmsys */
#endif
1995-10-07 09:41:34 +03:00
"auditsys", /* 172 = auditsys */
1994-10-26 02:03:22 +03:00
"#173 (unimplemented rfssys)", /* 173 = unimplemented rfssys */
1995-10-07 09:41:34 +03:00
"getdents", /* 174 = getdents */
"setsid", /* 175 = setsid */
"fchdir", /* 176 = fchdir */
1995-10-07 09:41:34 +03:00
"fchroot", /* 177 = fchroot */
1994-10-26 02:03:22 +03:00
"#178 (unimplemented vpixsys)", /* 178 = unimplemented vpixsys */
"#179 (unimplemented aioread)", /* 179 = unimplemented aioread */
"#180 (unimplemented aiowrite)", /* 180 = unimplemented aiowrite */
"#181 (unimplemented aiowait)", /* 181 = unimplemented aiowait */
"#182 (unimplemented aiocancel)", /* 182 = unimplemented aiocancel */
1995-10-07 09:41:34 +03:00
"sigpending", /* 183 = sigpending */
1994-10-26 02:03:22 +03:00
"#184 (unimplemented)", /* 184 = unimplemented */
"setpgid", /* 185 = setpgid */
1994-11-26 03:00:11 +03:00
"pathconf", /* 186 = pathconf */
"fpathconf", /* 187 = fpathconf */
1995-10-07 09:41:34 +03:00
"sysconf", /* 188 = sysconf */
"uname", /* 189 = uname */
};