xref: /freebsd/sys/kern/syscalls.c (revision a1a4f1a0d87b594d3f17a97dc0127eec1417e6f6)
1 /*
2  * System call names.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * created from FreeBSD: src/sys/kern/syscalls.master,v 1.63 1999/08/28 00:46:19 peter 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 	"ktrace",			/* 45 = ktrace */
55 	"sigaction",			/* 46 = sigaction */
56 	"getgid",			/* 47 = getgid */
57 	"sigprocmask",			/* 48 = sigprocmask */
58 	"getlogin",			/* 49 = getlogin */
59 	"setlogin",			/* 50 = setlogin */
60 	"acct",			/* 51 = acct */
61 	"sigpending",			/* 52 = sigpending */
62 	"sigaltstack",			/* 53 = sigaltstack */
63 	"ioctl",			/* 54 = ioctl */
64 	"reboot",			/* 55 = reboot */
65 	"revoke",			/* 56 = revoke */
66 	"symlink",			/* 57 = symlink */
67 	"readlink",			/* 58 = readlink */
68 	"execve",			/* 59 = execve */
69 	"umask",			/* 60 = umask */
70 	"chroot",			/* 61 = chroot */
71 	"old.fstat",		/* 62 = old fstat */
72 	"old.getkerninfo",		/* 63 = old getkerninfo */
73 	"old.getpagesize",		/* 64 = old getpagesize */
74 	"msync",			/* 65 = msync */
75 	"vfork",			/* 66 = vfork */
76 	"obs_vread",			/* 67 = obsolete vread */
77 	"obs_vwrite",			/* 68 = obsolete vwrite */
78 	"sbrk",			/* 69 = sbrk */
79 	"sstk",			/* 70 = sstk */
80 	"old.mmap",		/* 71 = old mmap */
81 	"vadvise",			/* 72 = vadvise */
82 	"munmap",			/* 73 = munmap */
83 	"mprotect",			/* 74 = mprotect */
84 	"madvise",			/* 75 = madvise */
85 	"obs_vhangup",			/* 76 = obsolete vhangup */
86 	"obs_vlimit",			/* 77 = obsolete vlimit */
87 	"mincore",			/* 78 = mincore */
88 	"getgroups",			/* 79 = getgroups */
89 	"setgroups",			/* 80 = setgroups */
90 	"getpgrp",			/* 81 = getpgrp */
91 	"setpgid",			/* 82 = setpgid */
92 	"setitimer",			/* 83 = setitimer */
93 	"old.wait",		/* 84 = old wait */
94 	"swapon",			/* 85 = swapon */
95 	"getitimer",			/* 86 = getitimer */
96 	"old.gethostname",		/* 87 = old gethostname */
97 	"old.sethostname",		/* 88 = old sethostname */
98 	"getdtablesize",			/* 89 = getdtablesize */
99 	"dup2",			/* 90 = dup2 */
100 	"#91",			/* 91 = getdopt */
101 	"fcntl",			/* 92 = fcntl */
102 	"select",			/* 93 = select */
103 	"#94",			/* 94 = setdopt */
104 	"fsync",			/* 95 = fsync */
105 	"setpriority",			/* 96 = setpriority */
106 	"socket",			/* 97 = socket */
107 	"connect",			/* 98 = connect */
108 	"old.accept",		/* 99 = old accept */
109 	"getpriority",			/* 100 = getpriority */
110 	"old.send",		/* 101 = old send */
111 	"old.recv",		/* 102 = old recv */
112 	"sigreturn",			/* 103 = sigreturn */
113 	"bind",			/* 104 = bind */
114 	"setsockopt",			/* 105 = setsockopt */
115 	"listen",			/* 106 = listen */
116 	"obs_vtimes",			/* 107 = obsolete vtimes */
117 	"old.sigvec",		/* 108 = old sigvec */
118 	"old.sigblock",		/* 109 = old sigblock */
119 	"old.sigsetmask",		/* 110 = old sigsetmask */
120 	"sigsuspend",			/* 111 = sigsuspend */
121 	"old.sigstack",		/* 112 = old sigstack */
122 	"old.recvmsg",		/* 113 = old recvmsg */
123 	"old.sendmsg",		/* 114 = old sendmsg */
124 	"obs_vtrace",			/* 115 = obsolete vtrace */
125 	"gettimeofday",			/* 116 = gettimeofday */
126 	"getrusage",			/* 117 = getrusage */
127 	"getsockopt",			/* 118 = getsockopt */
128 	"#119",			/* 119 = resuba */
129 	"readv",			/* 120 = readv */
130 	"writev",			/* 121 = writev */
131 	"settimeofday",			/* 122 = settimeofday */
132 	"fchown",			/* 123 = fchown */
133 	"fchmod",			/* 124 = fchmod */
134 	"old.recvfrom",		/* 125 = old recvfrom */
135 	"setreuid",			/* 126 = setreuid */
136 	"setregid",			/* 127 = setregid */
137 	"rename",			/* 128 = rename */
138 	"old.truncate",		/* 129 = old truncate */
139 	"old.ftruncate",		/* 130 = old ftruncate */
140 	"flock",			/* 131 = flock */
141 	"mkfifo",			/* 132 = mkfifo */
142 	"sendto",			/* 133 = sendto */
143 	"shutdown",			/* 134 = shutdown */
144 	"socketpair",			/* 135 = socketpair */
145 	"mkdir",			/* 136 = mkdir */
146 	"rmdir",			/* 137 = rmdir */
147 	"utimes",			/* 138 = utimes */
148 	"obs_4.2",			/* 139 = obsolete 4.2 sigreturn */
149 	"adjtime",			/* 140 = adjtime */
150 	"old.getpeername",		/* 141 = old getpeername */
151 	"old.gethostid",		/* 142 = old gethostid */
152 	"old.sethostid",		/* 143 = old sethostid */
153 	"old.getrlimit",		/* 144 = old getrlimit */
154 	"old.setrlimit",		/* 145 = old setrlimit */
155 	"old.killpg",		/* 146 = old killpg */
156 	"setsid",			/* 147 = setsid */
157 	"quotactl",			/* 148 = quotactl */
158 	"old.quota",		/* 149 = old quota */
159 	"old.getsockname",		/* 150 = old getsockname */
160 	"#151",			/* 151 = sem_lock */
161 	"#152",			/* 152 = sem_wakeup */
162 	"#153",			/* 153 = asyncdaemon */
163 	"#154",			/* 154 = nosys */
164 	"nfssvc",			/* 155 = nfssvc */
165 	"old.getdirentries",		/* 156 = old getdirentries */
166 	"statfs",			/* 157 = statfs */
167 	"fstatfs",			/* 158 = fstatfs */
168 	"#159",			/* 159 = nosys */
169 	"#160",			/* 160 = nosys */
170 	"getfh",			/* 161 = getfh */
171 	"getdomainname",			/* 162 = getdomainname */
172 	"setdomainname",			/* 163 = setdomainname */
173 	"uname",			/* 164 = uname */
174 	"sysarch",			/* 165 = sysarch */
175 	"rtprio",			/* 166 = rtprio */
176 	"#167",			/* 167 = nosys */
177 	"#168",			/* 168 = nosys */
178 	"semsys",			/* 169 = semsys */
179 	"msgsys",			/* 170 = msgsys */
180 	"shmsys",			/* 171 = shmsys */
181 	"#172",			/* 172 = nosys */
182 	"pread",			/* 173 = pread */
183 	"pwrite",			/* 174 = pwrite */
184 	"#175",			/* 175 = nosys */
185 	"ntp_adjtime",			/* 176 = ntp_adjtime */
186 	"#177",			/* 177 = sfork */
187 	"#178",			/* 178 = getdescriptor */
188 	"#179",			/* 179 = setdescriptor */
189 	"#180",			/* 180 = nosys */
190 	"setgid",			/* 181 = setgid */
191 	"setegid",			/* 182 = setegid */
192 	"seteuid",			/* 183 = seteuid */
193 	"#184",			/* 184 = lfs_bmapv */
194 	"#185",			/* 185 = lfs_markv */
195 	"#186",			/* 186 = lfs_segclean */
196 	"#187",			/* 187 = lfs_segwait */
197 	"stat",			/* 188 = stat */
198 	"fstat",			/* 189 = fstat */
199 	"lstat",			/* 190 = lstat */
200 	"pathconf",			/* 191 = pathconf */
201 	"fpathconf",			/* 192 = fpathconf */
202 	"#193",			/* 193 = nosys */
203 	"getrlimit",			/* 194 = getrlimit */
204 	"setrlimit",			/* 195 = setrlimit */
205 	"getdirentries",			/* 196 = getdirentries */
206 	"mmap",			/* 197 = mmap */
207 	"__syscall",			/* 198 = __syscall */
208 	"lseek",			/* 199 = lseek */
209 	"truncate",			/* 200 = truncate */
210 	"ftruncate",			/* 201 = ftruncate */
211 	"__sysctl",			/* 202 = __sysctl */
212 	"mlock",			/* 203 = mlock */
213 	"munlock",			/* 204 = munlock */
214 	"undelete",			/* 205 = undelete */
215 	"futimes",			/* 206 = futimes */
216 	"getpgid",			/* 207 = getpgid */
217 	"#208",			/* 208 = newreboot */
218 	"poll",			/* 209 = poll */
219 	"lkmnosys",			/* 210 = lkmnosys */
220 	"lkmnosys",			/* 211 = lkmnosys */
221 	"lkmnosys",			/* 212 = lkmnosys */
222 	"lkmnosys",			/* 213 = lkmnosys */
223 	"lkmnosys",			/* 214 = lkmnosys */
224 	"lkmnosys",			/* 215 = lkmnosys */
225 	"lkmnosys",			/* 216 = lkmnosys */
226 	"lkmnosys",			/* 217 = lkmnosys */
227 	"lkmnosys",			/* 218 = lkmnosys */
228 	"lkmnosys",			/* 219 = lkmnosys */
229 	"__semctl",			/* 220 = __semctl */
230 	"semget",			/* 221 = semget */
231 	"semop",			/* 222 = semop */
232 	"semconfig",			/* 223 = semconfig */
233 	"msgctl",			/* 224 = msgctl */
234 	"msgget",			/* 225 = msgget */
235 	"msgsnd",			/* 226 = msgsnd */
236 	"msgrcv",			/* 227 = msgrcv */
237 	"shmat",			/* 228 = shmat */
238 	"shmctl",			/* 229 = shmctl */
239 	"shmdt",			/* 230 = shmdt */
240 	"shmget",			/* 231 = shmget */
241 	"clock_gettime",			/* 232 = clock_gettime */
242 	"clock_settime",			/* 233 = clock_settime */
243 	"clock_getres",			/* 234 = clock_getres */
244 	"#235",			/* 235 = timer_create */
245 	"#236",			/* 236 = timer_delete */
246 	"#237",			/* 237 = timer_settime */
247 	"#238",			/* 238 = timer_gettime */
248 	"#239",			/* 239 = timer_getoverrun */
249 	"nanosleep",			/* 240 = nanosleep */
250 	"#241",			/* 241 = nosys */
251 	"#242",			/* 242 = nosys */
252 	"#243",			/* 243 = nosys */
253 	"#244",			/* 244 = nosys */
254 	"#245",			/* 245 = nosys */
255 	"#246",			/* 246 = nosys */
256 	"#247",			/* 247 = nosys */
257 	"#248",			/* 248 = nosys */
258 	"#249",			/* 249 = nosys */
259 	"minherit",			/* 250 = minherit */
260 	"rfork",			/* 251 = rfork */
261 	"openbsd_poll",			/* 252 = openbsd_poll */
262 	"issetugid",			/* 253 = issetugid */
263 	"lchown",			/* 254 = lchown */
264 	"#255",			/* 255 = nosys */
265 	"#256",			/* 256 = nosys */
266 	"#257",			/* 257 = nosys */
267 	"#258",			/* 258 = nosys */
268 	"#259",			/* 259 = nosys */
269 	"#260",			/* 260 = nosys */
270 	"#261",			/* 261 = nosys */
271 	"#262",			/* 262 = nosys */
272 	"#263",			/* 263 = nosys */
273 	"#264",			/* 264 = nosys */
274 	"#265",			/* 265 = nosys */
275 	"#266",			/* 266 = nosys */
276 	"#267",			/* 267 = nosys */
277 	"#268",			/* 268 = nosys */
278 	"#269",			/* 269 = nosys */
279 	"#270",			/* 270 = nosys */
280 	"#271",			/* 271 = nosys */
281 	"getdents",			/* 272 = getdents */
282 	"#273",			/* 273 = nosys */
283 	"lchmod",			/* 274 = lchmod */
284 	"netbsd_lchown",			/* 275 = netbsd_lchown */
285 	"lutimes",			/* 276 = lutimes */
286 	"netbsd_msync",			/* 277 = netbsd_msync */
287 	"nstat",			/* 278 = nstat */
288 	"nfstat",			/* 279 = nfstat */
289 	"nlstat",			/* 280 = nlstat */
290 	"#281",			/* 281 = nosys */
291 	"#282",			/* 282 = nosys */
292 	"#283",			/* 283 = nosys */
293 	"#284",			/* 284 = nosys */
294 	"#285",			/* 285 = nosys */
295 	"#286",			/* 286 = nosys */
296 	"#287",			/* 287 = nosys */
297 	"#288",			/* 288 = nosys */
298 	"#289",			/* 289 = nosys */
299 	"#290",			/* 290 = nosys */
300 	"#291",			/* 291 = nosys */
301 	"#292",			/* 292 = nosys */
302 	"#293",			/* 293 = nosys */
303 	"#294",			/* 294 = nosys */
304 	"#295",			/* 295 = nosys */
305 	"#296",			/* 296 = nosys */
306 	"#297",			/* 297 = nosys */
307 	"#298",			/* 298 = nosys */
308 	"#299",			/* 299 = nosys */
309 	"modnext",			/* 300 = modnext */
310 	"modstat",			/* 301 = modstat */
311 	"modfnext",			/* 302 = modfnext */
312 	"modfind",			/* 303 = modfind */
313 	"kldload",			/* 304 = kldload */
314 	"kldunload",			/* 305 = kldunload */
315 	"kldfind",			/* 306 = kldfind */
316 	"kldnext",			/* 307 = kldnext */
317 	"kldstat",			/* 308 = kldstat */
318 	"kldfirstmod",			/* 309 = kldfirstmod */
319 	"getsid",			/* 310 = getsid */
320 	"#311",			/* 311 = setresuid */
321 	"#312",			/* 312 = setresgid */
322 	"obs_signanosleep",			/* 313 = obsolete signanosleep */
323 	"aio_return",			/* 314 = aio_return */
324 	"aio_suspend",			/* 315 = aio_suspend */
325 	"aio_cancel",			/* 316 = aio_cancel */
326 	"aio_error",			/* 317 = aio_error */
327 	"aio_read",			/* 318 = aio_read */
328 	"aio_write",			/* 319 = aio_write */
329 	"lio_listio",			/* 320 = lio_listio */
330 	"yield",			/* 321 = yield */
331 	"thr_sleep",			/* 322 = thr_sleep */
332 	"thr_wakeup",			/* 323 = thr_wakeup */
333 	"mlockall",			/* 324 = mlockall */
334 	"munlockall",			/* 325 = munlockall */
335 	"__getcwd",			/* 326 = __getcwd */
336 	"sched_setparam",			/* 327 = sched_setparam */
337 	"sched_getparam",			/* 328 = sched_getparam */
338 	"sched_setscheduler",			/* 329 = sched_setscheduler */
339 	"sched_getscheduler",			/* 330 = sched_getscheduler */
340 	"sched_yield",			/* 331 = sched_yield */
341 	"sched_get_priority_max",			/* 332 = sched_get_priority_max */
342 	"sched_get_priority_min",			/* 333 = sched_get_priority_min */
343 	"sched_rr_get_interval",			/* 334 = sched_rr_get_interval */
344 	"utrace",			/* 335 = utrace */
345 	"sendfile",			/* 336 = sendfile */
346 	"kldsym",			/* 337 = kldsym */
347 	"jail",			/* 338 = jail */
348 	"#339",			/* 339 = pioctl */
349 };
350