xref: /freebsd/sys/kern/syscalls.c (revision 3047fefe49f57a673de8df152c199de12ec2c6d3)
1 /*
2  * System call names.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $FreeBSD$
6  * created from FreeBSD: src/sys/kern/syscalls.master,v 1.133 2002/10/22 14:22:24 rwatson Exp
7  */
8 
9 char *syscallnames[] = {
10 	"syscall",			/* 0 = syscall */
11 	"exit",			/* 1 = exit */
12 	"fork",			/* 2 = fork */
13 	"read",			/* 3 = read */
14 	"write",			/* 4 = write */
15 	"open",			/* 5 = open */
16 	"close",			/* 6 = close */
17 	"wait4",			/* 7 = wait4 */
18 	"old.creat",		/* 8 = old creat */
19 	"link",			/* 9 = link */
20 	"unlink",			/* 10 = unlink */
21 	"obs_execv",			/* 11 = obsolete execv */
22 	"chdir",			/* 12 = chdir */
23 	"fchdir",			/* 13 = fchdir */
24 	"mknod",			/* 14 = mknod */
25 	"chmod",			/* 15 = chmod */
26 	"chown",			/* 16 = chown */
27 	"break",			/* 17 = break */
28 	"getfsstat",			/* 18 = getfsstat */
29 	"old.lseek",		/* 19 = old lseek */
30 	"getpid",			/* 20 = getpid */
31 	"mount",			/* 21 = mount */
32 	"unmount",			/* 22 = unmount */
33 	"setuid",			/* 23 = setuid */
34 	"getuid",			/* 24 = getuid */
35 	"geteuid",			/* 25 = geteuid */
36 	"ptrace",			/* 26 = ptrace */
37 	"recvmsg",			/* 27 = recvmsg */
38 	"sendmsg",			/* 28 = sendmsg */
39 	"recvfrom",			/* 29 = recvfrom */
40 	"accept",			/* 30 = accept */
41 	"getpeername",			/* 31 = getpeername */
42 	"getsockname",			/* 32 = getsockname */
43 	"access",			/* 33 = access */
44 	"chflags",			/* 34 = chflags */
45 	"fchflags",			/* 35 = fchflags */
46 	"sync",			/* 36 = sync */
47 	"kill",			/* 37 = kill */
48 	"old.stat",		/* 38 = old stat */
49 	"getppid",			/* 39 = getppid */
50 	"old.lstat",		/* 40 = old lstat */
51 	"dup",			/* 41 = dup */
52 	"pipe",			/* 42 = pipe */
53 	"getegid",			/* 43 = getegid */
54 	"profil",			/* 44 = profil */
55 	"ktrace",			/* 45 = ktrace */
56 	"old.sigaction",		/* 46 = old sigaction */
57 	"getgid",			/* 47 = getgid */
58 	"old.sigprocmask",		/* 48 = old sigprocmask */
59 	"getlogin",			/* 49 = getlogin */
60 	"setlogin",			/* 50 = setlogin */
61 	"acct",			/* 51 = acct */
62 	"old.sigpending",		/* 52 = old sigpending */
63 	"sigaltstack",			/* 53 = sigaltstack */
64 	"ioctl",			/* 54 = ioctl */
65 	"reboot",			/* 55 = reboot */
66 	"revoke",			/* 56 = revoke */
67 	"symlink",			/* 57 = symlink */
68 	"readlink",			/* 58 = readlink */
69 	"execve",			/* 59 = execve */
70 	"umask",			/* 60 = umask */
71 	"chroot",			/* 61 = chroot */
72 	"old.fstat",		/* 62 = old fstat */
73 	"old.getkerninfo",		/* 63 = old getkerninfo */
74 	"old.getpagesize",		/* 64 = old getpagesize */
75 	"msync",			/* 65 = msync */
76 	"vfork",			/* 66 = vfork */
77 	"obs_vread",			/* 67 = obsolete vread */
78 	"obs_vwrite",			/* 68 = obsolete vwrite */
79 	"sbrk",			/* 69 = sbrk */
80 	"sstk",			/* 70 = sstk */
81 	"old.mmap",		/* 71 = old mmap */
82 	"vadvise",			/* 72 = vadvise */
83 	"munmap",			/* 73 = munmap */
84 	"mprotect",			/* 74 = mprotect */
85 	"madvise",			/* 75 = madvise */
86 	"obs_vhangup",			/* 76 = obsolete vhangup */
87 	"obs_vlimit",			/* 77 = obsolete vlimit */
88 	"mincore",			/* 78 = mincore */
89 	"getgroups",			/* 79 = getgroups */
90 	"setgroups",			/* 80 = setgroups */
91 	"getpgrp",			/* 81 = getpgrp */
92 	"setpgid",			/* 82 = setpgid */
93 	"setitimer",			/* 83 = setitimer */
94 	"old.wait",		/* 84 = old wait */
95 	"swapon",			/* 85 = swapon */
96 	"getitimer",			/* 86 = getitimer */
97 	"old.gethostname",		/* 87 = old gethostname */
98 	"old.sethostname",		/* 88 = old sethostname */
99 	"getdtablesize",			/* 89 = getdtablesize */
100 	"dup2",			/* 90 = dup2 */
101 	"#91",			/* 91 = getdopt */
102 	"fcntl",			/* 92 = fcntl */
103 	"select",			/* 93 = select */
104 	"#94",			/* 94 = setdopt */
105 	"fsync",			/* 95 = fsync */
106 	"setpriority",			/* 96 = setpriority */
107 	"socket",			/* 97 = socket */
108 	"connect",			/* 98 = connect */
109 	"old.accept",		/* 99 = old accept */
110 	"getpriority",			/* 100 = getpriority */
111 	"old.send",		/* 101 = old send */
112 	"old.recv",		/* 102 = old recv */
113 	"osigreturn",			/* 103 = osigreturn */
114 	"bind",			/* 104 = bind */
115 	"setsockopt",			/* 105 = setsockopt */
116 	"listen",			/* 106 = listen */
117 	"obs_vtimes",			/* 107 = obsolete vtimes */
118 	"old.sigvec",		/* 108 = old sigvec */
119 	"old.sigblock",		/* 109 = old sigblock */
120 	"old.sigsetmask",		/* 110 = old sigsetmask */
121 	"old.sigsuspend",		/* 111 = old sigsuspend */
122 	"old.sigstack",		/* 112 = old sigstack */
123 	"old.recvmsg",		/* 113 = old recvmsg */
124 	"old.sendmsg",		/* 114 = old sendmsg */
125 	"obs_vtrace",			/* 115 = obsolete vtrace */
126 	"gettimeofday",			/* 116 = gettimeofday */
127 	"getrusage",			/* 117 = getrusage */
128 	"getsockopt",			/* 118 = getsockopt */
129 	"#119",			/* 119 = resuba */
130 	"readv",			/* 120 = readv */
131 	"writev",			/* 121 = writev */
132 	"settimeofday",			/* 122 = settimeofday */
133 	"fchown",			/* 123 = fchown */
134 	"fchmod",			/* 124 = fchmod */
135 	"old.recvfrom",		/* 125 = old recvfrom */
136 	"setreuid",			/* 126 = setreuid */
137 	"setregid",			/* 127 = setregid */
138 	"rename",			/* 128 = rename */
139 	"old.truncate",		/* 129 = old truncate */
140 	"old.ftruncate",		/* 130 = old ftruncate */
141 	"flock",			/* 131 = flock */
142 	"mkfifo",			/* 132 = mkfifo */
143 	"sendto",			/* 133 = sendto */
144 	"shutdown",			/* 134 = shutdown */
145 	"socketpair",			/* 135 = socketpair */
146 	"mkdir",			/* 136 = mkdir */
147 	"rmdir",			/* 137 = rmdir */
148 	"utimes",			/* 138 = utimes */
149 	"obs_4.2",			/* 139 = obsolete 4.2 sigreturn */
150 	"adjtime",			/* 140 = adjtime */
151 	"old.getpeername",		/* 141 = old getpeername */
152 	"old.gethostid",		/* 142 = old gethostid */
153 	"old.sethostid",		/* 143 = old sethostid */
154 	"old.getrlimit",		/* 144 = old getrlimit */
155 	"old.setrlimit",		/* 145 = old setrlimit */
156 	"old.killpg",		/* 146 = old killpg */
157 	"setsid",			/* 147 = setsid */
158 	"quotactl",			/* 148 = quotactl */
159 	"old.quota",		/* 149 = old quota */
160 	"old.getsockname",		/* 150 = old getsockname */
161 	"#151",			/* 151 = sem_lock */
162 	"#152",			/* 152 = sem_wakeup */
163 	"#153",			/* 153 = asyncdaemon */
164 	"#154",			/* 154 = nosys */
165 	"nfssvc",			/* 155 = nfssvc */
166 	"old.getdirentries",		/* 156 = old getdirentries */
167 	"statfs",			/* 157 = statfs */
168 	"fstatfs",			/* 158 = fstatfs */
169 	"#159",			/* 159 = nosys */
170 	"#160",			/* 160 = nosys */
171 	"getfh",			/* 161 = getfh */
172 	"getdomainname",			/* 162 = getdomainname */
173 	"setdomainname",			/* 163 = setdomainname */
174 	"uname",			/* 164 = uname */
175 	"sysarch",			/* 165 = sysarch */
176 	"rtprio",			/* 166 = rtprio */
177 	"#167",			/* 167 = nosys */
178 	"#168",			/* 168 = nosys */
179 	"semsys",			/* 169 = semsys */
180 	"msgsys",			/* 170 = msgsys */
181 	"shmsys",			/* 171 = shmsys */
182 	"#172",			/* 172 = nosys */
183 	"pread",			/* 173 = pread */
184 	"pwrite",			/* 174 = pwrite */
185 	"#175",			/* 175 = nosys */
186 	"ntp_adjtime",			/* 176 = ntp_adjtime */
187 	"#177",			/* 177 = sfork */
188 	"#178",			/* 178 = getdescriptor */
189 	"#179",			/* 179 = setdescriptor */
190 	"#180",			/* 180 = nosys */
191 	"setgid",			/* 181 = setgid */
192 	"setegid",			/* 182 = setegid */
193 	"seteuid",			/* 183 = seteuid */
194 	"#184",			/* 184 = lfs_bmapv */
195 	"#185",			/* 185 = lfs_markv */
196 	"#186",			/* 186 = lfs_segclean */
197 	"#187",			/* 187 = lfs_segwait */
198 	"stat",			/* 188 = stat */
199 	"fstat",			/* 189 = fstat */
200 	"lstat",			/* 190 = lstat */
201 	"pathconf",			/* 191 = pathconf */
202 	"fpathconf",			/* 192 = fpathconf */
203 	"#193",			/* 193 = nosys */
204 	"getrlimit",			/* 194 = getrlimit */
205 	"setrlimit",			/* 195 = setrlimit */
206 	"getdirentries",			/* 196 = getdirentries */
207 	"mmap",			/* 197 = mmap */
208 	"__syscall",			/* 198 = __syscall */
209 	"lseek",			/* 199 = lseek */
210 	"truncate",			/* 200 = truncate */
211 	"ftruncate",			/* 201 = ftruncate */
212 	"__sysctl",			/* 202 = __sysctl */
213 	"mlock",			/* 203 = mlock */
214 	"munlock",			/* 204 = munlock */
215 	"undelete",			/* 205 = undelete */
216 	"futimes",			/* 206 = futimes */
217 	"getpgid",			/* 207 = getpgid */
218 	"#208",			/* 208 = newreboot */
219 	"poll",			/* 209 = poll */
220 	"lkmnosys",			/* 210 = lkmnosys */
221 	"lkmnosys",			/* 211 = lkmnosys */
222 	"lkmnosys",			/* 212 = lkmnosys */
223 	"lkmnosys",			/* 213 = lkmnosys */
224 	"lkmnosys",			/* 214 = lkmnosys */
225 	"lkmnosys",			/* 215 = lkmnosys */
226 	"lkmnosys",			/* 216 = lkmnosys */
227 	"lkmnosys",			/* 217 = lkmnosys */
228 	"lkmnosys",			/* 218 = lkmnosys */
229 	"lkmnosys",			/* 219 = lkmnosys */
230 	"__semctl",			/* 220 = __semctl */
231 	"semget",			/* 221 = semget */
232 	"semop",			/* 222 = semop */
233 	"#223",			/* 223 = semconfig */
234 	"msgctl",			/* 224 = msgctl */
235 	"msgget",			/* 225 = msgget */
236 	"msgsnd",			/* 226 = msgsnd */
237 	"msgrcv",			/* 227 = msgrcv */
238 	"shmat",			/* 228 = shmat */
239 	"shmctl",			/* 229 = shmctl */
240 	"shmdt",			/* 230 = shmdt */
241 	"shmget",			/* 231 = shmget */
242 	"clock_gettime",			/* 232 = clock_gettime */
243 	"clock_settime",			/* 233 = clock_settime */
244 	"clock_getres",			/* 234 = clock_getres */
245 	"#235",			/* 235 = timer_create */
246 	"#236",			/* 236 = timer_delete */
247 	"#237",			/* 237 = timer_settime */
248 	"#238",			/* 238 = timer_gettime */
249 	"#239",			/* 239 = timer_getoverrun */
250 	"nanosleep",			/* 240 = nanosleep */
251 	"#241",			/* 241 = nosys */
252 	"#242",			/* 242 = nosys */
253 	"#243",			/* 243 = nosys */
254 	"#244",			/* 244 = nosys */
255 	"#245",			/* 245 = nosys */
256 	"#246",			/* 246 = nosys */
257 	"#247",			/* 247 = nosys */
258 	"#248",			/* 248 = nosys */
259 	"#249",			/* 249 = nosys */
260 	"minherit",			/* 250 = minherit */
261 	"rfork",			/* 251 = rfork */
262 	"openbsd_poll",			/* 252 = openbsd_poll */
263 	"issetugid",			/* 253 = issetugid */
264 	"lchown",			/* 254 = lchown */
265 	"#255",			/* 255 = nosys */
266 	"#256",			/* 256 = nosys */
267 	"#257",			/* 257 = nosys */
268 	"#258",			/* 258 = nosys */
269 	"#259",			/* 259 = nosys */
270 	"#260",			/* 260 = nosys */
271 	"#261",			/* 261 = nosys */
272 	"#262",			/* 262 = nosys */
273 	"#263",			/* 263 = nosys */
274 	"#264",			/* 264 = nosys */
275 	"#265",			/* 265 = nosys */
276 	"#266",			/* 266 = nosys */
277 	"#267",			/* 267 = nosys */
278 	"#268",			/* 268 = nosys */
279 	"#269",			/* 269 = nosys */
280 	"#270",			/* 270 = nosys */
281 	"#271",			/* 271 = nosys */
282 	"getdents",			/* 272 = getdents */
283 	"#273",			/* 273 = nosys */
284 	"lchmod",			/* 274 = lchmod */
285 	"netbsd_lchown",			/* 275 = netbsd_lchown */
286 	"lutimes",			/* 276 = lutimes */
287 	"netbsd_msync",			/* 277 = netbsd_msync */
288 	"nstat",			/* 278 = nstat */
289 	"nfstat",			/* 279 = nfstat */
290 	"nlstat",			/* 280 = nlstat */
291 	"#281",			/* 281 = nosys */
292 	"#282",			/* 282 = nosys */
293 	"#283",			/* 283 = nosys */
294 	"#284",			/* 284 = nosys */
295 	"#285",			/* 285 = nosys */
296 	"#286",			/* 286 = nosys */
297 	"#287",			/* 287 = nosys */
298 	"#288",			/* 288 = nosys */
299 	"#289",			/* 289 = nosys */
300 	"#290",			/* 290 = nosys */
301 	"#291",			/* 291 = nosys */
302 	"#292",			/* 292 = nosys */
303 	"#293",			/* 293 = nosys */
304 	"#294",			/* 294 = nosys */
305 	"#295",			/* 295 = nosys */
306 	"#296",			/* 296 = nosys */
307 	"fhstatfs",			/* 297 = fhstatfs */
308 	"fhopen",			/* 298 = fhopen */
309 	"fhstat",			/* 299 = fhstat */
310 	"modnext",			/* 300 = modnext */
311 	"modstat",			/* 301 = modstat */
312 	"modfnext",			/* 302 = modfnext */
313 	"modfind",			/* 303 = modfind */
314 	"kldload",			/* 304 = kldload */
315 	"kldunload",			/* 305 = kldunload */
316 	"kldfind",			/* 306 = kldfind */
317 	"kldnext",			/* 307 = kldnext */
318 	"kldstat",			/* 308 = kldstat */
319 	"kldfirstmod",			/* 309 = kldfirstmod */
320 	"getsid",			/* 310 = getsid */
321 	"setresuid",			/* 311 = setresuid */
322 	"setresgid",			/* 312 = setresgid */
323 	"obs_signanosleep",			/* 313 = obsolete signanosleep */
324 	"aio_return",			/* 314 = aio_return */
325 	"aio_suspend",			/* 315 = aio_suspend */
326 	"aio_cancel",			/* 316 = aio_cancel */
327 	"aio_error",			/* 317 = aio_error */
328 	"aio_read",			/* 318 = aio_read */
329 	"aio_write",			/* 319 = aio_write */
330 	"lio_listio",			/* 320 = lio_listio */
331 	"yield",			/* 321 = yield */
332 	"obs_thr_sleep",			/* 322 = obsolete thr_sleep */
333 	"obs_thr_wakeup",			/* 323 = obsolete thr_wakeup */
334 	"mlockall",			/* 324 = mlockall */
335 	"munlockall",			/* 325 = munlockall */
336 	"__getcwd",			/* 326 = __getcwd */
337 	"sched_setparam",			/* 327 = sched_setparam */
338 	"sched_getparam",			/* 328 = sched_getparam */
339 	"sched_setscheduler",			/* 329 = sched_setscheduler */
340 	"sched_getscheduler",			/* 330 = sched_getscheduler */
341 	"sched_yield",			/* 331 = sched_yield */
342 	"sched_get_priority_max",			/* 332 = sched_get_priority_max */
343 	"sched_get_priority_min",			/* 333 = sched_get_priority_min */
344 	"sched_rr_get_interval",			/* 334 = sched_rr_get_interval */
345 	"utrace",			/* 335 = utrace */
346 	"old.sendfile",		/* 336 = old sendfile */
347 	"kldsym",			/* 337 = kldsym */
348 	"jail",			/* 338 = jail */
349 	"#339",			/* 339 = pioctl */
350 	"sigprocmask",			/* 340 = sigprocmask */
351 	"sigsuspend",			/* 341 = sigsuspend */
352 	"sigaction",			/* 342 = sigaction */
353 	"sigpending",			/* 343 = sigpending */
354 	"sigreturn",			/* 344 = sigreturn */
355 	"#345",			/* 345 = sigtimedwait */
356 	"#346",			/* 346 = sigwaitinfo */
357 	"__acl_get_file",			/* 347 = __acl_get_file */
358 	"__acl_set_file",			/* 348 = __acl_set_file */
359 	"__acl_get_fd",			/* 349 = __acl_get_fd */
360 	"__acl_set_fd",			/* 350 = __acl_set_fd */
361 	"__acl_delete_file",			/* 351 = __acl_delete_file */
362 	"__acl_delete_fd",			/* 352 = __acl_delete_fd */
363 	"__acl_aclcheck_file",			/* 353 = __acl_aclcheck_file */
364 	"__acl_aclcheck_fd",			/* 354 = __acl_aclcheck_fd */
365 	"extattrctl",			/* 355 = extattrctl */
366 	"extattr_set_file",			/* 356 = extattr_set_file */
367 	"extattr_get_file",			/* 357 = extattr_get_file */
368 	"extattr_delete_file",			/* 358 = extattr_delete_file */
369 	"aio_waitcomplete",			/* 359 = aio_waitcomplete */
370 	"getresuid",			/* 360 = getresuid */
371 	"getresgid",			/* 361 = getresgid */
372 	"kqueue",			/* 362 = kqueue */
373 	"kevent",			/* 363 = kevent */
374 	"#364",			/* 364 = __cap_get_proc */
375 	"#365",			/* 365 = __cap_set_proc */
376 	"#366",			/* 366 = __cap_get_fd */
377 	"#367",			/* 367 = __cap_get_file */
378 	"#368",			/* 368 = __cap_set_fd */
379 	"#369",			/* 369 = __cap_set_file */
380 	"lkmressys",			/* 370 = lkmressys */
381 	"extattr_set_fd",			/* 371 = extattr_set_fd */
382 	"extattr_get_fd",			/* 372 = extattr_get_fd */
383 	"extattr_delete_fd",			/* 373 = extattr_delete_fd */
384 	"__setugid",			/* 374 = __setugid */
385 	"nfsclnt",			/* 375 = nfsclnt */
386 	"eaccess",			/* 376 = eaccess */
387 	"#377",			/* 377 = afs_syscall */
388 	"nmount",			/* 378 = nmount */
389 	"kse_exit",			/* 379 = kse_exit */
390 	"kse_wakeup",			/* 380 = kse_wakeup */
391 	"kse_create",			/* 381 = kse_create */
392 	"kse_thr_interrupt",			/* 382 = kse_thr_interrupt */
393 	"kse_release",			/* 383 = kse_release */
394 	"__mac_get_proc",			/* 384 = __mac_get_proc */
395 	"__mac_set_proc",			/* 385 = __mac_set_proc */
396 	"__mac_get_fd",			/* 386 = __mac_get_fd */
397 	"__mac_get_file",			/* 387 = __mac_get_file */
398 	"__mac_set_fd",			/* 388 = __mac_set_fd */
399 	"__mac_set_file",			/* 389 = __mac_set_file */
400 	"kenv",			/* 390 = kenv */
401 	"lchflags",			/* 391 = lchflags */
402 	"uuidgen",			/* 392 = uuidgen */
403 	"sendfile",			/* 393 = sendfile */
404 	"mac_syscall",			/* 394 = mac_syscall */
405 	"#395",			/* 395 = nosys */
406 	"#396",			/* 396 = nosys */
407 	"#397",			/* 397 = nosys */
408 	"#398",			/* 398 = nosys */
409 	"#399",			/* 399 = nosys */
410 	"ksem_close",			/* 400 = ksem_close */
411 	"ksem_post",			/* 401 = ksem_post */
412 	"ksem_wait",			/* 402 = ksem_wait */
413 	"ksem_trywait",			/* 403 = ksem_trywait */
414 	"ksem_init",			/* 404 = ksem_init */
415 	"ksem_open",			/* 405 = ksem_open */
416 	"ksem_unlink",			/* 406 = ksem_unlink */
417 	"ksem_getvalue",			/* 407 = ksem_getvalue */
418 	"ksem_destroy",			/* 408 = ksem_destroy */
419 	"__mac_get_pid",			/* 409 = __mac_get_pid */
420 	"__mac_get_link",			/* 410 = __mac_get_link */
421 	"__mac_set_link",			/* 411 = __mac_set_link */
422 	"extattr_set_link",			/* 412 = extattr_set_link */
423 	"extattr_get_link",			/* 413 = extattr_get_link */
424 	"extattr_delete_link",			/* 414 = extattr_delete_link */
425 	"#415",			/* 415 = __execve_mac */
426 	"#416",			/* 416 = newsigreturn */
427 	"#417",			/* 417 = newsigaction */
428 	"#418",			/* 418 = __xstat */
429 	"#419",			/* 419 = __xfstat */
430 	"#420",			/* 420 = __xlstat */
431 };
432