# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" # nosys NOSYS /* 0 = 1, indir */ exit TRAP /* 1 = 1, exit */ forkall TRAP /* 2 = 0, fork */ read SIMPLE /* 3 = 3, read */ write SIMPLE /* 4 = 3, write */ open SIMPLE /* 5 = 3, open */ close SIMPLE /* 6 = 1, close */ wait4 SIMPLE /* 7 = 4, wait4 */ creat SIMPLE /* 8 = 2, creat */ link SIMPLE /* 9 = 2, link */ unlink SIMPLE /* 10 = 1, unlink */ execv SIMPLE /* 11 = 2, execv */ chdir SIMPLE /* 12 = 1, chdir */ nosys NOSYS /* 13 = 0, old time */ mknod SIMPLE /* 14 = 3, mknod */ chmod SIMPLE /* 15 = 2, chmod */ chown SIMPLE /* 16 = 3, chown; now 3 args */ brk SIMPLE /* 17 = 1, brk */ nosys NOSYS /* 18 = 0, old stat */ lseek SIMPLE /* 19 = 3, lseek */ getpid TRAP /* 20 = 0, getpid */ nosys NOSYS /* 21 = 0, old mount */ umount SIMPLE /* 22 = 1, old umount */ nosys NOSYS /* 23 = 0, old setuid */ getuid TRAP /* 24 = 0, getuid */ nosys NOSYS /* 25 = 0, old stime */ ptrace SIMPLE /* 26 = 5, ptrace */ nosys NOSYS /* 27 = 0, old alarm */ nosys NOSYS /* 28 = 0, old fstat */ nosys NOSYS /* 29 = 0, opause */ nosys NOSYS /* 30 = 0, old utime */ nosys NOSYS /* 31 = 0, was stty */ nosys NOSYS /* 32 = 0, was gtty */ access SIMPLE /* 33 = 2, access */ nosys NOSYS /* 34 = 0, old nice */ nosys NOSYS /* 35 = 0, old ftime */ sync SIMPLE /* 36 = 0, sync */ kill SIMPLE /* 37 = 2, kill */ stat SIMPLE /* 38 = 2, stat */ nosys NOSYS /* 39 = 0, old setpgrp */ lstat SIMPLE /* 40 = 2, lstat */ dup SIMPLE /* 41 = 2, dup */ pipe TRAP /* 42 = 0, pipe */ nosys NOSYS /* 43 = 0, old times */ profil SIMPLE /* 44 = 4, profil */ nosys NOSYS /* 45 = 0, nosys */ nosys NOSYS /* 46 = 0, old setgid */ getgid TRAP /* 47 = 0, getgid */ nosys NOSYS /* 48 = 0, old sig */ nosys NOSYS /* 49 = 0, reserved for USG */ nosys NOSYS /* 50 = 0, reserved for USG */ nosys NOSYS /* 51 = 1, turn acct off/on */ nosys NOSYS /* 52 = 0, old set phys addr */ mctl SIMPLE /* 53 = 4, memory control */ ioctl SIMPLE /* 54 = 3, ioctl */ reboot SIMPLE /* 55 = 2, reboot */ wait3 NOSYS /* 56 = 3, wait3 (per-4.0) */ symlink SIMPLE /* 57 = 2, symlink */ readlink SIMPLE /* 58 = 3, readlink */ execve SIMPLE /* 59 = 3, execve */ umask SIMPLE /* 60 = 1, umask */ chroot SIMPLE /* 61 = 1, chroot */ fstat SIMPLE /* 62 = 2, fstat */ nosys NOSYS /* 63 = 0, used internally */ getpagesize SIMPLE /* 64 = 1, getpagesize */ msync SIMPLE /* 65 = 3, old msync */ vfork TRAP /* 66 = 0, vfork */ read SIMPLE /* 67 = 0, old vread */ write SIMPLE /* 68 = 0, old vwrite */ sbrk SIMPLE /* 69 = 1, sbrk */ nullsys SIMPLE /* 70 = 1, sstk (emulated as nop) */ mmap SIMPLE /* 71 = 6, mmap */ nullsys SIMPLE /* 72 = 1, old vadvise (emulated as nop) */ munmap SIMPLE /* 73 = 2, munmap */ mprotect SIMPLE /* 74 = 3, mprotect */ madvise SIMPLE /* 75 = 3, old madvise */ vhangup SIMPLE /* 76 = 1, vhangup */ nosys NOSYS /* 77 = 0, old vlimit */ mincore SIMPLE /* 78 = 3, mincore */ getgroups SIMPLE /* 79 = 2, getgroups */ setgroups SIMPLE /* 80 = 2, setgroups */ getpgrp SIMPLE /* 81 = 1, getpgrp */ setpgrp SIMPLE /* 82 = 2, setpgrp */ setitimer SIMPLE /* 83 = 3, setitimer */ wait NOSYS /* 84 = 0, old wait & wait3 (per-4.0) */ nosys NOSYS /* 85 = 1, swapon */ getitimer SIMPLE /* 86 = 2, getitimer */ gethostname SIMPLE /* 87 = 2, gethostname */ sethostname SIMPLE /* 88 = 2, sethostname */ getdtablesize SIMPLE /* 89 = 0, getdtablesize */ dup2 SIMPLE /* 90 = 2, dup2 */ nullsys SIMPLE /* 91 = 2, getdopt (not implemented) */ fcntl SIMPLE /* 92 = 3, fcntl */ select SIMPLE /* 93 = 5, select */ nullsys SIMPLE /* 94 = 2, setdopt (not implemented) */ fsync SIMPLE /* 95 = 1, fsync */ setpriority SIMPLE /* 96 = 3, setpriority */ socket SIMPLE /* 97 = 3, socket */ connect SIMPLE /* 98 = 3, connect */ accept SIMPLE /* 99 = 3, accept */ getpriority SIMPLE /* 100 = 2, getpriority */ send SIMPLE /* 101 = 4, send */ recv SIMPLE /* 102 = 4, recv */ nosys NOSYS /* 103 = 0, old socketaddr */ bind SIMPLE /* 104 = 3, bind */ setsockopt SIMPLE /* 105 = 5, setsockopt */ listen SIMPLE /* 106 = 2, listen */ nosys NOSYS /* 107 = 0, old vtimes */ sigvec SIMPLE /* 108 = 3, sigvec */ sigblock SIMPLE /* 109 = 1, sigblock */ sigsetmask SIMPLE /* 110 = 1, sigsetmask */ sigpause SIMPLE /* 111 = 1, sigpause */ sigstack SIMPLE /* 112 = 2, sigstack */ recvmsg SIMPLE /* 113 = 3, recvmsg */ sendmsg SIMPLE /* 114 = 3, sendmsg */ nosys NOSYS /* 115 = 0, nosys */ gettimeofday SIMPLE /* 116 = 2, gettimeofday */ getrusage SIMPLE /* 117 = 2, getrusage */ getsockopt SIMPLE /* 118 = 5, getsockopt */ nosys NOSYS /* 119 = 0, nosys */ readv SIMPLE /* 120 = 3, readv */ writev SIMPLE /* 121 = 3, writev */ settimeofday SIMPLE /* 122 = 2, settimeofday */ fchown SIMPLE /* 123 = 3, fchown */ fchmod SIMPLE /* 124 = 2, fchmod */ recvfrom SIMPLE /* 125 = 6, recvfrom */ setreuid SIMPLE /* 126 = 2, setreuid */ setregid SIMPLE /* 127 = 2, setregid */ rename SIMPLE /* 128 = 2, rename */ truncate SIMPLE /* 129 = 2, truncate */ ftruncate SIMPLE /* 130 = 2, ftruncate */ flock SIMPLE /* 131 = 2, flock */ nosys NOSYS /* 132 = 0, nosys */ sendto SIMPLE /* 133 = 6, sendto */ shutdown SIMPLE /* 134 = 2, shutdown */ socketpair SIMPLE /* 135 = 5, socketpair */ mkdir SIMPLE /* 136 = 2, mkdir */ rmdir SIMPLE /* 137 = 1, rmdir */ utimes SIMPLE /* 138 = 2, utimes */ __sigcleanup SIMPLE /* 139 = 0, signalcleanup */ adjtime SIMPLE /* 140 = 2, adjtime */ getpeername SIMPLE /* 141 = 3, getpeername */ gethostid SIMPLE /* 142 = 2, gethostid */ nosys NOSYS /* 143 = 0, old sethostid */ getrlimit SIMPLE /* 144 = 2, getrlimit */ setrlimit SIMPLE /* 145 = 2, setrlimit */ killpg SIMPLE /* 146 = 2, killpg */ nosys NOSYS /* 147 = 0, nosys */ nosys NOSYS /* 148 = 0, old quota */ nosys NOSYS /* 149 = 0, old qquota */ getsockname SIMPLE /* 150 = 3, getsockname */ getmsg SIMPLE /* 151 = 4, getmsg */ putmsg SIMPLE /* 152 = 4, putmsg */ poll SIMPLE /* 153 = 3, poll */ nosys NOSYS /* 154 = 0, old nfs_mount */ nosys NOSYS /* 155 = 1, nfs_svc */ getdirentries NOSYS /* 156 = 4, getdirentries (pre-4.0) */ statfs SIMPLE /* 157 = 2, statfs */ fstatfs SIMPLE /* 158 = 2, fstatfs */ unmount SIMPLE /* 159 = 1, unmount */ nosys NOSYS /* 160 = 0, async_daemon */ nfs_getfh SIMPLE /* 161 = 2, get file handle */ getdomainname SIMPLE /* 162 = 2, getdomainname */ setdomainname SIMPLE /* 163 = 2, setdomainname */ nosys NOSYS /* 164 = 0, not configured */ nosys NOSYS /* 165 = 4, quotactl */ exportfs SIMPLE /* 166 = 2, exportfs */ mount SIMPLE /* 167 = 4, mount */ ustat SIMPLE /* 168 = 2, ustat */ semsys SIMPLE /* 169 = 5, semsys */ msgsys SIMPLE /* 170 = 6, msgsys */ shmsys SIMPLE /* 171 = 4, shmsys */ nosys NOSYS /* 172 = 0, not configured */ nosys NOSYS /* 173 = 0, not configured */ getdents SIMPLE /* 174 = 3, getdents */ setsid SIMPLE /* 175 = 1, setsid & s5 setpgrp() */ fchdir SIMPLE /* 176 = 1, fchdir */ fchroot SIMPLE /* 177 = 1, fchroot */ nosys NOSYS /* 178 = 0, not configured */ aioread SIMPLE /* 179 = 6, aioread */ aiowrite SIMPLE /* 180 = 6, aiowrite */ aiowait SIMPLE /* 181 = 1, aiowait */ aiocancel SIMPLE /* 182 = 1, aiocancel */ sigpending SIMPLE /* 183 = 1, sigpending */ nosys NOSYS /* 184 = 0, AVAILABLE */ setpgid SIMPLE /* 185 = 2, setpgid */ pathconf SIMPLE /* 186 = 2, pathconf */ fpathconf SIMPLE /* 187 = 2, fpathconf */ sysconf SIMPLE /* 188 = 1, sysconf */ uname SIMPLE /* 189 = 1, uname */