blob: 90aead6989b82b0802cf0a8eca484b717831806d [file] [log] [blame]
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001/*
2 * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
3 * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * 3. The name of the author may not be used to endorse or promote products
15 * derived from this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $Id$
29 */
30
31 { 0, 0, sys_setup, "setup" }, /* 0 */
32 { 1, TP, sys_exit, "_exit" }, /* 1 */
33 { 0, TP, sys_fork, "fork" }, /* 2 */
34 { 3, 0, sys_read, "read" }, /* 3 */
35 { 3, 0, sys_write, "write" }, /* 4 */
36 { 3, TF, sys_open, "open" }, /* 5 */
37 { 1, 0, sys_close, "close" }, /* 6 */
38 { 3, TP, sys_waitpid, "waitpid" }, /* 7 */
39 { 2, TF, sys_creat, "creat" }, /* 8 */
40 { 2, TF, sys_link, "link" }, /* 9 */
41 { 1, TF, sys_unlink, "unlink" }, /* 10 */
42 { 3, TF|TP, sys_execve, "execve" }, /* 11 */
43 { 1, TF, sys_chdir, "chdir" }, /* 12 */
44 { 1, 0, sys_time, "time" }, /* 13 */
45 { 3, TF, sys_mknod, "mknod" }, /* 14 */
46 { 2, TF, sys_chmod, "chmod" }, /* 15 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +000047#ifdef M68K
48 { 3, TF, sys_chown, "chown" }, /* 16 */
49#else
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000050 { 3, TF, sys_chown, "lchown" }, /* 16 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +000051#endif
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000052 { 0, 0, sys_break, "break" }, /* 17 */
53 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
54 { 3, 0, sys_lseek, "lseek" }, /* 19 */
55 { 0, 0, sys_getpid, "getpid" }, /* 20 */
56 { 5, TF, sys_mount, "mount" }, /* 21 */
Wichert Akkermandacfb6e1999-06-03 14:21:07 +000057 { 1, TF, sys_umount, "oldumount" }, /* 22 */
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000058 { 1, 0, sys_setuid, "setuid" }, /* 23 */
59 { 0, 0, sys_getuid, "getuid" }, /* 24 */
60 { 1, 0, sys_stime, "stime" }, /* 25 */
61 { 4, 0, sys_ptrace, "ptrace" }, /* 26 */
62 { 1, 0, sys_alarm, "alarm" }, /* 27 */
63 { 2, 0, sys_oldfstat, "oldfstat" }, /* 28 */
64 { 0, TS, sys_pause, "pause" }, /* 29 */
65 { 2, TF, sys_utime, "utime" }, /* 30 */
66 { 2, 0, sys_stty, "stty" }, /* 31 */
67 { 2, 0, sys_gtty, "gtty" }, /* 32 */
68 { 2, TF, sys_access, "access" }, /* 33 */
69 { 1, 0, sys_nice, "nice" }, /* 34 */
70 { 0, 0, sys_ftime, "ftime" }, /* 35 */
71 { 0, 0, sys_sync, "sync" }, /* 36 */
72 { 2, TS, sys_kill, "kill" }, /* 37 */
73 { 2, TF, sys_rename, "rename" }, /* 38 */
74 { 2, TF, sys_mkdir, "mkdir" }, /* 39 */
75 { 1, TF, sys_rmdir, "rmdir" }, /* 40 */
76 { 1, 0, sys_dup, "dup" }, /* 41 */
77 { 1, 0, sys_pipe, "pipe" }, /* 42 */
78 { 1, 0, sys_times, "times" }, /* 43 */
79 { 0, 0, sys_prof, "prof" }, /* 44 */
80 { 1, 0, sys_brk, "brk" }, /* 45 */
81 { 1, 0, sys_setgid, "setgid" }, /* 46 */
82 { 0, 0, sys_getgid, "getgid" }, /* 47 */
83 { 3, TS, sys_signal, "signal" }, /* 48 */
84 { 0, 0, sys_geteuid, "geteuid" }, /* 49 */
85 { 0, 0, sys_getegid, "getegid" }, /* 50 */
86 { 1, TF, sys_acct, "acct" }, /* 51 */
Wichert Akkermandacfb6e1999-06-03 14:21:07 +000087 { 2, TF, sys_umount2, "umount" }, /* 52 */
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000088 { 0, 0, sys_lock, "lock" }, /* 53 */
89 { 3, 0, sys_ioctl, "ioctl" }, /* 54 */
90 { 3, 0, sys_fcntl, "fcntl" }, /* 55 */
91 { 0, 0, sys_mpx, "mpx" }, /* 56 */
92 { 2, 0, sys_setpgid, "setpgid" }, /* 57 */
93 { 2, 0, sys_ulimit, "ulimit" }, /* 58 */
94 { 1, 0, sys_oldolduname, "oldolduname" }, /* 59 */
95 { 1, 0, sys_umask, "umask" }, /* 60 */
96 { 1, TF, sys_chroot, "chroot" }, /* 61 */
97 { 2, 0, sys_ustat, "ustat" }, /* 62 */
98 { 2, 0, sys_dup2, "dup2" }, /* 63 */
99 { 0, 0, sys_getppid, "getppid" }, /* 64 */
100 { 0, 0, sys_getpgrp, "getpgrp" }, /* 65 */
101 { 0, 0, sys_setsid, "setsid" }, /* 66 */
102 { 3, TS, sys_sigaction, "sigaction" }, /* 67 */
103 { 0, TS, sys_siggetmask, "siggetmask" }, /* 68 */
104 { 1, TS, sys_sigsetmask, "sigsetmask" }, /* 69 */
105 { 2, 0, sys_setreuid, "setreuid" }, /* 70 */
106 { 2, 0, sys_setregid, "setregid" }, /* 71 */
107 { 3, TS, sys_sigsuspend, "sigsuspend" }, /* 72 */
108 { 1, TS, sys_sigpending, "sigpending" }, /* 73 */
109 { 2, 0, sys_sethostname, "sethostname" }, /* 74 */
110 { 2, 0, sys_setrlimit, "setrlimit" }, /* 75 */
111 { 2, 0, sys_getrlimit, "getrlimit" }, /* 76 */
112 { 2, 0, sys_getrusage, "getrusage" }, /* 77 */
113 { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 78 */
114 { 2, 0, sys_settimeofday, "settimeofday" }, /* 79 */
115 { 2, 0, sys_getgroups, "getgroups" }, /* 80 */
116 { 2, 0, sys_setgroups, "setgroups" }, /* 81 */
117 { 1, 0, sys_oldselect, "oldselect" }, /* 82 */
118 { 2, TF, sys_symlink, "symlink" }, /* 83 */
119 { 2, TF, sys_oldlstat, "oldlstat" }, /* 84 */
120 { 3, TF, sys_readlink, "readlink" }, /* 85 */
121 { 1, TF, sys_uselib, "uselib" }, /* 86 */
122 { 1, TF, sys_swapon, "swapon" }, /* 87 */
123 { 3, 0, sys_reboot, "reboot" }, /* 88 */
124 { 3, 0, sys_readdir, "readdir" }, /* 89 */
125 { 6, 0, sys_mmap, "mmap" }, /* 90 */
126 { 2, 0, sys_munmap, "munmap" }, /* 91 */
127 { 2, TF, sys_truncate, "truncate" }, /* 92 */
128 { 2, 0, sys_ftruncate, "ftruncate" }, /* 93 */
129 { 2, 0, sys_fchmod, "fchmod" }, /* 94 */
130 { 3, 0, sys_fchown, "fchown" }, /* 95 */
131 { 2, 0, sys_getpriority, "getpriority" }, /* 96 */
132 { 3, 0, sys_setpriority, "setpriority" }, /* 97 */
133 { 4, 0, sys_profil, "profil" }, /* 98 */
134 { 2, TF, sys_statfs, "statfs" }, /* 99 */
135 { 2, 0, sys_fstatfs, "fstatfs" }, /* 100 */
136 { 3, 0, sys_ioperm, "ioperm" }, /* 101 */
137 { 2, 0, sys_socketcall, "socketcall" }, /* 102 */
138 { 3, 0, sys_syslog, "syslog" }, /* 103 */
139 { 3, 0, sys_setitimer, "setitimer" }, /* 104 */
140 { 2, 0, sys_getitimer, "getitimer" }, /* 105 */
141 { 2, TF, sys_stat, "stat" }, /* 106 */
142 { 2, TF, sys_lstat, "lstat" }, /* 107 */
143 { 2, 0, sys_fstat, "fstat" }, /* 108 */
144 { 1, 0, sys_olduname, "olduname" }, /* 109 */
145 { 1, 0, sys_iopl, "iopl" }, /* 110 */
146 { 0, 0, sys_vhangup, "vhangup" }, /* 111 */
147 { 0, 0, sys_idle, "idle" }, /* 112 */
Wichert Akkermandacfb6e1999-06-03 14:21:07 +0000148 { 1, 0, sys_vm86old, "vm86old" }, /* 113 */
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000149 { 4, TP, sys_wait4, "wait4" }, /* 114 */
150 { 1, 0, sys_swapoff, "swapoff" }, /* 115 */
151 { 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */
152 { 5, 0, sys_ipc, "ipc" }, /* 117 */
153 { 1, 0, sys_fsync, "fsync" }, /* 118 */
154 { 1, TS, sys_sigreturn, "sigreturn" }, /* 119 */
155 { 2, TP, sys_clone, "clone" }, /* 120 */
156 { 2, 0, sys_setdomainname, "setdomainname" }, /* 121 */
157 { 1, 0, sys_uname, "uname" }, /* 122 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000158#ifdef M68K
159 { 4, 0, sys_cacheflush, "cacheflush" }, /* 123 */
160#else
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000161 { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 123 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000162#endif
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000163 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
164 { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
165 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
166 { 2, 0, sys_create_module, "create_module" }, /* 127 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000167 { 2, 0, sys_init_module, "init_module" }, /* 128 */
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000168 { 1, 0, sys_delete_module, "delete_module" }, /* 129 */
169 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
170 { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
171 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
172 { 1, 0, sys_fchdir, "fchdir" }, /* 133 */
173 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
174 { 3, 0, sys_sysfs, "sysfs" }, /* 135 */
175 { 1, 0, sys_personality, "personality" }, /* 136 */
176 { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 137 */
177 { 1, 0, sys_setfsuid, "setfsuid" }, /* 138 */
178 { 1, 0, sys_setfsgid, "setfsgid" }, /* 139 */
179 { 5, 0, sys_llseek, "_llseek" }, /* 140 */
180 { 3, 0, sys_getdents, "getdents" }, /* 141 */
181 { 5, 0, sys_select, "select" }, /* 142 */
182 { 2, 0, sys_flock, "flock" }, /* 143 */
183 { 3, 0, sys_msync, "msync" }, /* 144 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000184 { 3, 0, sys_readv, "readv" }, /* 145 */
185 { 3, 0, sys_writev, "writev" }, /* 146 */
186 { 1, 0, sys_getsid, "getsid" }, /* 147 */
187 { 1, 0, sys_fdatasync, "fdatasync" }, /* 148 */
188 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
189 { 1, 0, sys_mlock, "mlock" }, /* 150 */
190 { 2, 0, sys_munlock, "munlock" }, /* 151 */
191 { 2, 0, sys_mlockall, "mlockall" }, /* 152 */
192 { 1, 0, sys_munlockall, "munlockall" }, /* 153 */
193 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
194 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
195 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
196 { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */
197 { 0, 0, sys_sched_yield, "sched_yield"}, /* 158 */
198 { 1, 0, sys_sched_get_priority_max,"sched_get_priority_max"}, /* 159 */
199 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
200 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
201 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
202 { 4, 0, sys_mremap, "mremap" }, /* 163 */
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000203 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
204 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000205#ifdef M68K
206 { 5, 0, printargs, "SYS_166" }, /* 166 */
207#else
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000208 { 5, 0, printargs, "vm86" }, /* 166 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000209#endif
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000210 { 5, 0, sys_query_module, "query_module" }, /* 167 */
211 { 3, 0, sys_poll, "poll" }, /* 168 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000212 { 3, 0, printargs, "nfsservctl" }, /* 169 */
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000213 { 3, 0, sys_setresgid, "setresgid" }, /* 170 */
214 { 3, 0, sys_getresgid, "getresgid" }, /* 171 */
215 { 5, 0, printargs, "prctl" }, /* 172 */
216 { 1, TS, printargs, "rt_sigreturn" }, /* 173 */
217 { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */
218 { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */
219 { 2, TS, sys_rt_sigpending, "rt_sigpending" }, /* 176 */
220 { 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait"}, /* 177 */
221 { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo"}, /* 178 */
222 { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, /* 179 */
223
224 { 5, TF, sys_pread, "pread" }, /* 180 */
225 { 5, TF, sys_pwrite, "pwrite" }, /* 181 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000226#ifdef M68K
227 { 3, TF, sys_chown, "lchown" }, /* 182 */
228#else
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000229 { 3, TF, sys_chown, "chown" }, /* 182 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000230#endif
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000231 { 2, 0, sys_getcwd, "getcwd" }, /* 183 */
Wichert Akkerman2e2553a1999-05-09 00:29:58 +0000232 { 2, 0, sys_capget, "capget" }, /* 184 */
233 { 2, 0, sys_capset, "capset" }, /* 185 */
234 { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 186 */
235 { 4, TF, sys_sendfile, "sendfile" }, /* 187 */
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000236 { 5, 0, printargs, "SYS_188" }, /* 188 */
237 { 5, 0, printargs, "SYS_189" }, /* 189 */
238 { 0, TP, sys_vfork, "vfork" }, /* 190 */
239 { 5, 0, printargs, "SYS_191" }, /* 191 */
240 { 5, 0, printargs, "SYS_192" }, /* 192 */
241 { 5, 0, printargs, "SYS_193" }, /* 193 */
242 { 5, 0, printargs, "SYS_194" }, /* 194 */
243 { 5, 0, printargs, "SYS_195" }, /* 195 */
244 { 5, 0, printargs, "SYS_196" }, /* 196 */
245 { 5, 0, printargs, "SYS_197" }, /* 197 */
246 { 5, 0, printargs, "SYS_198" }, /* 198 */
247 { 5, 0, printargs, "SYS_199" }, /* 199 */
248
249 { 4, 0, printargs, "ipc_subcall" }, /* 200 */
250 { 4, TI, printargs, "semop" }, /* 201 */
251 { 4, TI, sys_semget, "semget" }, /* 202 */
252 { 4, TI, sys_semctl, "semctl" }, /* 203 */
253 { 4, 0, printargs, "ipc_subcall" }, /* 204 */
254 { 4, 0, printargs, "ipc_subcall" }, /* 205 */
255 { 4, 0, printargs, "ipc_subcall" }, /* 206 */
256 { 4, 0, printargs, "ipc_subcall" }, /* 207 */
257 { 4, 0, printargs, "ipc_subcall" }, /* 208 */
258 { 4, 0, printargs, "ipc_subcall" }, /* 209 */
259 { 4, 0, printargs, "ipc_subcall" }, /* 210 */
260 { 4, TI, sys_msgsnd, "msgsnd" }, /* 211 */
261 { 4, TI, sys_msgrcv, "msgrcv" }, /* 212 */
262 { 4, TI, sys_msgget, "msgget" }, /* 213 */
263 { 4, TI, sys_msgctl, "msgctl" }, /* 214 */
264 { 4, 0, printargs, "ipc_subcall" }, /* 215 */
265 { 4, 0, printargs, "ipc_subcall" }, /* 216 */
266 { 4, 0, printargs, "ipc_subcall" }, /* 217 */
267 { 4, 0, printargs, "ipc_subcall" }, /* 218 */
268 { 4, 0, printargs, "ipc_subcall" }, /* 219 */
269 { 4, 0, printargs, "ipc_subcall" }, /* 220 */
270 { 4, TI, sys_shmat, "shmat" }, /* 221 */
271 { 4, TI, sys_shmdt, "shmdt" }, /* 222 */
272 { 4, TI, sys_shmget, "shmget" }, /* 223 */
273 { 4, TI, sys_shmctl, "shmctl" }, /* 224 */
274 { 5, 0, printargs, "SYS_225" }, /* 225 */
275 { 5, 0, printargs, "SYS_226" }, /* 226 */
276 { 5, 0, printargs, "SYS_227" }, /* 227 */
277 { 5, 0, printargs, "SYS_228" }, /* 228 */
278 { 5, 0, printargs, "SYS_229" }, /* 229 */
279
280 { 8, 0, printargs, "socket_subcall"}, /* 230 */
281 { 3, TN, sys_socket, "socket" }, /* 231 */
282 { 3, TN, sys_bind, "bind" }, /* 232 */
283 { 3, TN, sys_connect, "connect" }, /* 233 */
284 { 2, TN, sys_listen, "listen" }, /* 234 */
285 { 3, TN, sys_accept, "accept" }, /* 235 */
286 { 3, TN, sys_getsockname, "getsockname" }, /* 236 */
287 { 3, TN, sys_getpeername, "getpeername" }, /* 237 */
288 { 4, TN, sys_socketpair, "socketpair" }, /* 238 */
289 { 4, TN, sys_send, "send" }, /* 239 */
290 { 4, TN, sys_recv, "recv" }, /* 240 */
291 { 6, TN, sys_sendto, "sendto" }, /* 241 */
292 { 6, TN, sys_recvfrom, "recvfrom" }, /* 242 */
293 { 2, TN, sys_shutdown, "shutdown" }, /* 243 */
294 { 5, TN, sys_setsockopt, "setsockopt" }, /* 244 */
295 { 5, TN, sys_getsockopt, "getsockopt" }, /* 245 */
296 { 5, TN, sys_sendmsg, "sendmsg" }, /* 246 */
297 { 5, TN, sys_recvmsg, "recvmsg" }, /* 247 */
298 { 5, 0, printargs, "SYS_248" }, /* 248 */
299 { 5, 0, printargs, "SYS_249" }, /* 249 */
300