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