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