freebsd-skq/sys/compat/freebsd32/freebsd32_syscalls.c

452 lines
16 KiB
C
Raw Normal View History

2003-05-31 06:51:04 +00:00
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
2003-12-11 02:36:37 +00:00
* created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.29 2003/12/11 02:36:07 peter Exp
2003-05-31 06:51:04 +00:00
*/
2003-08-22 22:52:04 +00:00
const char *freebsd32_syscallnames[] = {
2003-05-31 06:51:04 +00:00
"syscall", /* 0 = syscall */
"exit", /* 1 = exit */
"fork", /* 2 = fork */
"read", /* 3 = read */
"write", /* 4 = write */
2003-08-22 22:52:04 +00:00
"freebsd32_open", /* 5 = freebsd32_open */
2003-05-31 06:51:04 +00:00
"close", /* 6 = close */
2003-08-22 22:52:04 +00:00
"freebsd32_wait4", /* 7 = freebsd32_wait4 */
2003-05-31 06:51:04 +00:00
"obs_old", /* 8 = obsolete old creat */
"link", /* 9 = link */
"unlink", /* 10 = unlink */
"obs_execv", /* 11 = obsolete execv */
"chdir", /* 12 = chdir */
"fchdir", /* 13 = fchdir */
"mknod", /* 14 = mknod */
"chmod", /* 15 = chmod */
"chown", /* 16 = chown */
"break", /* 17 = break */
2003-08-22 22:52:04 +00:00
"freebsd32_getfsstat", /* 18 = freebsd32_getfsstat */
2003-05-31 06:51:04 +00:00
"obs_olseek", /* 19 = obsolete olseek */
"getpid", /* 20 = getpid */
"mount", /* 21 = mount */
"unmount", /* 22 = unmount */
"setuid", /* 23 = setuid */
"getuid", /* 24 = getuid */
"geteuid", /* 25 = geteuid */
"ptrace", /* 26 = ptrace */
"#27", /* 27 = recvmsg */
"sendmsg", /* 28 = sendmsg */
"recvfrom", /* 29 = recvfrom */
"accept", /* 30 = accept */
"getpeername", /* 31 = getpeername */
"getsockname", /* 32 = getsockname */
2003-08-22 22:52:04 +00:00
"freebsd32_access", /* 33 = freebsd32_access */
"freebsd32_chflags", /* 34 = freebsd32_chflags */
2003-05-31 06:51:04 +00:00
"fchflags", /* 35 = fchflags */
"sync", /* 36 = sync */
"kill", /* 37 = kill */
"#38", /* 38 = ostat */
"getppid", /* 39 = getppid */
"#40", /* 40 = olstat */
"dup", /* 41 = dup */
"pipe", /* 42 = pipe */
"getegid", /* 43 = getegid */
"profil", /* 44 = profil */
"ktrace", /* 45 = ktrace */
"#46", /* 46 = osigaction */
"getgid", /* 47 = getgid */
"#48", /* 48 = osigprocmask */
"getlogin", /* 49 = getlogin */
"setlogin", /* 50 = setlogin */
"acct", /* 51 = acct */
2003-12-10 22:33:45 +00:00
"obs_osigpending", /* 52 = obsolete osigpending */
2003-08-22 22:52:04 +00:00
"freebsd32_sigaltstack", /* 53 = freebsd32_sigaltstack */
2003-05-31 06:51:04 +00:00
"ioctl", /* 54 = ioctl */
"reboot", /* 55 = reboot */
"revoke", /* 56 = revoke */
"symlink", /* 57 = symlink */
"readlink", /* 58 = readlink */
2003-08-22 22:52:04 +00:00
"freebsd32_execve", /* 59 = freebsd32_execve */
2003-05-31 06:51:04 +00:00
"umask", /* 60 = umask */
"chroot", /* 61 = chroot */
"obs_ofstat", /* 62 = obsolete ofstat */
"obs_ogetkerninfo", /* 63 = obsolete ogetkerninfo */
"obs_ogetpagesize", /* 64 = obsolete ogetpagesize */
"obs_omsync", /* 65 = obsolete omsync */
2003-11-08 07:31:49 +00:00
"vfork", /* 66 = vfork */
2003-05-31 06:51:04 +00:00
"obs_vread", /* 67 = obsolete vread */
"obs_vwrite", /* 68 = obsolete vwrite */
"sbrk", /* 69 = sbrk */
"sstk", /* 70 = sstk */
"obs_ommap", /* 71 = obsolete ommap */
"vadvise", /* 72 = vadvise */
"munmap", /* 73 = munmap */
"mprotect", /* 74 = mprotect */
"madvise", /* 75 = madvise */
"obs_vhangup", /* 76 = obsolete vhangup */
"obs_vlimit", /* 77 = obsolete vlimit */
"mincore", /* 78 = mincore */
"getgroups", /* 79 = getgroups */
"setgroups", /* 80 = setgroups */
"getpgrp", /* 81 = getpgrp */
"setpgid", /* 82 = setpgid */
2003-08-22 22:52:04 +00:00
"freebsd32_setitimer", /* 83 = freebsd32_setitimer */
2003-05-31 06:51:04 +00:00
"obs_owait", /* 84 = obsolete owait */
"obs_oswapon", /* 85 = obsolete oswapon */
"obs_ogetitimer", /* 86 = obsolete ogetitimer */
"obs_ogethostname", /* 87 = obsolete ogethostname */
"obs_osethostname", /* 88 = obsolete osethostname */
"getdtablesize", /* 89 = getdtablesize */
"dup2", /* 90 = dup2 */
"#91", /* 91 = getdopt */
"fcntl", /* 92 = fcntl */
2003-08-22 22:52:04 +00:00
"freebsd32_select", /* 93 = freebsd32_select */
2003-05-31 06:51:04 +00:00
"#94", /* 94 = setdopt */
"fsync", /* 95 = fsync */
"setpriority", /* 96 = setpriority */
"socket", /* 97 = socket */
"connect", /* 98 = connect */
2003-12-10 22:33:45 +00:00
"obs_oaccept", /* 99 = obsolete oaccept */
2003-05-31 06:51:04 +00:00
"getpriority", /* 100 = getpriority */
"obs_osend", /* 101 = obsolete osend */
"obs_orecv", /* 102 = obsolete orecv */
"obs_osigreturn", /* 103 = obsolete osigreturn */
"bind", /* 104 = bind */
"setsockopt", /* 105 = setsockopt */
"listen", /* 106 = listen */
"obs_vtimes", /* 107 = obsolete vtimes */
"obs_osigvec", /* 108 = obsolete osigvec */
"obs_osigblock", /* 109 = obsolete osigblock */
"obs_osigsetmask", /* 110 = obsolete osigsetmask */
"obs_osigsuspend", /* 111 = obsolete osigsuspend */
"obs_osigstack", /* 112 = obsolete osigstack */
"obs_orecvmsg", /* 113 = obsolete orecvmsg */
"obs_osendmsg", /* 114 = obsolete osendmsg */
"obs_vtrace", /* 115 = obsolete vtrace */
2003-08-22 22:52:04 +00:00
"freebsd32_gettimeofday", /* 116 = freebsd32_gettimeofday */
"freebsd32_getrusage", /* 117 = freebsd32_getrusage */
2003-05-31 06:51:04 +00:00
"getsockopt", /* 118 = getsockopt */
"#119", /* 119 = resuba */
2003-08-22 22:52:04 +00:00
"freebsd32_readv", /* 120 = freebsd32_readv */
"freebsd32_writev", /* 121 = freebsd32_writev */
"freebsd32_settimeofday", /* 122 = freebsd32_settimeofday */
2003-05-31 06:51:04 +00:00
"fchown", /* 123 = fchown */
"fchmod", /* 124 = fchmod */
2003-12-10 22:33:45 +00:00
"obs_orecvfrom", /* 125 = obsolete orecvfrom */
2003-05-31 06:51:04 +00:00
"setreuid", /* 126 = setreuid */
"setregid", /* 127 = setregid */
"rename", /* 128 = rename */
"obs_otruncate", /* 129 = obsolete otruncate */
"obs_ftruncate", /* 130 = obsolete ftruncate */
"flock", /* 131 = flock */
"mkfifo", /* 132 = mkfifo */
"sendto", /* 133 = sendto */
"shutdown", /* 134 = shutdown */
"socketpair", /* 135 = socketpair */
"mkdir", /* 136 = mkdir */
"rmdir", /* 137 = rmdir */
2003-08-22 22:52:04 +00:00
"freebsd32_utimes", /* 138 = freebsd32_utimes */
2003-05-31 06:51:04 +00:00
"obs_4.2", /* 139 = obsolete 4.2 sigreturn */
2003-08-22 22:52:04 +00:00
"freebsd32_adjtime", /* 140 = freebsd32_adjtime */
2003-05-31 06:51:04 +00:00
"obs_ogetpeername", /* 141 = obsolete ogetpeername */
"obs_ogethostid", /* 142 = obsolete ogethostid */
"obs_sethostid", /* 143 = obsolete sethostid */
"obs_getrlimit", /* 144 = obsolete getrlimit */
"obs_setrlimit", /* 145 = obsolete setrlimit */
"obs_killpg", /* 146 = obsolete killpg */
"setsid", /* 147 = setsid */
"quotactl", /* 148 = quotactl */
"obs_oquota", /* 149 = obsolete oquota */
"obs_ogetsockname", /* 150 = obsolete ogetsockname */
"#151", /* 151 = sem_lock */
"#152", /* 152 = sem_wakeup */
"#153", /* 153 = asyncdaemon */
"#154", /* 154 = nosys */
"#155", /* 155 = nfssvc */
2003-12-10 22:33:45 +00:00
"obs_ogetdirentries", /* 156 = obsolete ogetdirentries */
2003-08-22 22:52:04 +00:00
"freebsd32_statfs", /* 157 = freebsd32_statfs */
"freebsd32_fstatfs", /* 158 = freebsd32_fstatfs */
2003-05-31 06:51:04 +00:00
"#159", /* 159 = nosys */
"#160", /* 160 = nosys */
"getfh", /* 161 = getfh */
"getdomainname", /* 162 = getdomainname */
"setdomainname", /* 163 = setdomainname */
"uname", /* 164 = uname */
"sysarch", /* 165 = sysarch */
"rtprio", /* 166 = rtprio */
"#167", /* 167 = nosys */
"#168", /* 168 = nosys */
2003-08-22 22:52:04 +00:00
"freebsd32_semsys", /* 169 = freebsd32_semsys */
"freebsd32_msgsys", /* 170 = freebsd32_msgsys */
"freebsd32_shmsys", /* 171 = freebsd32_shmsys */
2003-05-31 06:51:04 +00:00
"#172", /* 172 = nosys */
2003-08-22 22:52:04 +00:00
"freebsd32_pread", /* 173 = freebsd32_pread */
"freebsd32_pwrite", /* 174 = freebsd32_pwrite */
2003-05-31 06:51:04 +00:00
"#175", /* 175 = nosys */
"ntp_adjtime", /* 176 = ntp_adjtime */
"#177", /* 177 = sfork */
"#178", /* 178 = getdescriptor */
"#179", /* 179 = setdescriptor */
"#180", /* 180 = nosys */
"setgid", /* 181 = setgid */
"setegid", /* 182 = setegid */
"seteuid", /* 183 = seteuid */
"#184", /* 184 = lfs_bmapv */
"#185", /* 185 = lfs_markv */
"#186", /* 186 = lfs_segclean */
"#187", /* 187 = lfs_segwait */
2003-08-22 22:52:04 +00:00
"freebsd32_stat", /* 188 = freebsd32_stat */
"freebsd32_fstat", /* 189 = freebsd32_fstat */
"freebsd32_lstat", /* 190 = freebsd32_lstat */
2003-05-31 06:51:04 +00:00
"pathconf", /* 191 = pathconf */
"fpathconf", /* 192 = fpathconf */
"#193", /* 193 = nosys */
"getrlimit", /* 194 = getrlimit */
"setrlimit", /* 195 = setrlimit */
"getdirentries", /* 196 = getdirentries */
2003-08-22 22:52:04 +00:00
"freebsd32_mmap", /* 197 = freebsd32_mmap */
2003-05-31 06:51:04 +00:00
"__syscall", /* 198 = __syscall */
2003-08-22 22:52:04 +00:00
"freebsd32_lseek", /* 199 = freebsd32_lseek */
"freebsd32_truncate", /* 200 = freebsd32_truncate */
"freebsd32_ftruncate", /* 201 = freebsd32_ftruncate */
"freebsd32_sysctl", /* 202 = freebsd32_sysctl */
2003-05-31 06:51:04 +00:00
"mlock", /* 203 = mlock */
"munlock", /* 204 = munlock */
"undelete", /* 205 = undelete */
"futimes", /* 206 = futimes */
"getpgid", /* 207 = getpgid */
"#208", /* 208 = newreboot */
"poll", /* 209 = poll */
"#210", /* 210 = */
"#211", /* 211 = */
"#212", /* 212 = */
"#213", /* 213 = */
"#214", /* 214 = */
"#215", /* 215 = */
"#216", /* 216 = */
"#217", /* 217 = */
"#218", /* 218 = */
"#219", /* 219 = */
"__semctl", /* 220 = __semctl */
"semget", /* 221 = semget */
"semop", /* 222 = semop */
"#223", /* 223 = semconfig */
"msgctl", /* 224 = msgctl */
"msgget", /* 225 = msgget */
"msgsnd", /* 226 = msgsnd */
"msgrcv", /* 227 = msgrcv */
"shmat", /* 228 = shmat */
"shmctl", /* 229 = shmctl */
"shmdt", /* 230 = shmdt */
"shmget", /* 231 = shmget */
"clock_gettime", /* 232 = clock_gettime */
"clock_settime", /* 233 = clock_settime */
"clock_getres", /* 234 = clock_getres */
"#235", /* 235 = timer_create */
"#236", /* 236 = timer_delete */
"#237", /* 237 = timer_settime */
"#238", /* 238 = timer_gettime */
"#239", /* 239 = timer_getoverrun */
"nanosleep", /* 240 = nanosleep */
"#241", /* 241 = nosys */
"#242", /* 242 = nosys */
"#243", /* 243 = nosys */
"#244", /* 244 = nosys */
"#245", /* 245 = nosys */
"#246", /* 246 = nosys */
"#247", /* 247 = nosys */
"#248", /* 248 = nosys */
"#249", /* 249 = nosys */
"minherit", /* 250 = minherit */
"rfork", /* 251 = rfork */
"openbsd_poll", /* 252 = openbsd_poll */
"issetugid", /* 253 = issetugid */
"lchown", /* 254 = lchown */
"#255", /* 255 = nosys */
"#256", /* 256 = nosys */
"#257", /* 257 = nosys */
"#258", /* 258 = nosys */
"#259", /* 259 = nosys */
"#260", /* 260 = nosys */
"#261", /* 261 = nosys */
"#262", /* 262 = nosys */
"#263", /* 263 = nosys */
"#264", /* 264 = nosys */
"#265", /* 265 = nosys */
"#266", /* 266 = nosys */
"#267", /* 267 = nosys */
"#268", /* 268 = nosys */
"#269", /* 269 = nosys */
"#270", /* 270 = nosys */
"#271", /* 271 = nosys */
"getdents", /* 272 = getdents */
"#273", /* 273 = nosys */
"lchmod", /* 274 = lchmod */
"netbsd_lchown", /* 275 = netbsd_lchown */
"lutimes", /* 276 = lutimes */
"netbsd_msync", /* 277 = netbsd_msync */
"nstat", /* 278 = nstat */
"nfstat", /* 279 = nfstat */
"nlstat", /* 280 = nlstat */
"#281", /* 281 = nosys */
"#282", /* 282 = nosys */
"#283", /* 283 = nosys */
"#284", /* 284 = nosys */
"#285", /* 285 = nosys */
"#286", /* 286 = nosys */
"#287", /* 287 = nosys */
"#288", /* 288 = nosys */
"#289", /* 289 = nosys */
"#290", /* 290 = nosys */
"#291", /* 291 = nosys */
"#292", /* 292 = nosys */
"#293", /* 293 = nosys */
"#294", /* 294 = nosys */
"#295", /* 295 = nosys */
"#296", /* 296 = nosys */
"fhstatfs", /* 297 = fhstatfs */
"fhopen", /* 298 = fhopen */
"fhstat", /* 299 = fhstat */
"modnext", /* 300 = modnext */
"modstat", /* 301 = modstat */
"modfnext", /* 302 = modfnext */
"modfind", /* 303 = modfind */
"kldload", /* 304 = kldload */
"kldunload", /* 305 = kldunload */
"kldfind", /* 306 = kldfind */
"kldnext", /* 307 = kldnext */
"kldstat", /* 308 = kldstat */
"kldfirstmod", /* 309 = kldfirstmod */
"getsid", /* 310 = getsid */
"setresuid", /* 311 = setresuid */
"setresgid", /* 312 = setresgid */
"obs_signanosleep", /* 313 = obsolete signanosleep */
"#314", /* 314 = aio_return */
"#315", /* 315 = aio_suspend */
"#316", /* 316 = aio_cancel */
"#317", /* 317 = aio_error */
"#318", /* 318 = aio_read */
"#319", /* 319 = aio_write */
"#320", /* 320 = lio_listio */
"yield", /* 321 = yield */
"obs_thr_sleep", /* 322 = obsolete thr_sleep */
"obs_thr_wakeup", /* 323 = obsolete thr_wakeup */
"mlockall", /* 324 = mlockall */
"munlockall", /* 325 = munlockall */
"__getcwd", /* 326 = __getcwd */
"sched_setparam", /* 327 = sched_setparam */
"sched_getparam", /* 328 = sched_getparam */
"sched_setscheduler", /* 329 = sched_setscheduler */
"sched_getscheduler", /* 330 = sched_getscheduler */
"sched_yield", /* 331 = sched_yield */
"sched_get_priority_max", /* 332 = sched_get_priority_max */
"sched_get_priority_min", /* 333 = sched_get_priority_min */
"sched_rr_get_interval", /* 334 = sched_rr_get_interval */
"utrace", /* 335 = utrace */
2003-08-22 22:52:04 +00:00
"old.freebsd32_sendfile", /* 336 = old freebsd32_sendfile */
2003-05-31 06:51:04 +00:00
"kldsym", /* 337 = kldsym */
"jail", /* 338 = jail */
"#339", /* 339 = pioctl */
"sigprocmask", /* 340 = sigprocmask */
"sigsuspend", /* 341 = sigsuspend */
2003-08-22 22:52:04 +00:00
"old.freebsd32_sigaction", /* 342 = old freebsd32_sigaction */
2003-05-31 06:51:04 +00:00
"sigpending", /* 343 = sigpending */
2003-08-22 22:52:04 +00:00
"old.freebsd32_sigreturn", /* 344 = old freebsd32_sigreturn */
2003-05-31 06:51:04 +00:00
"#345", /* 345 = sigtimedwait */
"#346", /* 346 = sigwaitinfo */
"__acl_get_file", /* 347 = __acl_get_file */
"__acl_set_file", /* 348 = __acl_set_file */
"__acl_get_fd", /* 349 = __acl_get_fd */
"__acl_set_fd", /* 350 = __acl_set_fd */
"__acl_delete_file", /* 351 = __acl_delete_file */
"__acl_delete_fd", /* 352 = __acl_delete_fd */
"__acl_aclcheck_file", /* 353 = __acl_aclcheck_file */
"__acl_aclcheck_fd", /* 354 = __acl_aclcheck_fd */
"extattrctl", /* 355 = extattrctl */
"extattr_set_file", /* 356 = extattr_set_file */
"extattr_get_file", /* 357 = extattr_get_file */
"extattr_delete_file", /* 358 = extattr_delete_file */
"#359", /* 359 = aio_waitcomplete */
"getresuid", /* 360 = getresuid */
"getresgid", /* 361 = getresgid */
"kqueue", /* 362 = kqueue */
2003-08-22 22:52:04 +00:00
"freebsd32_kevent", /* 363 = freebsd32_kevent */
2003-05-31 06:51:04 +00:00
"#364", /* 364 = __cap_get_proc */
"#365", /* 365 = __cap_set_proc */
"#366", /* 366 = __cap_get_fd */
"#367", /* 367 = __cap_get_file */
"#368", /* 368 = __cap_set_fd */
"#369", /* 369 = __cap_set_file */
"#370", /* 370 = lkmressys */
"extattr_set_fd", /* 371 = extattr_set_fd */
"extattr_get_fd", /* 372 = extattr_get_fd */
"extattr_delete_fd", /* 373 = extattr_delete_fd */
"__setugid", /* 374 = __setugid */
"#375", /* 375 = nfsclnt */
"eaccess", /* 376 = eaccess */
"#377", /* 377 = afs_syscall */
"nmount", /* 378 = nmount */
"kse_exit", /* 379 = kse_exit */
"kse_wakeup", /* 380 = kse_wakeup */
"kse_create", /* 381 = kse_create */
"kse_thr_interrupt", /* 382 = kse_thr_interrupt */
"kse_release", /* 383 = kse_release */
"#384", /* 384 = __mac_get_proc */
"#385", /* 385 = __mac_set_proc */
"#386", /* 386 = __mac_get_fd */
"#387", /* 387 = __mac_get_file */
"#388", /* 388 = __mac_set_fd */
"#389", /* 389 = __mac_set_file */
"kenv", /* 390 = kenv */
"lchflags", /* 391 = lchflags */
"uuidgen", /* 392 = uuidgen */
2003-08-22 22:52:04 +00:00
"freebsd32_sendfile", /* 393 = freebsd32_sendfile */
2003-05-31 06:51:04 +00:00
"#394", /* 394 = mac_syscall */
"#395", /* 395 = nosys */
"#396", /* 396 = nosys */
"#397", /* 397 = nosys */
"#398", /* 398 = nosys */
"#399", /* 399 = nosys */
"#400", /* 400 = ksem_close */
"#401", /* 401 = ksem_post */
"#402", /* 402 = ksem_wait */
"#403", /* 403 = ksem_trywait */
"#404", /* 404 = ksem_init */
"#405", /* 405 = ksem_open */
"#406", /* 406 = ksem_unlink */
"#407", /* 407 = ksem_getvalue */
"#408", /* 408 = ksem_destroy */
"#409", /* 409 = __mac_get_pid */
"#410", /* 410 = __mac_get_link */
"#411", /* 411 = __mac_set_link */
"#412", /* 412 = extattr_set_link */
"#413", /* 413 = extattr_get_link */
"#414", /* 414 = extattr_delete_link */
"#415", /* 415 = __mac_execve */
2003-08-22 22:52:04 +00:00
"freebsd32_sigaction", /* 416 = freebsd32_sigaction */
"freebsd32_sigreturn", /* 417 = freebsd32_sigreturn */
2003-05-31 06:51:04 +00:00
"#418", /* 418 = __xstat */
"#419", /* 419 = __xfstat */
"#420", /* 420 = __xlstat */
"#421", /* 421 = getcontext */
"#422", /* 422 = setcontext */
"#423", /* 423 = swapcontext */
"#424", /* 424 = swapoff */
"#425", /* 425 = __acl_get_link */
"#426", /* 426 = __acl_set_link */
"#427", /* 427 = __acl_delete_link */
"#428", /* 428 = __acl_aclcheck_link */
"#429", /* 429 = sigwait */
"thr_create", /* 430 = thr_create */
"thr_exit", /* 431 = thr_exit */
"thr_self", /* 432 = thr_self */
"thr_kill", /* 433 = thr_kill */
"_umtx_lock", /* 434 = _umtx_lock */
"_umtx_unlock", /* 435 = _umtx_unlock */
"jail_attach", /* 436 = jail_attach */
2003-12-10 22:33:45 +00:00
"#437", /* 437 = extattr_list_fd */
"#438", /* 438 = extattr_list_file */
"#439", /* 439 = extattr_list_link */
"#440", /* 440 = kse_switchin */
2003-05-31 06:51:04 +00:00
};