17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5657b1f3dSraf# Common Development and Distribution License (the "License"). 6657b1f3dSraf# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 21*8fd04b83SRoger A. Faulkner# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 227c478bd9Sstevel@tonic-gate# Use is subject to license terms. 237c478bd9Sstevel@tonic-gate# 247c478bd9Sstevel@tonic-gatenosys NOSYS /* 0 = 1, indir */ 257c478bd9Sstevel@tonic-gateexit TRAP /* 1 = 1, exit */ 26*8fd04b83SRoger A. Faulknerfork SIMPLE /* 2 = 0, fork */ 277c478bd9Sstevel@tonic-gateread SIMPLE /* 3 = 3, read */ 287c478bd9Sstevel@tonic-gatewrite SIMPLE /* 4 = 3, write */ 297c478bd9Sstevel@tonic-gateopen SIMPLE /* 5 = 3, open */ 307c478bd9Sstevel@tonic-gateclose SIMPLE /* 6 = 1, close */ 317c478bd9Sstevel@tonic-gatewait4 SIMPLE /* 7 = 4, wait4 */ 327c478bd9Sstevel@tonic-gatecreat SIMPLE /* 8 = 2, creat */ 337c478bd9Sstevel@tonic-gatelink SIMPLE /* 9 = 2, link */ 347c478bd9Sstevel@tonic-gateunlink SIMPLE /* 10 = 1, unlink */ 357c478bd9Sstevel@tonic-gateexecv SIMPLE /* 11 = 2, execv */ 367c478bd9Sstevel@tonic-gatechdir SIMPLE /* 12 = 1, chdir */ 377c478bd9Sstevel@tonic-gatenosys NOSYS /* 13 = 0, old time */ 387c478bd9Sstevel@tonic-gatemknod SIMPLE /* 14 = 3, mknod */ 397c478bd9Sstevel@tonic-gatechmod SIMPLE /* 15 = 2, chmod */ 407c478bd9Sstevel@tonic-gatechown SIMPLE /* 16 = 3, chown; now 3 args */ 417c478bd9Sstevel@tonic-gatebrk SIMPLE /* 17 = 1, brk */ 427c478bd9Sstevel@tonic-gatenosys NOSYS /* 18 = 0, old stat */ 437c478bd9Sstevel@tonic-gatelseek SIMPLE /* 19 = 3, lseek */ 447c478bd9Sstevel@tonic-gategetpid TRAP /* 20 = 0, getpid */ 457c478bd9Sstevel@tonic-gatenosys NOSYS /* 21 = 0, old mount */ 467c478bd9Sstevel@tonic-gateumount SIMPLE /* 22 = 1, old umount */ 477c478bd9Sstevel@tonic-gatenosys NOSYS /* 23 = 0, old setuid */ 487c478bd9Sstevel@tonic-gategetuid TRAP /* 24 = 0, getuid */ 497c478bd9Sstevel@tonic-gatenosys NOSYS /* 25 = 0, old stime */ 507c478bd9Sstevel@tonic-gateptrace SIMPLE /* 26 = 5, ptrace */ 517c478bd9Sstevel@tonic-gatenosys NOSYS /* 27 = 0, old alarm */ 527c478bd9Sstevel@tonic-gatenosys NOSYS /* 28 = 0, old fstat */ 537c478bd9Sstevel@tonic-gatenosys NOSYS /* 29 = 0, opause */ 547c478bd9Sstevel@tonic-gatenosys NOSYS /* 30 = 0, old utime */ 557c478bd9Sstevel@tonic-gatenosys NOSYS /* 31 = 0, was stty */ 567c478bd9Sstevel@tonic-gatenosys NOSYS /* 32 = 0, was gtty */ 577c478bd9Sstevel@tonic-gateaccess SIMPLE /* 33 = 2, access */ 587c478bd9Sstevel@tonic-gatenosys NOSYS /* 34 = 0, old nice */ 597c478bd9Sstevel@tonic-gatenosys NOSYS /* 35 = 0, old ftime */ 607c478bd9Sstevel@tonic-gatesync SIMPLE /* 36 = 0, sync */ 617c478bd9Sstevel@tonic-gatekill SIMPLE /* 37 = 2, kill */ 627c478bd9Sstevel@tonic-gatestat SIMPLE /* 38 = 2, stat */ 637c478bd9Sstevel@tonic-gatenosys NOSYS /* 39 = 0, old setpgrp */ 647c478bd9Sstevel@tonic-gatelstat SIMPLE /* 40 = 2, lstat */ 657c478bd9Sstevel@tonic-gatedup SIMPLE /* 41 = 2, dup */ 667c478bd9Sstevel@tonic-gatepipe TRAP /* 42 = 0, pipe */ 677c478bd9Sstevel@tonic-gatenosys NOSYS /* 43 = 0, old times */ 687c478bd9Sstevel@tonic-gateprofil SIMPLE /* 44 = 4, profil */ 697c478bd9Sstevel@tonic-gatenosys NOSYS /* 45 = 0, nosys */ 707c478bd9Sstevel@tonic-gatenosys NOSYS /* 46 = 0, old setgid */ 717c478bd9Sstevel@tonic-gategetgid TRAP /* 47 = 0, getgid */ 727c478bd9Sstevel@tonic-gatenosys NOSYS /* 48 = 0, old sig */ 737c478bd9Sstevel@tonic-gatenosys NOSYS /* 49 = 0, reserved for USG */ 747c478bd9Sstevel@tonic-gatenosys NOSYS /* 50 = 0, reserved for USG */ 757c478bd9Sstevel@tonic-gatenosys NOSYS /* 51 = 1, turn acct off/on */ 767c478bd9Sstevel@tonic-gatenosys NOSYS /* 52 = 0, old set phys addr */ 777c478bd9Sstevel@tonic-gatemctl SIMPLE /* 53 = 4, memory control */ 787c478bd9Sstevel@tonic-gateioctl SIMPLE /* 54 = 3, ioctl */ 797c478bd9Sstevel@tonic-gatereboot SIMPLE /* 55 = 2, reboot */ 807c478bd9Sstevel@tonic-gatewait3 NOSYS /* 56 = 3, wait3 (per-4.0) */ 817c478bd9Sstevel@tonic-gatesymlink SIMPLE /* 57 = 2, symlink */ 827c478bd9Sstevel@tonic-gatereadlink SIMPLE /* 58 = 3, readlink */ 837c478bd9Sstevel@tonic-gateexecve SIMPLE /* 59 = 3, execve */ 847c478bd9Sstevel@tonic-gateumask SIMPLE /* 60 = 1, umask */ 857c478bd9Sstevel@tonic-gatechroot SIMPLE /* 61 = 1, chroot */ 867c478bd9Sstevel@tonic-gatefstat SIMPLE /* 62 = 2, fstat */ 877c478bd9Sstevel@tonic-gatenosys NOSYS /* 63 = 0, used internally */ 887c478bd9Sstevel@tonic-gategetpagesize SIMPLE /* 64 = 1, getpagesize */ 897c478bd9Sstevel@tonic-gatemsync SIMPLE /* 65 = 3, old msync */ 907c478bd9Sstevel@tonic-gatevfork TRAP /* 66 = 0, vfork */ 917c478bd9Sstevel@tonic-gateread SIMPLE /* 67 = 0, old vread */ 927c478bd9Sstevel@tonic-gatewrite SIMPLE /* 68 = 0, old vwrite */ 937c478bd9Sstevel@tonic-gatesbrk SIMPLE /* 69 = 1, sbrk */ 947c478bd9Sstevel@tonic-gatenullsys SIMPLE /* 70 = 1, sstk (emulated as nop) */ 957c478bd9Sstevel@tonic-gatemmap SIMPLE /* 71 = 6, mmap */ 967c478bd9Sstevel@tonic-gatenullsys SIMPLE /* 72 = 1, old vadvise (emulated as nop) */ 977c478bd9Sstevel@tonic-gatemunmap SIMPLE /* 73 = 2, munmap */ 987c478bd9Sstevel@tonic-gatemprotect SIMPLE /* 74 = 3, mprotect */ 997c478bd9Sstevel@tonic-gatemadvise SIMPLE /* 75 = 3, old madvise */ 1007c478bd9Sstevel@tonic-gatevhangup SIMPLE /* 76 = 1, vhangup */ 1017c478bd9Sstevel@tonic-gatenosys NOSYS /* 77 = 0, old vlimit */ 1027c478bd9Sstevel@tonic-gatemincore SIMPLE /* 78 = 3, mincore */ 1037c478bd9Sstevel@tonic-gategetgroups SIMPLE /* 79 = 2, getgroups */ 1047c478bd9Sstevel@tonic-gatesetgroups SIMPLE /* 80 = 2, setgroups */ 1057c478bd9Sstevel@tonic-gategetpgrp SIMPLE /* 81 = 1, getpgrp */ 1067c478bd9Sstevel@tonic-gatesetpgrp SIMPLE /* 82 = 2, setpgrp */ 1077c478bd9Sstevel@tonic-gatesetitimer SIMPLE /* 83 = 3, setitimer */ 1087c478bd9Sstevel@tonic-gatewait NOSYS /* 84 = 0, old wait & wait3 (per-4.0) */ 1097c478bd9Sstevel@tonic-gatenosys NOSYS /* 85 = 1, swapon */ 1107c478bd9Sstevel@tonic-gategetitimer SIMPLE /* 86 = 2, getitimer */ 1117c478bd9Sstevel@tonic-gategethostname SIMPLE /* 87 = 2, gethostname */ 1127c478bd9Sstevel@tonic-gatesethostname SIMPLE /* 88 = 2, sethostname */ 1137c478bd9Sstevel@tonic-gategetdtablesize SIMPLE /* 89 = 0, getdtablesize */ 1147c478bd9Sstevel@tonic-gatedup2 SIMPLE /* 90 = 2, dup2 */ 1157c478bd9Sstevel@tonic-gatenullsys SIMPLE /* 91 = 2, getdopt (not implemented) */ 1167c478bd9Sstevel@tonic-gatefcntl SIMPLE /* 92 = 3, fcntl */ 1177c478bd9Sstevel@tonic-gateselect SIMPLE /* 93 = 5, select */ 1187c478bd9Sstevel@tonic-gatenullsys SIMPLE /* 94 = 2, setdopt (not implemented) */ 1197c478bd9Sstevel@tonic-gatefsync SIMPLE /* 95 = 1, fsync */ 1207c478bd9Sstevel@tonic-gatesetpriority SIMPLE /* 96 = 3, setpriority */ 1217c478bd9Sstevel@tonic-gatesocket SIMPLE /* 97 = 3, socket */ 1227c478bd9Sstevel@tonic-gateconnect SIMPLE /* 98 = 3, connect */ 1237c478bd9Sstevel@tonic-gateaccept SIMPLE /* 99 = 3, accept */ 1247c478bd9Sstevel@tonic-gategetpriority SIMPLE /* 100 = 2, getpriority */ 1257c478bd9Sstevel@tonic-gatesend SIMPLE /* 101 = 4, send */ 1267c478bd9Sstevel@tonic-gaterecv SIMPLE /* 102 = 4, recv */ 1277c478bd9Sstevel@tonic-gatenosys NOSYS /* 103 = 0, old socketaddr */ 1287c478bd9Sstevel@tonic-gatebind SIMPLE /* 104 = 3, bind */ 1297c478bd9Sstevel@tonic-gatesetsockopt SIMPLE /* 105 = 5, setsockopt */ 1307c478bd9Sstevel@tonic-gatelisten SIMPLE /* 106 = 2, listen */ 1317c478bd9Sstevel@tonic-gatenosys NOSYS /* 107 = 0, old vtimes */ 1327c478bd9Sstevel@tonic-gatesigvec SIMPLE /* 108 = 3, sigvec */ 1337c478bd9Sstevel@tonic-gatesigblock SIMPLE /* 109 = 1, sigblock */ 1347c478bd9Sstevel@tonic-gatesigsetmask SIMPLE /* 110 = 1, sigsetmask */ 1357c478bd9Sstevel@tonic-gatesigpause SIMPLE /* 111 = 1, sigpause */ 1367c478bd9Sstevel@tonic-gatesigstack SIMPLE /* 112 = 2, sigstack */ 1377c478bd9Sstevel@tonic-gaterecvmsg SIMPLE /* 113 = 3, recvmsg */ 1387c478bd9Sstevel@tonic-gatesendmsg SIMPLE /* 114 = 3, sendmsg */ 1397c478bd9Sstevel@tonic-gatenosys NOSYS /* 115 = 0, nosys */ 1407c478bd9Sstevel@tonic-gategettimeofday SIMPLE /* 116 = 2, gettimeofday */ 1417c478bd9Sstevel@tonic-gategetrusage SIMPLE /* 117 = 2, getrusage */ 1427c478bd9Sstevel@tonic-gategetsockopt SIMPLE /* 118 = 5, getsockopt */ 1437c478bd9Sstevel@tonic-gatenosys NOSYS /* 119 = 0, nosys */ 1447c478bd9Sstevel@tonic-gatereadv SIMPLE /* 120 = 3, readv */ 1457c478bd9Sstevel@tonic-gatewritev SIMPLE /* 121 = 3, writev */ 1467c478bd9Sstevel@tonic-gatesettimeofday SIMPLE /* 122 = 2, settimeofday */ 1477c478bd9Sstevel@tonic-gatefchown SIMPLE /* 123 = 3, fchown */ 1487c478bd9Sstevel@tonic-gatefchmod SIMPLE /* 124 = 2, fchmod */ 1497c478bd9Sstevel@tonic-gaterecvfrom SIMPLE /* 125 = 6, recvfrom */ 1507c478bd9Sstevel@tonic-gatesetreuid SIMPLE /* 126 = 2, setreuid */ 1517c478bd9Sstevel@tonic-gatesetregid SIMPLE /* 127 = 2, setregid */ 1527c478bd9Sstevel@tonic-gaterename SIMPLE /* 128 = 2, rename */ 1537c478bd9Sstevel@tonic-gatetruncate SIMPLE /* 129 = 2, truncate */ 1547c478bd9Sstevel@tonic-gateftruncate SIMPLE /* 130 = 2, ftruncate */ 1557c478bd9Sstevel@tonic-gateflock SIMPLE /* 131 = 2, flock */ 1567c478bd9Sstevel@tonic-gatenosys NOSYS /* 132 = 0, nosys */ 1577c478bd9Sstevel@tonic-gatesendto SIMPLE /* 133 = 6, sendto */ 1587c478bd9Sstevel@tonic-gateshutdown SIMPLE /* 134 = 2, shutdown */ 1597c478bd9Sstevel@tonic-gatesocketpair SIMPLE /* 135 = 5, socketpair */ 1607c478bd9Sstevel@tonic-gatemkdir SIMPLE /* 136 = 2, mkdir */ 1617c478bd9Sstevel@tonic-gatermdir SIMPLE /* 137 = 1, rmdir */ 1627c478bd9Sstevel@tonic-gateutimes SIMPLE /* 138 = 2, utimes */ 1637c478bd9Sstevel@tonic-gate__sigcleanup SIMPLE /* 139 = 0, signalcleanup */ 1647c478bd9Sstevel@tonic-gateadjtime SIMPLE /* 140 = 2, adjtime */ 1657c478bd9Sstevel@tonic-gategetpeername SIMPLE /* 141 = 3, getpeername */ 1667c478bd9Sstevel@tonic-gategethostid SIMPLE /* 142 = 2, gethostid */ 1677c478bd9Sstevel@tonic-gatenosys NOSYS /* 143 = 0, old sethostid */ 1687c478bd9Sstevel@tonic-gategetrlimit SIMPLE /* 144 = 2, getrlimit */ 1697c478bd9Sstevel@tonic-gatesetrlimit SIMPLE /* 145 = 2, setrlimit */ 1707c478bd9Sstevel@tonic-gatekillpg SIMPLE /* 146 = 2, killpg */ 1717c478bd9Sstevel@tonic-gatenosys NOSYS /* 147 = 0, nosys */ 1727c478bd9Sstevel@tonic-gatenosys NOSYS /* 148 = 0, old quota */ 1737c478bd9Sstevel@tonic-gatenosys NOSYS /* 149 = 0, old qquota */ 1747c478bd9Sstevel@tonic-gategetsockname SIMPLE /* 150 = 3, getsockname */ 1757c478bd9Sstevel@tonic-gategetmsg SIMPLE /* 151 = 4, getmsg */ 1767c478bd9Sstevel@tonic-gateputmsg SIMPLE /* 152 = 4, putmsg */ 1777c478bd9Sstevel@tonic-gatepoll SIMPLE /* 153 = 3, poll */ 1787c478bd9Sstevel@tonic-gatenosys NOSYS /* 154 = 0, old nfs_mount */ 1797c478bd9Sstevel@tonic-gatenosys NOSYS /* 155 = 1, nfs_svc */ 1807c478bd9Sstevel@tonic-gategetdirentries NOSYS /* 156 = 4, getdirentries (pre-4.0) */ 1817c478bd9Sstevel@tonic-gatestatfs SIMPLE /* 157 = 2, statfs */ 1827c478bd9Sstevel@tonic-gatefstatfs SIMPLE /* 158 = 2, fstatfs */ 1837c478bd9Sstevel@tonic-gateunmount SIMPLE /* 159 = 1, unmount */ 1847c478bd9Sstevel@tonic-gatenosys NOSYS /* 160 = 0, async_daemon */ 1857c478bd9Sstevel@tonic-gatenfs_getfh SIMPLE /* 161 = 2, get file handle */ 1867c478bd9Sstevel@tonic-gategetdomainname SIMPLE /* 162 = 2, getdomainname */ 1877c478bd9Sstevel@tonic-gatesetdomainname SIMPLE /* 163 = 2, setdomainname */ 1887c478bd9Sstevel@tonic-gatenosys NOSYS /* 164 = 0, not configured */ 1897c478bd9Sstevel@tonic-gatenosys NOSYS /* 165 = 4, quotactl */ 1907c478bd9Sstevel@tonic-gateexportfs SIMPLE /* 166 = 2, exportfs */ 1917c478bd9Sstevel@tonic-gatemount SIMPLE /* 167 = 4, mount */ 1927c478bd9Sstevel@tonic-gateustat SIMPLE /* 168 = 2, ustat */ 1937c478bd9Sstevel@tonic-gatesemsys SIMPLE /* 169 = 5, semsys */ 1947c478bd9Sstevel@tonic-gatemsgsys SIMPLE /* 170 = 6, msgsys */ 1957c478bd9Sstevel@tonic-gateshmsys SIMPLE /* 171 = 4, shmsys */ 1967c478bd9Sstevel@tonic-gatenosys NOSYS /* 172 = 0, not configured */ 1977c478bd9Sstevel@tonic-gatenosys NOSYS /* 173 = 0, not configured */ 1987c478bd9Sstevel@tonic-gategetdents SIMPLE /* 174 = 3, getdents */ 1997c478bd9Sstevel@tonic-gatesetsid SIMPLE /* 175 = 1, setsid & s5 setpgrp() */ 2007c478bd9Sstevel@tonic-gatefchdir SIMPLE /* 176 = 1, fchdir */ 2017c478bd9Sstevel@tonic-gatefchroot SIMPLE /* 177 = 1, fchroot */ 2027c478bd9Sstevel@tonic-gatenosys NOSYS /* 178 = 0, not configured */ 2037c478bd9Sstevel@tonic-gateaioread SIMPLE /* 179 = 6, aioread */ 2047c478bd9Sstevel@tonic-gateaiowrite SIMPLE /* 180 = 6, aiowrite */ 2057c478bd9Sstevel@tonic-gateaiowait SIMPLE /* 181 = 1, aiowait */ 2067c478bd9Sstevel@tonic-gateaiocancel SIMPLE /* 182 = 1, aiocancel */ 2077c478bd9Sstevel@tonic-gatesigpending SIMPLE /* 183 = 1, sigpending */ 2087c478bd9Sstevel@tonic-gatenosys NOSYS /* 184 = 0, AVAILABLE */ 2097c478bd9Sstevel@tonic-gatesetpgid SIMPLE /* 185 = 2, setpgid */ 2107c478bd9Sstevel@tonic-gatepathconf SIMPLE /* 186 = 2, pathconf */ 2117c478bd9Sstevel@tonic-gatefpathconf SIMPLE /* 187 = 2, fpathconf */ 2127c478bd9Sstevel@tonic-gatesysconf SIMPLE /* 188 = 1, sysconf */ 2137c478bd9Sstevel@tonic-gateuname SIMPLE /* 189 = 1, uname */ 214