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