Home | History | Annotate | Line # | Download | only in sunos32
sunos32_syscalls.c revision 1.1
      1 /* $NetBSD: sunos32_syscalls.c,v 1.1 2001/02/02 07:29:42 mrg Exp $ */
      2 
      3 /*
      4  * System call names.
      5  *
      6  * DO NOT EDIT-- this file is automatically generated.
      7  * created from;	NetBSD: syscalls.master,v 1.1 2001/02/02 07:28:54 mrg Exp
      8  */
      9 
     10 #if defined(_KERNEL) && !defined(_LKM)
     11 #if defined(_KERNEL) && !defined(_LKM)
     12 #include "opt_nfsserver.h"
     13 #include "opt_sysv.h"
     14 #include "fs_nfs.h"
     15 #endif
     16 #include <sys/param.h>
     17 #include <sys/systm.h>
     18 #include <sys/signal.h>
     19 #include <sys/mount.h>
     20 #include <sys/poll.h>
     21 #include <sys/syscallargs.h>
     22 #include <compat/sunos/sunos.h>
     23 #include <compat/sunos/sunos_syscallargs.h>
     24 #include <compat/netbsd32/netbsd32.h>
     25 #include <compat/netbsd32/netbsd32_syscallargs.h>
     26 #include <compat/sunos32/sunos32.h>
     27 #include <compat/sunos32/sunos32_syscallargs.h>
     28 #endif /* _KERNEL && ! _LKM */
     29 
     30 const char *const sunos32_syscallnames[] = {
     31 	"syscall",			/* 0 = syscall */
     32 	"netbsd32_exit",			/* 1 = netbsd32_exit */
     33 	"fork",			/* 2 = fork */
     34 	"netbsd32_read",			/* 3 = netbsd32_read */
     35 	"netbsd32_write",			/* 4 = netbsd32_write */
     36 	"open",			/* 5 = open */
     37 	"netbsd32_close",			/* 6 = netbsd32_close */
     38 	"wait4",			/* 7 = wait4 */
     39 	"creat",			/* 8 = creat */
     40 	"netbsd32_link",			/* 9 = netbsd32_link */
     41 	"netbsd32_unlink",			/* 10 = netbsd32_unlink */
     42 	"execv",			/* 11 = execv */
     43 	"netbsd32_chdir",			/* 12 = netbsd32_chdir */
     44 	"#13 (obsolete old_time)",		/* 13 = obsolete old_time */
     45 	"mknod",			/* 14 = mknod */
     46 	"netbsd32_chmod",			/* 15 = netbsd32_chmod */
     47 	"netbsd32_chown",			/* 16 = netbsd32_chown */
     48 	"netbsd32_break",			/* 17 = netbsd32_break */
     49 	"#18 (obsolete old_stat)",		/* 18 = obsolete old_stat */
     50 	"compat_43_netbsd32_olseek",			/* 19 = compat_43_netbsd32_olseek */
     51 	"getpid_with_ppid",			/* 20 = getpid_with_ppid */
     52 	"#21 (obsolete sunos_old_mount)",		/* 21 = obsolete sunos_old_mount */
     53 	"#22 (unimplemented System V umount)",		/* 22 = unimplemented System V umount */
     54 	"netbsd32_setuid",			/* 23 = netbsd32_setuid */
     55 	"getuid_with_euid",			/* 24 = getuid_with_euid */
     56 	"stime",			/* 25 = stime */
     57 	"ptrace",			/* 26 = ptrace */
     58 	"#27 (unimplemented old_sunos_alarm)",		/* 27 = unimplemented old_sunos_alarm */
     59 	"#28 (unimplemented old_sunos_fstat)",		/* 28 = unimplemented old_sunos_fstat */
     60 	"#29 (unimplemented old_sunos_pause)",		/* 29 = unimplemented old_sunos_pause */
     61 	"#30 (unimplemented old_sunos_utime)",		/* 30 = unimplemented old_sunos_utime */
     62 	"#31 (unimplemented old_sunos_stty)",		/* 31 = unimplemented old_sunos_stty */
     63 	"#32 (unimplemented old_sunos_gtty)",		/* 32 = unimplemented old_sunos_gtty */
     64 	"access",			/* 33 = access */
     65 	"#34 (unimplemented old_sunos_nice)",		/* 34 = unimplemented old_sunos_nice */
     66 	"#35 (unimplemented old_sunos_ftime)",		/* 35 = unimplemented old_sunos_ftime */
     67 	"sync",			/* 36 = sync */
     68 	"netbsd32_kill",			/* 37 = netbsd32_kill */
     69 	"stat",			/* 38 = stat */
     70 	"#39 (unimplemented sunos_setpgrp)",		/* 39 = unimplemented sunos_setpgrp */
     71 	"lstat",			/* 40 = lstat */
     72 	"netbsd32_dup",			/* 41 = netbsd32_dup */
     73 	"pipe",			/* 42 = pipe */
     74 	"#43 (unimplemented sunos_times)",		/* 43 = unimplemented sunos_times */
     75 	"netbsd32_profil",			/* 44 = netbsd32_profil */
     76 	"#45 (unimplemented)",		/* 45 = unimplemented */
     77 	"netbsd32_setgid",			/* 46 = netbsd32_setgid */
     78 	"getgid_with_egid",			/* 47 = getgid_with_egid */
     79 	"#48 (unimplemented sunos_ssig)",		/* 48 = unimplemented sunos_ssig */
     80 	"#49 (unimplemented reserved for USG)",		/* 49 = unimplemented reserved for USG */
     81 	"#50 (unimplemented reserved for USG)",		/* 50 = unimplemented reserved for USG */
     82 	"netbsd32_acct",			/* 51 = netbsd32_acct */
     83 	"#52 (unimplemented)",		/* 52 = unimplemented */
     84 	"mctl",			/* 53 = mctl */
     85 	"ioctl",			/* 54 = ioctl */
     86 	"reboot",			/* 55 = reboot */
     87 	"#56 (obsolete sunos_owait3)",		/* 56 = obsolete sunos_owait3 */
     88 	"netbsd32_symlink",			/* 57 = netbsd32_symlink */
     89 	"netbsd32_readlink",			/* 58 = netbsd32_readlink */
     90 	"execve",			/* 59 = execve */
     91 	"netbsd32_umask",			/* 60 = netbsd32_umask */
     92 	"netbsd32_chroot",			/* 61 = netbsd32_chroot */
     93 	"compat_43_netbsd32_fstat43",			/* 62 = compat_43_netbsd32_fstat43 */
     94 	"#63 (unimplemented)",		/* 63 = unimplemented */
     95 	"ogetpagesize",			/* 64 = ogetpagesize */
     96 	"omsync",			/* 65 = omsync */
     97 	"vfork",			/* 66 = vfork */
     98 	"#67 (obsolete vread)",		/* 67 = obsolete vread */
     99 	"#68 (obsolete vwrite)",		/* 68 = obsolete vwrite */
    100 	"netbsd32_sbrk",			/* 69 = netbsd32_sbrk */
    101 	"netbsd32_sstk",			/* 70 = netbsd32_sstk */
    102 	"mmap",			/* 71 = mmap */
    103 	"vadvise",			/* 72 = vadvise */
    104 	"netbsd32_munmap",			/* 73 = netbsd32_munmap */
    105 	"netbsd32_mprotect",			/* 74 = netbsd32_mprotect */
    106 	"netbsd32_madvise",			/* 75 = netbsd32_madvise */
    107 	"vhangup",			/* 76 = vhangup */
    108 	"#77 (unimplemented vlimit)",		/* 77 = unimplemented vlimit */
    109 	"netbsd32_mincore",			/* 78 = netbsd32_mincore */
    110 	"netbsd32_getgroups",			/* 79 = netbsd32_getgroups */
    111 	"netbsd32_setgroups",			/* 80 = netbsd32_setgroups */
    112 	"getpgrp",			/* 81 = getpgrp */
    113 	"setpgrp",			/* 82 = setpgrp */
    114 	"netbsd32_setitimer",			/* 83 = netbsd32_setitimer */
    115 	"#84 (unimplemented { int sunos32_sys_wait ( void ) ; })",		/* 84 = unimplemented { int sunos32_sys_wait ( void ) ; } */
    116 	"compat_12_netbsd32_oswapon",			/* 85 = compat_12_netbsd32_oswapon */
    117 	"netbsd32_getitimer",			/* 86 = netbsd32_getitimer */
    118 	"compat_43_netbsd32_ogethostname",			/* 87 = compat_43_netbsd32_ogethostname */
    119 	"compat_43_netbsd32_osethostname",			/* 88 = compat_43_netbsd32_osethostname */
    120 	"ogetdtablesize",			/* 89 = ogetdtablesize */
    121 	"netbsd32_dup2",			/* 90 = netbsd32_dup2 */
    122 	"#91 (unimplemented getdopt)",		/* 91 = unimplemented getdopt */
    123 	"fcntl",			/* 92 = fcntl */
    124 	"select",			/* 93 = select */
    125 	"#94 (unimplemented setdopt)",		/* 94 = unimplemented setdopt */
    126 	"netbsd32_fsync",			/* 95 = netbsd32_fsync */
    127 	"netbsd32_setpriority",			/* 96 = netbsd32_setpriority */
    128 	"netbsd32_socket",			/* 97 = netbsd32_socket */
    129 	"netbsd32_connect",			/* 98 = netbsd32_connect */
    130 	"compat_43_netbsd32_oaccept",			/* 99 = compat_43_netbsd32_oaccept */
    131 	"netbsd32_getpriority",			/* 100 = netbsd32_getpriority */
    132 	"compat_43_netbsd32_osend",			/* 101 = compat_43_netbsd32_osend */
    133 	"compat_43_netbsd32_orecv",			/* 102 = compat_43_netbsd32_orecv */
    134 	"#103 (unimplemented old socketaddr)",		/* 103 = unimplemented old socketaddr */
    135 	"netbsd32_bind",			/* 104 = netbsd32_bind */
    136 	"setsockopt",			/* 105 = setsockopt */
    137 	"netbsd32_listen",			/* 106 = netbsd32_listen */
    138 	"#107 (unimplemented vtimes)",		/* 107 = unimplemented vtimes */
    139 	"sigvec",			/* 108 = sigvec */
    140 	"compat_43_netbsd32_sigblock",			/* 109 = compat_43_netbsd32_sigblock */
    141 	"compat_43_netbsd32_sigsetmask",			/* 110 = compat_43_netbsd32_sigsetmask */
    142 	"sigsuspend",			/* 111 = sigsuspend */
    143 	"compat_43_netbsd32_osigstack",			/* 112 = compat_43_netbsd32_osigstack */
    144 	"compat_43_netbsd32_orecvmsg",			/* 113 = compat_43_netbsd32_orecvmsg */
    145 	"compat_43_netbsd32_osendmsg",			/* 114 = compat_43_netbsd32_osendmsg */
    146 	"#115 (obsolete vtrace)",		/* 115 = obsolete vtrace */
    147 	"netbsd32_gettimeofday",			/* 116 = netbsd32_gettimeofday */
    148 	"netbsd32_getrusage",			/* 117 = netbsd32_getrusage */
    149 	"netbsd32_getsockopt",			/* 118 = netbsd32_getsockopt */
    150 	"#119 (unimplemented)",		/* 119 = unimplemented */
    151 	"netbsd32_readv",			/* 120 = netbsd32_readv */
    152 	"netbsd32_writev",			/* 121 = netbsd32_writev */
    153 	"netbsd32_settimeofday",			/* 122 = netbsd32_settimeofday */
    154 	"netbsd32_fchown",			/* 123 = netbsd32_fchown */
    155 	"netbsd32_fchmod",			/* 124 = netbsd32_fchmod */
    156 	"compat_43_netbsd32_orecvfrom",			/* 125 = compat_43_netbsd32_orecvfrom */
    157 	"netbsd32_setreuid",			/* 126 = netbsd32_setreuid */
    158 	"netbsd32_setregid",			/* 127 = netbsd32_setregid */
    159 	"netbsd32_rename",			/* 128 = netbsd32_rename */
    160 	"compat_43_netbsd32_otruncate",			/* 129 = compat_43_netbsd32_otruncate */
    161 	"compat_43_netbsd32_oftruncate",			/* 130 = compat_43_netbsd32_oftruncate */
    162 	"netbsd32_flock",			/* 131 = netbsd32_flock */
    163 	"#132 (unimplemented)",		/* 132 = unimplemented */
    164 	"netbsd32_sendto",			/* 133 = netbsd32_sendto */
    165 	"netbsd32_shutdown",			/* 134 = netbsd32_shutdown */
    166 	"netbsd32_socketpair",			/* 135 = netbsd32_socketpair */
    167 	"netbsd32_mkdir",			/* 136 = netbsd32_mkdir */
    168 	"netbsd32_rmdir",			/* 137 = netbsd32_rmdir */
    169 	"netbsd32_utimes",			/* 138 = netbsd32_utimes */
    170 	"sigreturn",			/* 139 = sigreturn */
    171 	"netbsd32_adjtime",			/* 140 = netbsd32_adjtime */
    172 	"compat_43_netbsd32_ogetpeername",			/* 141 = compat_43_netbsd32_ogetpeername */
    173 	"gethostid",			/* 142 = gethostid */
    174 	"#143 (unimplemented old sethostid)",		/* 143 = unimplemented old sethostid */
    175 	"getrlimit",			/* 144 = getrlimit */
    176 	"setrlimit",			/* 145 = setrlimit */
    177 	"compat_43_netbsd32_killpg",			/* 146 = compat_43_netbsd32_killpg */
    178 	"#147 (unimplemented)",		/* 147 = unimplemented */
    179 	"#148 (unimplemented)",		/* 148 = unimplemented */
    180 	"#149 (unimplemented)",		/* 149 = unimplemented */
    181 	"compat_43_netbsd32_ogetsockname",			/* 150 = compat_43_netbsd32_ogetsockname */
    182 	"#151 (unimplemented getmsg)",		/* 151 = unimplemented getmsg */
    183 	"#152 (unimplemented putmsg)",		/* 152 = unimplemented putmsg */
    184 	"netbsd32_poll",			/* 153 = netbsd32_poll */
    185 	"#154 (unimplemented)",		/* 154 = unimplemented */
    186 #ifdef NFSSERVER
    187 	"nfssvc",			/* 155 = nfssvc */
    188 #else
    189 	"#155 (unimplemented)",		/* 155 = unimplemented */
    190 #endif
    191 	"compat_43_netbsd32_ogetdirentries",			/* 156 = compat_43_netbsd32_ogetdirentries */
    192 	"statfs",			/* 157 = statfs */
    193 	"fstatfs",			/* 158 = fstatfs */
    194 	"unmount",			/* 159 = unmount */
    195 #ifdef NFS
    196 	"async_daemon",			/* 160 = async_daemon */
    197 	"getfh",			/* 161 = getfh */
    198 #else
    199 	"#160 (unimplemented)",		/* 160 = unimplemented */
    200 	"#161 (unimplemented)",		/* 161 = unimplemented */
    201 #endif
    202 	"compat_09_netbsd32_ogetdomainname",			/* 162 = compat_09_netbsd32_ogetdomainname */
    203 	"compat_09_netbsd32_osetdomainname",			/* 163 = compat_09_netbsd32_osetdomainname */
    204 	"#164 (unimplemented rtschedule)",		/* 164 = unimplemented rtschedule */
    205 	"quotactl",			/* 165 = quotactl */
    206 	"exportfs",			/* 166 = exportfs */
    207 	"mount",			/* 167 = mount */
    208 	"ustat",			/* 168 = ustat */
    209 #ifdef SYSVSEM
    210 	"osemsys",			/* 169 = osemsys */
    211 #else
    212 	"#169 (unimplemented semsys)",		/* 169 = unimplemented semsys */
    213 #endif
    214 #ifdef SYSVMSG
    215 	"omsgsys",			/* 170 = omsgsys */
    216 #else
    217 	"#170 (unimplemented msgsys)",		/* 170 = unimplemented msgsys */
    218 #endif
    219 #ifdef SYSVSHM
    220 	"oshmsys",			/* 171 = oshmsys */
    221 #else
    222 	"#171 (unimplemented shmsys)",		/* 171 = unimplemented shmsys */
    223 #endif
    224 	"auditsys",			/* 172 = auditsys */
    225 	"#173 (unimplemented rfssys)",		/* 173 = unimplemented rfssys */
    226 	"getdents",			/* 174 = getdents */
    227 	"setsid",			/* 175 = setsid */
    228 	"netbsd32_fchdir",			/* 176 = netbsd32_fchdir */
    229 	"netbsd32_fchroot",			/* 177 = netbsd32_fchroot */
    230 	"#178 (unimplemented vpixsys)",		/* 178 = unimplemented vpixsys */
    231 	"#179 (unimplemented aioread)",		/* 179 = unimplemented aioread */
    232 	"#180 (unimplemented aiowrite)",		/* 180 = unimplemented aiowrite */
    233 	"#181 (unimplemented aiowait)",		/* 181 = unimplemented aiowait */
    234 	"#182 (unimplemented aiocancel)",		/* 182 = unimplemented aiocancel */
    235 	"sigpending",			/* 183 = sigpending */
    236 	"#184 (unimplemented)",		/* 184 = unimplemented */
    237 	"netbsd32_setpgid",			/* 185 = netbsd32_setpgid */
    238 	"netbsd32_pathconf",			/* 186 = netbsd32_pathconf */
    239 	"netbsd32_fpathconf",			/* 187 = netbsd32_fpathconf */
    240 	"sysconf",			/* 188 = sysconf */
    241 	"uname",			/* 189 = uname */
    242 };
    243