Home | History | Annotate | Line # | Download | only in sunos
sunos_syscalls.c revision 1.22
      1 /*
      2  * System call names.
      3  *
      4  * DO NOT EDIT-- this file is automatically generated.
      5  * created from	NetBSD: syscalls.master,v 1.22 1994/11/20 21:30:03 deraadt Exp
      6  */
      7 
      8 char *sunos_syscallnames[] = {
      9 	"syscall",			/* 0 = syscall */
     10 	"exit",			/* 1 = exit */
     11 	"fork",			/* 2 = fork */
     12 	"read",			/* 3 = read */
     13 	"write",			/* 4 = write */
     14 	"sunos_open",			/* 5 = sunos_open */
     15 	"close",			/* 6 = close */
     16 	"sunos_wait4",			/* 7 = sunos_wait4 */
     17 	"sunos_creat",			/* 8 = sunos_creat */
     18 	"link",			/* 9 = link */
     19 	"unlink",			/* 10 = unlink */
     20 	"sunos_execv",			/* 11 = sunos_execv */
     21 	"chdir",			/* 12 = chdir */
     22 	"#13 (obsolete time)",		/* 13 = obsolete time */
     23 	"sunos_mknod",			/* 14 = sunos_mknod */
     24 	"chmod",			/* 15 = chmod */
     25 	"chown",			/* 16 = chown */
     26 	"break",			/* 17 = break */
     27 	"#18 (obsolete stat)",		/* 18 = obsolete stat */
     28 	"compat_43_lseek",			/* 19 = compat_43_lseek */
     29 	"getpid",			/* 20 = getpid */
     30 	"#21 (obsolete sunos_old_mount)",		/* 21 = obsolete sunos_old_mount */
     31 	"#22 (unimplemented System V umount)",		/* 22 = unimplemented System V umount */
     32 	"setuid",			/* 23 = setuid */
     33 	"getuid",			/* 24 = getuid */
     34 	"#25 (unimplemented sunos_stime)",		/* 25 = unimplemented sunos_stime */
     35 	"sunos_ptrace",			/* 26 = sunos_ptrace */
     36 	"#27 (unimplemented sunos_alarm)",		/* 27 = unimplemented sunos_alarm */
     37 	"#28 (unimplemented sunos_fstat)",		/* 28 = unimplemented sunos_fstat */
     38 	"#29 (unimplemented sunos_pause)",		/* 29 = unimplemented sunos_pause */
     39 	"#30 (unimplemented sunos_utime)",		/* 30 = unimplemented sunos_utime */
     40 	"#31 (unimplemented sunos_stty)",		/* 31 = unimplemented sunos_stty */
     41 	"#32 (unimplemented sunos_gtty)",		/* 32 = unimplemented sunos_gtty */
     42 	"access",			/* 33 = access */
     43 	"#34 (unimplemented sunos_nice)",		/* 34 = unimplemented sunos_nice */
     44 	"#35 (unimplemented sunos_ftime)",		/* 35 = unimplemented sunos_ftime */
     45 	"sync",			/* 36 = sync */
     46 	"kill",			/* 37 = kill */
     47 	"compat_43_stat",			/* 38 = compat_43_stat */
     48 	"#39 (unimplemented sunos_setpgrp)",		/* 39 = unimplemented sunos_setpgrp */
     49 	"compat_43_lstat",			/* 40 = compat_43_lstat */
     50 	"dup",			/* 41 = dup */
     51 	"pipe",			/* 42 = pipe */
     52 	"#43 (unimplemented sunos_times)",		/* 43 = unimplemented sunos_times */
     53 	"profil",			/* 44 = profil */
     54 	"#45 (unimplemented)",		/* 45 = unimplemented */
     55 	"#46 (unimplemented sunos_setgid)",		/* 46 = unimplemented sunos_setgid */
     56 	"getgid",			/* 47 = getgid */
     57 	"#48 (unimplemented sunos_ssig)",		/* 48 = unimplemented sunos_ssig */
     58 	"#49 (unimplemented reserved for USG)",		/* 49 = unimplemented reserved for USG */
     59 	"#50 (unimplemented reserved for USG)",		/* 50 = unimplemented reserved for USG */
     60 	"acct",			/* 51 = acct */
     61 	"#52 (unimplemented)",		/* 52 = unimplemented */
     62 	"sunos_mctl",			/* 53 = sunos_mctl */
     63 	"sunos_ioctl",			/* 54 = sunos_ioctl */
     64 	"reboot",			/* 55 = reboot */
     65 	"#56 (obsolete sunos_owait3)",		/* 56 = obsolete sunos_owait3 */
     66 	"symlink",			/* 57 = symlink */
     67 	"readlink",			/* 58 = readlink */
     68 	"execve",			/* 59 = execve */
     69 	"umask",			/* 60 = umask */
     70 	"chroot",			/* 61 = chroot */
     71 	"compat_43_fstat",			/* 62 = compat_43_fstat */
     72 	"#63 (unimplemented)",		/* 63 = unimplemented */
     73 	"compat_43_getpagesize",			/* 64 = compat_43_getpagesize */
     74 	"sunos_omsync",			/* 65 = sunos_omsync */
     75 	"vfork",			/* 66 = vfork */
     76 	"#67 (obsolete vread)",		/* 67 = obsolete vread */
     77 	"#68 (obsolete vwrite)",		/* 68 = obsolete vwrite */
     78 	"sbrk",			/* 69 = sbrk */
     79 	"sstk",			/* 70 = sstk */
     80 	"sunos_mmap",			/* 71 = sunos_mmap */
     81 	"vadvise",			/* 72 = vadvise */
     82 	"munmap",			/* 73 = munmap */
     83 	"mprotect",			/* 74 = mprotect */
     84 	"madvise",			/* 75 = madvise */
     85 	"sunos_vhangup",			/* 76 = sunos_vhangup */
     86 	"#77 (unimplemented vlimit)",		/* 77 = unimplemented vlimit */
     87 	"mincore",			/* 78 = mincore */
     88 	"getgroups",			/* 79 = getgroups */
     89 	"setgroups",			/* 80 = setgroups */
     90 	"getpgrp",			/* 81 = getpgrp */
     91 	"sunos_setpgid",			/* 82 = sunos_setpgid */
     92 	"setitimer",			/* 83 = setitimer */
     93 	"#84 (unimplemented { int wait ( void ) ; })",		/* 84 = unimplemented { int wait ( void ) ; } */
     94 	"swapon",			/* 85 = swapon */
     95 	"getitimer",			/* 86 = getitimer */
     96 	"compat_43_gethostname",			/* 87 = compat_43_gethostname */
     97 	"compat_43_sethostname",			/* 88 = compat_43_sethostname */
     98 	"compat_43_getdtablesize",			/* 89 = compat_43_getdtablesize */
     99 	"dup2",			/* 90 = dup2 */
    100 	"#91 (unimplemented getdopt)",		/* 91 = unimplemented getdopt */
    101 	"fcntl",			/* 92 = fcntl */
    102 	"select",			/* 93 = select */
    103 	"#94 (unimplemented setdopt)",		/* 94 = unimplemented setdopt */
    104 	"fsync",			/* 95 = fsync */
    105 	"setpriority",			/* 96 = setpriority */
    106 	"socket",			/* 97 = socket */
    107 	"connect",			/* 98 = connect */
    108 	"compat_43_accept",			/* 99 = compat_43_accept */
    109 	"getpriority",			/* 100 = getpriority */
    110 	"compat_43_send",			/* 101 = compat_43_send */
    111 	"compat_43_recv",			/* 102 = compat_43_recv */
    112 	"#103 (unimplemented old socketaddr)",		/* 103 = unimplemented old socketaddr */
    113 	"bind",			/* 104 = bind */
    114 	"sunos_setsockopt",			/* 105 = sunos_setsockopt */
    115 	"listen",			/* 106 = listen */
    116 	"#107 (unimplemented vtimes)",		/* 107 = unimplemented vtimes */
    117 	"compat_43_sigvec",			/* 108 = compat_43_sigvec */
    118 	"compat_43_sigblock",			/* 109 = compat_43_sigblock */
    119 	"compat_43_sigsetmask",			/* 110 = compat_43_sigsetmask */
    120 	"sigsuspend",			/* 111 = sigsuspend */
    121 	"compat_43_sigstack",			/* 112 = compat_43_sigstack */
    122 	"compat_43_recvmsg",			/* 113 = compat_43_recvmsg */
    123 	"compat_43_sendmsg",			/* 114 = compat_43_sendmsg */
    124 	"#115 (obsolete vtrace)",		/* 115 = obsolete vtrace */
    125 	"gettimeofday",			/* 116 = gettimeofday */
    126 	"getrusage",			/* 117 = getrusage */
    127 	"getsockopt",			/* 118 = getsockopt */
    128 	"#119 (unimplemented)",		/* 119 = unimplemented */
    129 	"readv",			/* 120 = readv */
    130 	"writev",			/* 121 = writev */
    131 	"settimeofday",			/* 122 = settimeofday */
    132 	"fchown",			/* 123 = fchown */
    133 	"fchmod",			/* 124 = fchmod */
    134 	"compat_43_recvfrom",			/* 125 = compat_43_recvfrom */
    135 	"compat_43_setreuid",			/* 126 = compat_43_setreuid */
    136 	"compat_43_setregid",			/* 127 = compat_43_setregid */
    137 	"rename",			/* 128 = rename */
    138 	"compat_43_truncate",			/* 129 = compat_43_truncate */
    139 	"compat_43_ftruncate",			/* 130 = compat_43_ftruncate */
    140 	"flock",			/* 131 = flock */
    141 	"#132 (unimplemented)",		/* 132 = unimplemented */
    142 	"sendto",			/* 133 = sendto */
    143 	"shutdown",			/* 134 = shutdown */
    144 	"socketpair",			/* 135 = socketpair */
    145 	"mkdir",			/* 136 = mkdir */
    146 	"rmdir",			/* 137 = rmdir */
    147 	"utimes",			/* 138 = utimes */
    148 	"sigreturn",			/* 139 = sigreturn */
    149 	"adjtime",			/* 140 = adjtime */
    150 	"compat_43_getpeername",			/* 141 = compat_43_getpeername */
    151 	"compat_43_gethostid",			/* 142 = compat_43_gethostid */
    152 	"#143 (unimplemented old sethostid)",		/* 143 = unimplemented old sethostid */
    153 	"sunos_getrlimit",			/* 144 = sunos_getrlimit */
    154 	"sunos_setrlimit",			/* 145 = sunos_setrlimit */
    155 	"compat_43_killpg",			/* 146 = compat_43_killpg */
    156 	"#147 (unimplemented)",		/* 147 = unimplemented */
    157 	"#148 (unimplemented)",		/* 148 = unimplemented */
    158 	"#149 (unimplemented)",		/* 149 = unimplemented */
    159 	"compat_43_getsockname",			/* 150 = compat_43_getsockname */
    160 	"#151 (unimplemented getmsg)",		/* 151 = unimplemented getmsg */
    161 	"#152 (unimplemented putmsg)",		/* 152 = unimplemented putmsg */
    162 	"sunos_poll",			/* 153 = sunos_poll */
    163 	"#154 (unimplemented)",		/* 154 = unimplemented */
    164 #ifdef NFSSERVER
    165 	"sunos_nfssvc",			/* 155 = sunos_nfssvc */
    166 #else
    167 	"#155 (unimplemented)",		/* 155 = unimplemented */
    168 #endif
    169 	"getdirentries",			/* 156 = getdirentries */
    170 	"sunos_statfs",			/* 157 = sunos_statfs */
    171 	"sunos_fstatfs",			/* 158 = sunos_fstatfs */
    172 	"sunos_unmount",			/* 159 = sunos_unmount */
    173 #ifdef NFSCLIENT
    174 	"async_daemon",			/* 160 = async_daemon */
    175 	"getfh",			/* 161 = getfh */
    176 #else
    177 	"#160 (unimplemented)",		/* 160 = unimplemented */
    178 	"#161 (unimplemented)",		/* 161 = unimplemented */
    179 #endif
    180 	"compat_09_getdomainname",			/* 162 = compat_09_getdomainname */
    181 	"compat_09_setdomainname",			/* 163 = compat_09_setdomainname */
    182 	"#164 (unimplemented rtschedule)",		/* 164 = unimplemented rtschedule */
    183 	"sunos_quotactl",			/* 165 = sunos_quotactl */
    184 	"sunos_exportfs",			/* 166 = sunos_exportfs */
    185 	"sunos_mount",			/* 167 = sunos_mount */
    186 	"sunos_ustat",			/* 168 = sunos_ustat */
    187 #ifdef SYSVSEM
    188 	"semsys",			/* 169 = semsys */
    189 #else
    190 	"#169 (unimplemented 1.0 semsys)",		/* 169 = unimplemented 1.0 semsys */
    191 #endif
    192 #ifdef SYSVMSG
    193 	"msgsys",			/* 170 = msgsys */
    194 #else
    195 	"#170 (unimplemented 1.0 msgsys)",		/* 170 = unimplemented 1.0 msgsys */
    196 #endif
    197 #ifdef SYSVSHM
    198 	"shmsys",			/* 171 = shmsys */
    199 #else
    200 	"#171 (unimplemented 1.0 shmsys)",		/* 171 = unimplemented 1.0 shmsys */
    201 #endif
    202 	"sunos_auditsys",			/* 172 = sunos_auditsys */
    203 	"#173 (unimplemented rfssys)",		/* 173 = unimplemented rfssys */
    204 	"sunos_getdents",			/* 174 = sunos_getdents */
    205 	"setsid",			/* 175 = setsid */
    206 	"fchdir",			/* 176 = fchdir */
    207 	"sunos_fchroot",			/* 177 = sunos_fchroot */
    208 	"#178 (unimplemented vpixsys)",		/* 178 = unimplemented vpixsys */
    209 	"#179 (unimplemented aioread)",		/* 179 = unimplemented aioread */
    210 	"#180 (unimplemented aiowrite)",		/* 180 = unimplemented aiowrite */
    211 	"#181 (unimplemented aiowait)",		/* 181 = unimplemented aiowait */
    212 	"#182 (unimplemented aiocancel)",		/* 182 = unimplemented aiocancel */
    213 	"sunos_sigpending",			/* 183 = sunos_sigpending */
    214 	"#184 (unimplemented)",		/* 184 = unimplemented */
    215 	"setpgid",			/* 185 = setpgid */
    216 	"#186 (unimplemented { long pathconf ( char * path , int name ) ; })",		/* 186 = unimplemented { long pathconf ( char * path , int name ) ; } */
    217 	"#187 (unimplemented { long fpathconf ( int fd , int name ) ; })",		/* 187 = unimplemented { long fpathconf ( int fd , int name ) ; } */
    218 	"sunos_sysconf",			/* 188 = sunos_sysconf */
    219 	"sunos_uname",			/* 189 = sunos_uname */
    220 };
    221