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