xref: /freebsd/sys/kern/syscalls.c (revision 5ebc7e6281887681c3a348a5a4c902e262ccd656)
1 /*
2  * System call names.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * created from	$Id: syscalls.master,v 1.14 1995/03/25 16:52:11 davidg Exp $
6  */
7 
8 char *syscallnames[] = {
9 	"syscall",			/* 0 = syscall */
10 	"exit",			/* 1 = exit */
11 	"fork",			/* 2 = fork */
12 	"read",			/* 3 = read */
13 	"write",			/* 4 = write */
14 	"open",			/* 5 = open */
15 	"close",			/* 6 = close */
16 	"wait4",			/* 7 = wait4 */
17 	"old.creat",		/* 8 = old creat */
18 	"link",			/* 9 = link */
19 	"unlink",			/* 10 = unlink */
20 	"obs_execv",			/* 11 = obsolete execv */
21 	"chdir",			/* 12 = chdir */
22 	"fchdir",			/* 13 = fchdir */
23 	"mknod",			/* 14 = mknod */
24 	"chmod",			/* 15 = chmod */
25 	"chown",			/* 16 = chown */
26 	"break",			/* 17 = break */
27 	"getfsstat",			/* 18 = getfsstat */
28 	"old.lseek",		/* 19 = old lseek */
29 	"getpid",			/* 20 = getpid */
30 	"mount",			/* 21 = mount */
31 	"unmount",			/* 22 = unmount */
32 	"setuid",			/* 23 = setuid */
33 	"getuid",			/* 24 = getuid */
34 	"geteuid",			/* 25 = geteuid */
35 	"ptrace",			/* 26 = ptrace */
36 	"recvmsg",			/* 27 = recvmsg */
37 	"sendmsg",			/* 28 = sendmsg */
38 	"recvfrom",			/* 29 = recvfrom */
39 	"accept",			/* 30 = accept */
40 	"getpeername",			/* 31 = getpeername */
41 	"getsockname",			/* 32 = getsockname */
42 	"access",			/* 33 = access */
43 	"chflags",			/* 34 = chflags */
44 	"fchflags",			/* 35 = fchflags */
45 	"sync",			/* 36 = sync */
46 	"kill",			/* 37 = kill */
47 	"old.stat",		/* 38 = old stat */
48 	"getppid",			/* 39 = getppid */
49 	"old.lstat",		/* 40 = old lstat */
50 	"dup",			/* 41 = dup */
51 	"pipe",			/* 42 = pipe */
52 	"getegid",			/* 43 = getegid */
53 	"profil",			/* 44 = profil */
54 #ifdef KTRACE
55 	"ktrace",			/* 45 = ktrace */
56 #else
57 	"#45",			/* 45 = ktrace */
58 #endif
59 	"sigaction",			/* 46 = sigaction */
60 	"getgid",			/* 47 = getgid */
61 	"sigprocmask",			/* 48 = sigprocmask */
62 	"getlogin",			/* 49 = getlogin */
63 	"setlogin",			/* 50 = setlogin */
64 	"acct",			/* 51 = acct */
65 	"sigpending",			/* 52 = sigpending */
66 	"sigaltstack",			/* 53 = sigaltstack */
67 	"ioctl",			/* 54 = ioctl */
68 	"reboot",			/* 55 = reboot */
69 	"revoke",			/* 56 = revoke */
70 	"symlink",			/* 57 = symlink */
71 	"readlink",			/* 58 = readlink */
72 	"execve",			/* 59 = execve */
73 	"umask",			/* 60 = umask */
74 	"chroot",			/* 61 = chroot */
75 	"old.fstat",		/* 62 = old fstat */
76 	"old.getkerninfo",		/* 63 = old getkerninfo */
77 	"old.getpagesize",		/* 64 = old getpagesize */
78 	"msync",			/* 65 = msync */
79 	"vfork",			/* 66 = vfork */
80 	"obs_vread",			/* 67 = obsolete vread */
81 	"obs_vwrite",			/* 68 = obsolete vwrite */
82 	"sbrk",			/* 69 = sbrk */
83 	"sstk",			/* 70 = sstk */
84 	"old.mmap",		/* 71 = old mmap */
85 	"vadvise",			/* 72 = vadvise */
86 	"munmap",			/* 73 = munmap */
87 	"mprotect",			/* 74 = mprotect */
88 	"madvise",			/* 75 = madvise */
89 	"obs_vhangup",			/* 76 = obsolete vhangup */
90 	"obs_vlimit",			/* 77 = obsolete vlimit */
91 	"mincore",			/* 78 = mincore */
92 	"getgroups",			/* 79 = getgroups */
93 	"setgroups",			/* 80 = setgroups */
94 	"getpgrp",			/* 81 = getpgrp */
95 	"setpgid",			/* 82 = setpgid */
96 	"setitimer",			/* 83 = setitimer */
97 	"old.wait",		/* 84 = old wait */
98 	"swapon",			/* 85 = swapon */
99 	"getitimer",			/* 86 = getitimer */
100 	"old.gethostname",		/* 87 = old gethostname */
101 	"old.sethostname",		/* 88 = old sethostname */
102 	"getdtablesize",			/* 89 = getdtablesize */
103 	"dup2",			/* 90 = dup2 */
104 	"#91",			/* 91 = getdopt */
105 	"fcntl",			/* 92 = fcntl */
106 	"select",			/* 93 = select */
107 	"#94",			/* 94 = setdopt */
108 	"fsync",			/* 95 = fsync */
109 	"setpriority",			/* 96 = setpriority */
110 	"socket",			/* 97 = socket */
111 	"connect",			/* 98 = connect */
112 	"old.accept",		/* 99 = old accept */
113 	"getpriority",			/* 100 = getpriority */
114 	"old.send",		/* 101 = old send */
115 	"old.recv",		/* 102 = old recv */
116 	"sigreturn",			/* 103 = sigreturn */
117 	"bind",			/* 104 = bind */
118 	"setsockopt",			/* 105 = setsockopt */
119 	"listen",			/* 106 = listen */
120 	"obs_vtimes",			/* 107 = obsolete vtimes */
121 	"old.sigvec",		/* 108 = old sigvec */
122 	"old.sigblock",		/* 109 = old sigblock */
123 	"old.sigsetmask",		/* 110 = old sigsetmask */
124 	"sigsuspend",			/* 111 = sigsuspend */
125 	"old.sigstack",		/* 112 = old sigstack */
126 	"old.recvmsg",		/* 113 = old recvmsg */
127 	"old.sendmsg",		/* 114 = old sendmsg */
128 	"obs_vtrace",			/* 115 = obsolete vtrace */
129 	"gettimeofday",			/* 116 = gettimeofday */
130 	"getrusage",			/* 117 = getrusage */
131 	"getsockopt",			/* 118 = getsockopt */
132 #ifdef vax
133 	"resuba",			/* 119 = resuba */
134 #else
135 	"#119",			/* 119 = nosys */
136 #endif
137 	"readv",			/* 120 = readv */
138 	"writev",			/* 121 = writev */
139 	"settimeofday",			/* 122 = settimeofday */
140 	"fchown",			/* 123 = fchown */
141 	"fchmod",			/* 124 = fchmod */
142 	"old.recvfrom",		/* 125 = old recvfrom */
143 	"setreuid",			/* 126 = setreuid */
144 	"setregid",			/* 127 = setregid */
145 	"rename",			/* 128 = rename */
146 	"old.truncate",		/* 129 = old truncate */
147 	"old.ftruncate",		/* 130 = old ftruncate */
148 	"flock",			/* 131 = flock */
149 	"mkfifo",			/* 132 = mkfifo */
150 	"sendto",			/* 133 = sendto */
151 	"shutdown",			/* 134 = shutdown */
152 	"socketpair",			/* 135 = socketpair */
153 	"mkdir",			/* 136 = mkdir */
154 	"rmdir",			/* 137 = rmdir */
155 	"utimes",			/* 138 = utimes */
156 	"obs_4.2",			/* 139 = obsolete 4.2 sigreturn */
157 	"adjtime",			/* 140 = adjtime */
158 	"old.getpeername",		/* 141 = old getpeername */
159 	"old.gethostid",		/* 142 = old gethostid */
160 	"old.sethostid",		/* 143 = old sethostid */
161 	"old.getrlimit",		/* 144 = old getrlimit */
162 	"old.setrlimit",		/* 145 = old setrlimit */
163 	"old.killpg",		/* 146 = old killpg */
164 	"setsid",			/* 147 = setsid */
165 	"quotactl",			/* 148 = quotactl */
166 	"old.quota",		/* 149 = old quota */
167 	"old.getsockname",		/* 150 = old getsockname */
168 	"#151",			/* 151 = nosys */
169 	"#152",			/* 152 = nosys */
170 	"#153",			/* 153 = nosys */
171 	"#154",			/* 154 = nosys */
172 #ifdef NFS
173 	"nfssvc",			/* 155 = nfssvc */
174 #else
175 	"#155",			/* 155 = nosys */
176 #endif
177 	"old.getdirentries",		/* 156 = old getdirentries */
178 	"statfs",			/* 157 = statfs */
179 	"fstatfs",			/* 158 = fstatfs */
180 	"#159",			/* 159 = nosys */
181 	"#160",			/* 160 = nosys */
182 #ifdef NFS
183 	"getfh",			/* 161 = getfh */
184 #else
185 	"#161",			/* 161 = nosys */
186 #endif
187 	"getdomainname",			/* 162 = getdomainname */
188 	"setdomainname",			/* 163 = setdomainname */
189 	"uname",			/* 164 = uname */
190 	"sysarch",			/* 165 = sysarch */
191 	"rtprio",			/* 166 = rtprio */
192 	"#167",			/* 167 = nosys */
193 	"#168",			/* 168 = nosys */
194 #ifdef SYSVSEM
195 	"semsys",			/* 169 = semsys */
196 #else
197 	"#169",			/* 169 = nosys */
198 #endif
199 #ifdef SYSVMSG
200 	"msgsys",			/* 170 = msgsys */
201 #else
202 	"#170",			/* 170 = nosys */
203 #endif
204 #ifdef SYSVSHM
205 	"shmsys",			/* 171 = shmsys */
206 #else
207 	"#171",			/* 171 = nosys */
208 #endif
209 	"#172",			/* 172 = nosys */
210 	"#173",			/* 173 = nosys */
211 	"#174",			/* 174 = nosys */
212 	"#175",			/* 175 = nosys */
213 	"ntp_adjtime",			/* 176 = ntp_adjtime */
214 	"#177",			/* 177 = nosys */
215 	"#178",			/* 178 = nosys */
216 	"#179",			/* 179 = nosys */
217 	"#180",			/* 180 = nosys */
218 	"setgid",			/* 181 = setgid */
219 	"setegid",			/* 182 = setegid */
220 	"seteuid",			/* 183 = seteuid */
221 #ifdef LFS
222 	"lfs_bmapv",			/* 184 = lfs_bmapv */
223 	"lfs_markv",			/* 185 = lfs_markv */
224 	"lfs_segclean",			/* 186 = lfs_segclean */
225 	"lfs_segwait",			/* 187 = lfs_segwait */
226 #else
227 	"#184",			/* 184 = nosys */
228 	"#185",			/* 185 = nosys */
229 	"#186",			/* 186 = nosys */
230 	"#187",			/* 187 = nosys */
231 #endif
232 	"stat",			/* 188 = stat */
233 	"fstat",			/* 189 = fstat */
234 	"lstat",			/* 190 = lstat */
235 	"pathconf",			/* 191 = pathconf */
236 	"fpathconf",			/* 192 = fpathconf */
237 	"#193",			/* 193 = nosys */
238 	"getrlimit",			/* 194 = getrlimit */
239 	"setrlimit",			/* 195 = setrlimit */
240 	"getdirentries",			/* 196 = getdirentries */
241 	"mmap",			/* 197 = mmap */
242 	"__syscall",			/* 198 = __syscall */
243 	"lseek",			/* 199 = lseek */
244 	"truncate",			/* 200 = truncate */
245 	"ftruncate",			/* 201 = ftruncate */
246 	"__sysctl",			/* 202 = __sysctl */
247 	"mlock",			/* 203 = mlock */
248 	"munlock",			/* 204 = munlock */
249 	"#205",			/* 205 = nosys */
250 	"#206",			/* 206 = nosys */
251 	"#207",			/* 207 = nosys */
252 	"#208",			/* 208 = nosys */
253 	"#209",			/* 209 = nosys */
254 	"lkmnosys",			/* 210 = lkmnosys */
255 	"lkmnosys",			/* 211 = lkmnosys */
256 	"lkmnosys",			/* 212 = lkmnosys */
257 	"lkmnosys",			/* 213 = lkmnosys */
258 	"lkmnosys",			/* 214 = lkmnosys */
259 	"lkmnosys",			/* 215 = lkmnosys */
260 	"lkmnosys",			/* 216 = lkmnosys */
261 	"lkmnosys",			/* 217 = lkmnosys */
262 	"lkmnosys",			/* 218 = lkmnosys */
263 	"lkmnosys",			/* 219 = lkmnosys */
264 };
265