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