Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl> |
| 3 | * Copyright (c) 1993, 1994, 1995, 1996 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 | { 1, 0, sys_indir, "indir" }, /* 0 */ |
| 32 | { 1, TP, sys_exit, "_exit" }, /* 1 */ |
| 33 | { 0, TP, sys_fork, "fork" }, /* 2 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 34 | { 3, TD, sys_read, "read" }, /* 3 */ |
| 35 | { 3, TD, sys_write, "write" }, /* 4 */ |
| 36 | { 3, TD|TF, sys_open, "open" }, /* 5 */ |
| 37 | { 1, TD, sys_close, "close" }, /* 6 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 38 | { 4, TP, sys_wait4, "wait4" }, /* 7 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 39 | { 2, TD|TF, sys_creat, "creat" }, /* 8 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 40 | { 2, TF, sys_link, "link" }, /* 9 */ |
| 41 | { 1, TF, sys_unlink, "unlink" }, /* 10 */ |
| 42 | { 2, TF|TP, sys_execv, "execv" }, /* 11 */ |
| 43 | { 1, TF, sys_chdir, "chdir" }, /* 12 */ |
| 44 | { 0, 0, sys_otime, "otime" }, /* 13 */ |
| 45 | { 3, TF, sys_mknod, "mknod" }, /* 14 */ |
| 46 | { 2, TF, sys_chmod, "chmod" }, /* 15 */ |
| 47 | { 3, TF, sys_chown, "chown" }, /* 16 */ |
| 48 | { 1, 0, sys_brk, "brk" }, /* 17 */ |
| 49 | { 2, TF, sys_stat, "stat" }, /* 18 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 50 | { 3, TD, sys_lseek, "lseek" }, /* 19 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 51 | { 0, 0, sys_getpid, "getpid" }, /* 20 */ |
| 52 | { 0, 0, sys_nosys, "nosys" }, /* 21 */ |
| 53 | { 1, TF, sys_umount, "umount" }, /* 22 */ |
| 54 | { 1, 0, sys_osetuid, "osetuid" }, /* 23 */ |
| 55 | { 0, 0, sys_getuid, "getuid" }, /* 24 */ |
| 56 | { 1, 0, sys_ostime, "ostime" }, /* 25 */ |
| 57 | { 5, 0, sys_ptrace, "ptrace" }, /* 26 */ |
| 58 | { 1, 0, sys_oalarm, "oalarm" }, /* 27 */ |
| 59 | { 2, 0, sys_ofstat, "ofstat" }, /* 28 */ |
| 60 | { 0, 0, sys_opause, "opause" }, /* 29 */ |
| 61 | { 2, TF, sys_outime, "outime" }, /* 30 */ |
| 62 | { 0, 0, sys_nosys, "nosys" }, /* 31 */ |
| 63 | { 0, 0, sys_nosys, "nosys" }, /* 32 */ |
| 64 | { 2, TF, sys_access, "access" }, /* 33 */ |
| 65 | { 1, 0, sys_onice, "onice" }, /* 34 */ |
| 66 | { 1, 0, sys_oftime, "oftime" }, /* 35 */ |
| 67 | { 0, 0, sys_sync, "sync" }, /* 36 */ |
| 68 | { 2, TS, sys_kill, "kill" }, /* 37 */ |
| 69 | { 2, TF, sys_stat, "stat" }, /* 38 */ |
| 70 | { 2, 0, sys_osetpgrp, "osetpgrp" }, /* 39 */ |
| 71 | { 2, TF, sys_lstat, "lstat" }, /* 40 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 72 | { 2, TD, sys_dup, "dup" }, /* 41 */ |
| 73 | { 0, TD, sys_pipe, "pipe" }, /* 42 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 74 | { 1, 0, sys_otimes, "otimes" }, /* 43 */ |
| 75 | { 4, 0, sys_profil, "profil" }, /* 44 */ |
| 76 | { 0, 0, sys_nosys, "nosys" }, /* 45 */ |
| 77 | { 1, 0, sys_osetgid, "osetgid" }, /* 46 */ |
| 78 | { 0, 0, sys_getgid, "getgid" }, /* 47 */ |
| 79 | { 2, 0, sys_ossig, "ossig" }, /* 48 */ |
| 80 | { 0, 0, sys_nosys, "nosys" }, /* 49 */ |
| 81 | { 0, 0, sys_nosys, "nosys" }, /* 50 */ |
| 82 | { 1, 0, sys_sysacct, "sysacct" }, /* 51 */ |
| 83 | { 0, 0, sys_nosys, "nosys" }, /* 52 */ |
| 84 | { 4, 0, sys_mctl, "mctl" }, /* 53 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 85 | { 3, TD, sys_ioctl, "ioctl" }, /* 54 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 86 | { 2, 0, sys_reboot, "reboot" }, /* 55 */ |
| 87 | { 3, TP, sys_owait3, "owait3" }, /* 56 */ |
| 88 | { 2, TF, sys_symlink, "symlink" }, /* 57 */ |
| 89 | { 3, TF, sys_readlink, "readlink" }, /* 58 */ |
| 90 | { 3, TF|TP, sys_execve, "execve" }, /* 59 */ |
| 91 | { 1, 0, sys_umask, "umask" }, /* 60 */ |
| 92 | { 1, TF, sys_chroot, "chroot" }, /* 61 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 93 | { 2, TD, sys_fstat, "fstat" }, /* 62 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 94 | { 0, 0, sys_nosys, "nosys" }, /* 63 */ |
| 95 | { 1, 0, sys_getpagesize, "getpagesize" }, /* 64 */ |
| 96 | { 3, 0, sys_omsync, "omsync" }, /* 65 */ |
| 97 | { 0, TP, sys_vfork, "vfork" }, /* 66 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 98 | { 0, TD, sys_read, "read" }, /* 67 */ |
| 99 | { 0, TD, sys_write, "write" }, /* 68 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 100 | { 1, 0, sys_sbrk, "sbrk" }, /* 69 */ |
| 101 | { 1, 0, sys_sstk, "sstk" }, /* 70 */ |
| 102 | { 6, 0, sys_mmap, "mmap" }, /* 71 */ |
| 103 | { 1, 0, sys_ovadvise, "ovadvise" }, /* 72 */ |
| 104 | { 2, 0, sys_munmap, "munmap" }, /* 73 */ |
| 105 | { 3, 0, sys_mprotect, "mprotect" }, /* 74 */ |
| 106 | { 3, 0, sys_omadvise, "omadvise" }, /* 75 */ |
| 107 | { 1, 0, sys_vhangup, "vhangup" }, /* 76 */ |
| 108 | { 2, 0, sys_ovlimit, "ovlimit" }, /* 77 */ |
| 109 | { 3, 0, sys_mincore, "mincore" }, /* 78 */ |
| 110 | { 2, 0, sys_getgroups, "getgroups" }, /* 79 */ |
| 111 | { 2, 0, sys_setgroups, "setgroups" }, /* 80 */ |
| 112 | { 1, 0, sys_getpgrp, "getpgrp" }, /* 81 */ |
| 113 | { 2, 0, sys_setpgrp, "setpgrp" }, /* 82 */ |
| 114 | { 3, 0, sys_setitimer, "setitimer" }, /* 83 */ |
| 115 | { 0, TP, sys_owait, "owait" }, /* 84 */ |
| 116 | { 1, TF, sys_swapon, "swapon" }, /* 85 */ |
| 117 | { 2, 0, sys_getitimer, "getitimer" }, /* 86 */ |
| 118 | { 2, 0, sys_gethostname, "gethostname" }, /* 87 */ |
| 119 | { 2, 0, sys_sethostname, "sethostname" }, /* 88 */ |
| 120 | { 0, 0, sys_getdtablesize, "getdtablesize" }, /* 89 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 121 | { 2, TD, sys_dup2, "dup2" }, /* 90 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 122 | { 2, 0, sys_getdopt, "getdopt" }, /* 91 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 123 | { 3, TD, sys_fcntl, "fcntl" }, /* 92 */ |
| 124 | { 5, TD, sys_select, "select" }, /* 93 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 125 | { 2, 0, sys_setdopt, "setdopt" }, /* 94 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 126 | { 1, TD, sys_fsync, "fsync" }, /* 95 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 127 | { 3, 0, sys_setpriority, "setpriority" }, /* 96 */ |
| 128 | { 3, TN, sys_socket, "socket" }, /* 97 */ |
| 129 | { 3, TN, sys_connect, "connect" }, /* 98 */ |
| 130 | { 3, TN, sys_accept, "accept" }, /* 99 */ |
| 131 | { 2, 0, sys_getpriority, "getpriority" }, /* 100 */ |
| 132 | { 4, TN, sys_send, "send" }, /* 101 */ |
| 133 | { 4, TN, sys_recv, "recv" }, /* 102 */ |
| 134 | { 0, 0, sys_nosys, "nosys" }, /* 103 */ |
| 135 | { 3, TN, sys_bind, "bind" }, /* 104 */ |
| 136 | { 5, TN, sys_setsockopt, "setsockopt" }, /* 105 */ |
| 137 | { 2, TN, sys_listen, "listen" }, /* 106 */ |
| 138 | { 2, 0, sys_ovtimes, "ovtimes" }, /* 107 */ |
| 139 | { 3, TS, sys_sigvec, "sigvec" }, /* 108 */ |
| 140 | { 1, TS, sys_sigblock, "sigblock" }, /* 109 */ |
| 141 | { 1, TS, sys_sigsetmask, "sigsetmask" }, /* 110 */ |
| 142 | { 1, TS, sys_sigpause, "sigpause" }, /* 111 */ |
| 143 | { 2, TS, sys_sigstack, "sigstack" }, /* 112 */ |
| 144 | { 3, TN, sys_recvmsg, "recvmsg" }, /* 113 */ |
| 145 | { 3, TN, sys_sendmsg, "sendmsg" }, /* 114 */ |
| 146 | { 3, 0, sys_vtrace, "vtrace" }, /* 115 */ |
| 147 | { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 116 */ |
| 148 | { 2, 0, sys_getrusage, "getrusage" }, /* 117 */ |
| 149 | { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */ |
| 150 | { 0, 0, sys_nosys, "nosys" }, /* 119 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 151 | { 3, TD, sys_readv, "readv" }, /* 120 */ |
| 152 | { 3, TD, sys_writev, "writev" }, /* 121 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 153 | { 2, 0, sys_settimeofday, "settimeofday" }, /* 122 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 154 | { 3, TD, sys_fchown, "fchown" }, /* 123 */ |
| 155 | { 2, TD, sys_fchmod, "fchmod" }, /* 124 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 156 | { 6, TN, sys_recvfrom, "recvfrom" }, /* 125 */ |
| 157 | { 2, 0, sys_setreuid, "setreuid" }, /* 126 */ |
| 158 | { 2, 0, sys_setregid, "setregid" }, /* 127 */ |
| 159 | { 2, TF, sys_rename, "rename" }, /* 128 */ |
| 160 | { 2, TF, sys_truncate, "truncate" }, /* 129 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 161 | { 2, TD, sys_ftruncate, "ftruncate" }, /* 130 */ |
| 162 | { 2, TD, sys_flock, "flock" }, /* 131 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 163 | { 0, 0, sys_nosys, "nosys" }, /* 132 */ |
| 164 | { 6, TN, sys_sendto, "sendto" }, /* 133 */ |
| 165 | { 2, TN, sys_shutdown, "shutdown" }, /* 134 */ |
| 166 | { 5, TN, sys_socketpair, "socketpair" }, /* 135 */ |
| 167 | { 2, TF, sys_mkdir, "mkdir" }, /* 136 */ |
| 168 | { 1, TF, sys_rmdir, "rmdir" }, /* 137 */ |
| 169 | { 2, TF, sys_utimes, "utimes" }, /* 138 */ |
| 170 | { 0, TS, sys_sigcleanup, "sigcleanup" }, /* 139 */ |
| 171 | { 2, 0, sys_adjtime, "adjtime" }, /* 140 */ |
| 172 | { 3, TN, sys_getpeername, "getpeername" }, /* 141 */ |
| 173 | { 2, 0, sys_gethostid, "gethostid" }, /* 142 */ |
| 174 | { 0, 0, sys_nosys, "nosys" }, /* 143 */ |
| 175 | { 2, 0, sys_getrlimit, "getrlimit" }, /* 144 */ |
| 176 | { 2, 0, sys_setrlimit, "setrlimit" }, /* 145 */ |
| 177 | { 2, TS, sys_killpg, "killpg" }, /* 146 */ |
| 178 | { 0, 0, sys_nosys, "nosys" }, /* 147 */ |
| 179 | { 0, 0, sys_oldquota, "oldquota" }, /* 148 */ |
| 180 | { 0, 0, sys_oldquota, "oldquota" }, /* 149 */ |
| 181 | { 3, TN, sys_getsockname, "getsockname" }, /* 150 */ |
| 182 | { 4, TN, sys_getmsg, "getmsg" }, /* 151 */ |
| 183 | { 4, TN, sys_putmsg, "putmsg" }, /* 152 */ |
| 184 | { 3, TN, sys_poll, "poll" }, /* 153 */ |
| 185 | { 0, 0, sys_nosys, "nosys" }, /* 154 */ |
| 186 | { 1, 0, sys_nfs_svc, "nfs_svc" }, /* 155 */ |
| 187 | { 4, 0, sys_getdirentries, "getdirentries" }, /* 156 */ |
| 188 | { 2, TF, sys_statfs, "statfs" }, /* 157 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 189 | { 2, TD, sys_fstatfs, "fstatfs" }, /* 158 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 190 | { 1, TF, sys_unmount, "unmount" }, /* 159 */ |
| 191 | { 0, 0, sys_async_daemon, "async_daemon" }, /* 160 */ |
| 192 | { 2, 0, sys_nfs_getfh, "nfs_getfh" }, /* 161 */ |
| 193 | { 2, 0, sys_getdomainname, "getdomainname" }, /* 162 */ |
| 194 | { 2, 0, sys_setdomainname, "setdomainname" }, /* 163 */ |
| 195 | { 5, 0, sys_rtschedule, "rtschedule" }, /* 164 */ |
| 196 | { 4, 0, sys_quotactl, "quotactl" }, /* 165 */ |
| 197 | { 2, 0, sys_exportfs, "exportfs" }, /* 166 */ |
| 198 | { 4, TF, sys_mount, "mount" }, /* 167 */ |
| 199 | { 2, 0, sys_ustat, "ustat" }, /* 168 */ |
| 200 | { 5, TI, sys_semsys, "semsys" }, /* 169 */ |
| 201 | { 6, TI, sys_msgsys, "msgsys" }, /* 170 */ |
| 202 | { 4, TI, sys_shmsys, "shmsys" }, /* 171 */ |
| 203 | { 4, 0, sys_auditsys, "auditsys" }, /* 172 */ |
| 204 | { 5, 0, sys_rfssys, "rfssys" }, /* 173 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 205 | { 3, TD, sys_getdents, "getdents" }, /* 174 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 206 | { 1, 0, sys_sys_setsid, "sys_setsid" }, /* 175 */ |
Roland McGrath | 2fe7b13 | 2005-07-05 03:25:35 +0000 | [diff] [blame] | 207 | { 1, TD, sys_fchdir, "fchdir" }, /* 176 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 208 | { 1, 0, sys_fchroot, "fchroot" }, /* 177 */ |
| 209 | { 2, 0, sys_vpixsys, "vpixsys" }, /* 178 */ |
| 210 | { 6, 0, sys_aioread, "aioread" }, /* 179 */ |
| 211 | { 6, 0, sys_aiowrite, "aiowrite" }, /* 180 */ |
| 212 | { 1, 0, sys_aiowait, "aiowait" }, /* 181 */ |
| 213 | { 1, 0, sys_aiocancel, "aiocancel" }, /* 182 */ |
| 214 | { 1, TS, sys_sigpending, "sigpending" }, /* 183 */ |
| 215 | { 0, 0, sys_errsys, "errsys" }, /* 184 */ |
| 216 | { 2, 0, sys_setpgid, "setpgid" }, /* 185 */ |
| 217 | { 2, TF, sys_pathconf, "pathconf" }, /* 186 */ |
| 218 | { 2, 0, sys_fpathconf, "fpathconf" }, /* 187 */ |
| 219 | { 1, 0, sys_sysconf, "sysconf" }, /* 188 */ |
| 220 | { 1, 0, sys_uname, "uname" }, /* 189 */ |
| 221 | { 0, 0, sys_nosys, "nosys" }, /* 190 */ |
| 222 | { 0, 0, sys_nosys, "nosys" }, /* 191 */ |
| 223 | { 0, 0, sys_nosys, "nosys" }, /* 192 */ |
| 224 | { 0, 0, sys_nosys, "nosys" }, /* 193 */ |
| 225 | { 0, 0, sys_nosys, "nosys" }, /* 194 */ |
| 226 | { 0, 0, sys_nosys, "nosys" }, /* 195 */ |
| 227 | { 0, 0, sys_nosys, "nosys" }, /* 196 */ |
| 228 | { 0, 0, sys_nosys, "nosys" }, /* 197 */ |
| 229 | { 0, 0, sys_nosys, "nosys" }, /* 198 */ |
| 230 | { 0, 0, sys_nosys, "nosys" }, /* 199 */ |
| 231 | { 4, TI, sys_semctl, "semctl" }, /* 200 */ |
| 232 | { 4, TI, sys_semget, "semget" }, /* 201 */ |
| 233 | { 4, TI, sys_semop, "semop" }, /* 202 */ |
| 234 | { 5, TI, sys_msgget, "msgget" }, /* 203 */ |
| 235 | { 5, TI, sys_msgctl, "msgctl" }, /* 204 */ |
| 236 | { 5, TI, sys_msgrcv, "msgrcv" }, /* 205 */ |
| 237 | { 5, TI, sys_msgsnd, "msgsnd" }, /* 206 */ |
| 238 | { 3, TI, sys_shmat, "shmat" }, /* 207 */ |
| 239 | { 3, TI, sys_shmctl, "shmctl" }, /* 208 */ |
| 240 | { 3, TI, sys_shmdt, "shmdt" }, /* 209 */ |
| 241 | { 3, TI, sys_shmget, "shmget" }, /* 210 */ |