2 * Copyright (c) 1995-1999, 2000-2003 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
26 #include <sys/appleapiopts.h>
27 #include <sys/param.h>
28 #include <sys/systm.h>
29 #include <sys/signal.h>
30 #include <sys/mount.h>
32 /* serial or parallel system call */
33 #define syss(fn,no) {no, 0, KERNEL_FUNNEL, fn}
34 #define sysp(fn,no) {no, 1, KERNEL_FUNNEL, fn}
35 #define sysnets(fn,no) {no, 0, NETWORK_FUNNEL, fn}
36 #define sysnetp(fn,no) {no, 1, NETWORK_FUNNEL, fn}
37 #define sysnofnl(fn,no) {no, 0, NO_FUNNEL, fn}
85 int load_shared_file();
86 int reset_shared_file();
87 int new_system_shared_regions();
144 int ppc_gettimeofday();
199 #define compat(name,n) syss(__CONCAT(o,name),n)
200 #define compatp(name,n) sysp(__CONCAT(o,name),n)
201 #define comaptnet(name,n) sysnets(__CONCAT(o,name),n)
202 #define comaptnetp(name,n) sysnetp(__CONCAT(o,name),n)
238 int ogetdomainname();
239 int osetdomainname();
241 int ogetdirentries();
253 /* Calls for supporting HFS Semantics */
261 int getdirentriesattr();
263 int checkuseraccess();
268 /* end of HFS calls */
270 #else /* COMPAT_43 */
271 #define compat(n, name) syss(nosys,0)
272 #define compatp(n, name) sysp(nosys,0)
273 #define comaptnet(n, name) sysnets(nosys,0)
274 #define comaptnetp(n, name) sysnetp(nosys,0)
275 #endif /* COMPAT_43 */
315 int __pthread_kill();
317 int pthread_sigmask();
318 int __disable_threadsignal();
321 * System call switch table.
324 struct sysent sysent
[] = {
325 syss(nosys
,0), /* 0 = indir */
326 syss(exit
,1), /* 1 = exit */
327 syss(fork
,0), /* 2 = fork */
328 sysp(read
,3), /* 3 = read */
329 sysp(write
,3), /* 4 = write */
330 syss(open
,3), /* 5 = open */
331 syss(close
,1), /* 6 = close */
332 syss(wait4
, 4), /* 7 = wait4 */
333 compat(creat
,2), /* 8 = old creat */
334 syss(link
,2), /* 9 = link */
335 syss(unlink
,1), /* 10 = unlink */
336 syss(nosys
, 0), /* 11 was obsolete execv */
337 syss(chdir
,1), /* 12 = chdir */
338 syss(fchdir
,1), /* 13 = fchdir */
339 syss(mknod
,3), /* 14 = mknod */
340 syss(chmod
,2), /* 15 = chmod */
341 syss(chown
,3), /* 16 = chown; now 3 args */
342 syss(obreak
,1), /* 17 = old break */
344 syss(ogetfsstat
, 3), /* 18 = ogetfsstat */
346 syss(getfsstat
, 3), /* 18 = getfsstat */
348 compat(lseek
,3), /* 19 = old lseek */
349 sysp(getpid
,0), /* 20 = getpid */
350 syss(nosys
, 0), /* 21 was obsolete mount */
351 syss(nosys
, 0), /* 22 was obsolete umount */
352 syss(setuid
,1), /* 23 = setuid */
353 sysp(getuid
,0), /* 24 = getuid */
354 sysp(geteuid
,0), /* 25 = geteuid */
355 syss(ptrace
,4), /* 26 = ptrace */
356 sysnets(recvmsg
,3), /* 27 = recvmsg */
357 sysnets(sendmsg
,3), /* 28 = sendmsg */
358 sysnets(recvfrom
,6), /* 29 = recvfrom */
359 sysnets(accept
,3), /* 30 = accept */
360 sysnets(getpeername
,3), /* 31 = getpeername */
361 sysnets(getsockname
,3), /* 32 = getsockname */
362 syss(access
,2), /* 33 = access */
363 syss(chflags
,2), /* 34 = chflags */
364 syss(fchflags
,2), /* 35 = fchflags */
365 syss(sync
,0), /* 36 = sync */
366 syss(kill
,2), /* 37 = kill */
367 compat(stat
,2), /* 38 = old stat */
368 sysp(getppid
,0), /* 39 = getppid */
369 compat(lstat
,2), /* 40 = old lstat */
370 syss(dup
,1), /* 41 = dup */
371 syss(pipe
,0), /* 42 = pipe */
372 sysp(getegid
,0), /* 43 = getegid */
373 syss(profil
,4), /* 44 = profil */
374 syss(ktrace
,4), /* 45 = ktrace */
375 syss(sigaction
,3), /* 46 = sigaction */
376 sysp(getgid
,0), /* 47 = getgid */
377 syss(sigprocmask
,3), /* 48 = sigprocmask */
378 syss(getlogin
,2), /* 49 = getlogin */
379 syss(setlogin
,1), /* 50 = setlogin */
380 syss(acct
,1), /* 51 = turn acct off/on */
381 syss(sigpending
,1), /* 52 = sigpending */
382 syss(sigaltstack
,2), /* 53 = sigaltstack */
383 syss(ioctl
,3), /* 54 = ioctl */
384 syss(reboot
,2), /* 55 = reboot */
385 syss(revoke
,1), /* 56 = revoke */
386 syss(symlink
,2), /* 57 = symlink */
387 syss(readlink
,3), /* 58 = readlink */
388 syss(execve
,3), /* 59 = execve */
389 syss(umask
,1), /* 60 = umask */
390 syss(chroot
,1), /* 61 = chroot */
391 compat(fstat
,2), /* 62 = old fstat */
392 syss(nosys
,0), /* 63 = used internally, reserved */
393 compat(getpagesize
,0), /* 64 = old getpagesize */
394 syss(msync
,3), /* 65 = msync */
395 syss(vfork
,0), /* 66 = vfork */
396 syss(nosys
,0), /* 67 was obsolete vread */
397 syss(nosys
,0), /* 68 was obsolete vwrite */
398 syss(sbrk
,1), /* 69 = sbrk */
399 syss(sstk
,1), /* 70 = sstk */
400 compat(smmap
,6), /* 71 = old mmap */
401 syss(ovadvise
,1), /* 72 = old vadvise */
402 syss(munmap
,2), /* 73 = munmap */
403 syss(mprotect
,3), /* 74 = mprotect */
404 syss(madvise
,3), /* 75 = madvise */
405 syss(nosys
,0), /* 76 was obsolete vhangup */
406 syss(nosys
,0), /* 77 was obsolete vlimit */
407 syss(mincore
,3), /* 78 = mincore */
408 sysp(getgroups
,2), /* 79 = getgroups */
409 sysp(setgroups
,2), /* 80 = setgroups */
410 sysp(getpgrp
,0), /* 81 = getpgrp */
411 sysp(setpgid
,2), /* 82 = setpgid */
412 syss(setitimer
,3), /* 83 = setitimer */
413 compat(wait
,0), /* 84 = old wait */
414 syss(swapon
,1), /* 85 = swapon */
415 syss(getitimer
,2), /* 86 = getitimer */
416 compat(gethostname
,2), /* 87 = old gethostname */
417 compat(sethostname
,2), /* 88 = old sethostname */
418 sysp(getdtablesize
, 0), /* 89 getdtablesize */
419 syss(dup2
,2), /* 90 = dup2 */
420 syss(nosys
,0), /* 91 was obsolete getdopt */
421 syss(fcntl
,3), /* 92 = fcntl */
422 syss(select
,5), /* 93 = select */
423 syss(nosys
,0), /* 94 was obsolete setdopt */
424 syss(fsync
,1), /* 95 = fsync */
425 sysp(setpriority
,3), /* 96 = setpriority */
426 sysnets(socket
,3), /* 97 = socket */
427 sysnets(connect
,3), /* 98 = connect */
428 comaptnet(accept
,3), /* 99 = accept */
429 sysp(getpriority
,2), /* 100 = getpriority */
430 comaptnet(send
,4), /* 101 = old send */
431 comaptnet(recv
,4), /* 102 = old recv */
433 syss(osigreturn
,1), /* 103 = sigreturn ; compat for jaguar*/
435 syss(sigreturn
,1), /* 103 = sigreturn */
437 sysnets(bind
,3), /* 104 = bind */
438 sysnets(setsockopt
,5), /* 105 = setsockopt */
439 sysnets(listen
,2), /* 106 = listen */
440 syss(nosys
,0), /* 107 was vtimes */
441 compat(sigvec
,3), /* 108 = sigvec */
442 compat(sigblock
,1), /* 109 = sigblock */
443 compat(sigsetmask
,1), /* 110 = sigsetmask */
444 syss(sigsuspend
,1), /* 111 = sigpause */
445 compat(sigstack
,2), /* 112 = sigstack */
446 comaptnet(recvmsg
,3), /* 113 = recvmsg */
447 comaptnet(sendmsg
,3), /* 114 = sendmsg */
448 syss(nosys
,0), /* 115 = old vtrace */
450 sysnofnl(ppc_gettimeofday
,2), /* 116 = gettimeofday */
452 sysnofnl(gettimeofday
,2), /* 116 = gettimeofday */
454 sysp(getrusage
,2), /* 117 = getrusage */
455 sysnets(getsockopt
,5), /* 118 = getsockopt */
456 syss(nosys
,0), /* 119 = old resuba */
457 sysp(readv
,3), /* 120 = readv */
458 sysp(writev
,3), /* 121 = writev */
459 syss(settimeofday
,2), /* 122 = settimeofday */
460 syss(fchown
,3), /* 123 = fchown */
461 syss(fchmod
,2), /* 124 = fchmod */
462 comaptnet(recvfrom
,6), /* 125 = recvfrom */
463 compat(setreuid
,2), /* 126 = setreuid */
464 compat(setregid
,2), /* 127 = setregid */
465 syss(rename
,2), /* 128 = rename */
466 compat(truncate
,2), /* 129 = old truncate */
467 compat(ftruncate
,2), /* 130 = ftruncate */
468 syss(flock
,2), /* 131 = flock */
469 syss(mkfifo
,2), /* 132 = mkfifo */
470 sysnets(sendto
,6), /* 133 = sendto */
471 sysnets(shutdown
,2), /* 134 = shutdown */
472 sysnets(socketpair
,4), /* 135 = socketpair */
473 syss(mkdir
,2), /* 136 = mkdir */
474 syss(rmdir
,1), /* 137 = rmdir */
475 syss(utimes
,2), /* 138 = utimes */
476 syss(futimes
,2), /* 139 = futimes */
477 syss(adjtime
,2), /* 140 = adjtime */
478 comaptnet(getpeername
,3),/* 141 = getpeername */
479 compat(gethostid
,0), /* 142 = old gethostid */
480 sysp(nosys
,0), /* 143 = old sethostid */
481 compat(getrlimit
,2), /* 144 = old getrlimit */
482 compat(setrlimit
,2), /* 145 = old setrlimit */
483 compat(killpg
,2), /* 146 = old killpg */
484 syss(setsid
,0), /* 147 = setsid */
485 syss(nosys
,0), /* 148 was setquota */
486 syss(nosys
,0), /* 149 was qquota */
487 comaptnet(getsockname
,3),/* 150 = getsockname */
488 syss(getpgid
,1), /* 151 = getpgid */
489 sysp(setprivexec
,1),/* 152 = setprivexec */
490 #ifdef DOUBLE_ALIGN_PARAMS
491 syss(pread
,5), /* 153 = pread */
492 syss(pwrite
,5), /* 154 = pwrite */
494 syss(pread
,4), /* 153 = pread */
495 syss(pwrite
,4), /* 154 = pwrite */
497 syss(nfssvc
,2), /* 155 = nfs_svc */
498 compat(getdirentries
,4), /* 156 = old getdirentries */
499 syss(statfs
, 2), /* 157 = statfs */
500 syss(fstatfs
, 2), /* 158 = fstatfs */
501 syss(unmount
, 2), /* 159 = unmount */
502 syss(nosys
,0), /* 160 was async_daemon */
503 syss(getfh
,2), /* 161 = get file handle */
504 compat(getdomainname
,2), /* 162 = getdomainname */
505 compat(setdomainname
,2), /* 163 = setdomainname */
506 syss(nosys
,0), /* 164 */
508 syss(quotactl
, 4), /* 165 = quotactl */
510 syss(nosys
, 0), /* 165 = not configured */
512 syss(nosys
,0), /* 166 was exportfs */
513 syss(mount
, 4), /* 167 = mount */
514 syss(nosys
,0), /* 168 was ustat */
515 syss(nosys
,0), /* 169 = nosys */
516 syss(nosys
,0), /* 170 was table */
517 compat(wait3
,3), /* 171 = old wait3 */
518 syss(nosys
,0), /* 172 was rpause */
519 syss(nosys
,0), /* 173 = nosys */
520 syss(nosys
,0), /* 174 was getdents */
521 syss(nosys
,0), /* 175 was gc_control */
522 syss(add_profil
,4), /* 176 = add_profil */
523 syss(nosys
,0), /* 177 */
524 syss(nosys
,0), /* 178 */
525 syss(nosys
,0), /* 179 */
526 syss(kdebug_trace
,6), /* 180 */
527 syss(setgid
,1), /* 181 */
528 syss(setegid
,1), /* 182 */
529 syss(seteuid
,1), /* 183 */
531 syss(sigreturn
, 2), /* 184 = nosys */
533 syss(nosys
,0), /* 184 = nosys */
535 syss(nosys
,0), /* 185 = nosys */
536 syss(nosys
,0), /* 186 = nosys */
537 syss(nosys
,0), /* 187 = nosys */
538 syss(stat
,2), /* 188 = stat */
539 syss(fstat
,2), /* 189 = fstat */
540 syss(lstat
,2), /* 190 = lstat */
541 syss(pathconf
,2), /* 191 = pathconf */
542 syss(fpathconf
,2), /* 192 = fpathconf */
544 syss(getfsstat
,3), /* 193 = getfsstat */
546 syss(nosys
,0), /* 193 is unused */
548 syss(getrlimit
,2), /* 194 = getrlimit */
549 syss(setrlimit
,2), /* 195 = setrlimit */
550 syss(getdirentries
,4), /* 196 = getdirentries */
551 #ifdef DOUBLE_ALIGN_PARAMS
552 syss(mmap
,8), /* 197 = mmap */
554 syss(mmap
,7), /* 197 = mmap */
556 syss(nosys
,0), /* 198 = __syscall */
557 #ifdef DOUBLE_ALIGN_PARAMS
558 syss(lseek
,5), /* 199 = lseek */
560 syss(lseek
,4), /* 199 = lseek */
562 #ifdef DOUBLE_ALIGN_PARAMS
563 syss(truncate
,4), /* 200 = truncate */
564 syss(ftruncate
,4), /* 201 = ftruncate */
566 syss(truncate
,3), /* 200 = truncate */
567 syss(ftruncate
,3), /* 201 = ftruncate */
569 syss(__sysctl
,6), /* 202 = __sysctl */
570 sysp(mlock
, 2), /* 203 = mlock */
571 syss(munlock
, 2), /* 204 = munlock */
572 syss(undelete
,1), /* 205 = undelete */
574 sysnets(ATsocket
,1), /* 206 = ATsocket */
575 sysnets(ATgetmsg
,4), /* 207 = ATgetmsg*/
576 sysnets(ATputmsg
,4), /* 208 = ATputmsg*/
577 sysnets(ATPsndreq
,4), /* 209 = ATPsndreq*/
578 sysnets(ATPsndrsp
,4), /* 210 = ATPsndrsp*/
579 sysnets(ATPgetreq
,3), /* 211 = ATPgetreq*/
580 sysnets(ATPgetrsp
,2), /* 212 = ATPgetrsp*/
581 syss(nosys
,0), /* 213 = Reserved for AppleTalk */
582 syss(nosys
,0), /* 214 = Reserved for AppleTalk */
583 syss(nosys
,0), /* 215 = Reserved for AppleTalk */
585 syss(nosys
,0), /* 206 = Reserved for AppleTalk */
586 syss(nosys
,0), /* 207 = Reserved for AppleTalk */
587 syss(nosys
,0), /* 208 = Reserved for AppleTalk */
588 syss(nosys
,0), /* 209 = Reserved for AppleTalk */
589 syss(nosys
,0), /* 210 = Reserved for AppleTalk */
590 syss(nosys
,0), /* 211 = Reserved for AppleTalk */
591 syss(nosys
,0), /* 212 = Reserved for AppleTalk */
592 syss(nosys
,0), /* 213 = Reserved for AppleTalk */
593 syss(nosys
,0), /* 214 = Reserved for AppleTalk */
594 syss(nosys
,0), /* 215 = Reserved for AppleTalk */
598 * System Calls 216 - 230 are reserved for calls to support HFS/HFS Plus
599 * file system semantics. Currently, we only use 215-227. The rest is
600 * for future expansion in anticipation of new MacOS APIs for HFS Plus.
601 * These calls are not conditionalized becuase while they are specific
602 * to HFS semantics, they are not specific to the HFS filesystem.
603 * We expect all filesystems to recognize the call and report that it is
604 * not supported or to actually implement it.
606 syss(nosys
,3), /* 216 = HFS make complex file call (multipel forks */
607 syss(nosys
,2), /* 217 = HFS statv extended stat call for HFS */
608 syss(nosys
,2), /* 218 = HFS lstatv extended lstat call for HFS */
609 syss(nosys
,2), /* 219 = HFS fstatv extended fstat call for HFS */
610 syss(getattrlist
,5), /* 220 = HFS getarrtlist get attribute list cal */
611 syss(setattrlist
,5), /* 221 = HFS setattrlist set attribute list */
612 syss(getdirentriesattr
,8), /* 222 = HFS getdirentriesattr get directory attributes */
613 syss(exchangedata
,3), /* 223 = HFS exchangedata exchange file contents */
614 #ifdef __APPLE_API_OBSOLETE
615 syss(checkuseraccess
,6),/* 224 = HFS checkuseraccess check access to a file */
617 syss(nosys
,6),/* 224 = HFS checkuseraccess check access to a file */
618 #endif /* __APPLE_API_OBSOLETE */
619 syss(searchfs
,6), /* 225 = HFS searchfs to implement catalog searching */
620 syss(delete,1), /* 226 = private delete (Carbon semantics) */
621 syss(copyfile
,4), /* 227 = copyfile - orignally for AFP */
622 syss(nosys
,0), /* 228 */
623 syss(nosys
,0), /* 229 */
624 syss(nosys
,0), /* 230 */
625 sysnets(watchevent
,2), /* 231 */
626 sysnets(waitevent
,2), /* 232 */
627 sysnets(modwatch
,2), /* 233 */
628 syss(nosys
,0), /* 234 */
629 syss(nosys
,0), /* 235 */
630 syss(nosys
,0), /* 236 */
631 syss(nosys
,0), /* 237 */
632 syss(nosys
,0), /* 238 */
633 syss(nosys
,0), /* 239 */
634 syss(nosys
,0), /* 240 */
635 syss(nosys
,0), /* 241 */
636 syss(fsctl
,4), /* 242 = fsctl */
637 syss(nosys
,0), /* 243 */
638 syss(nosys
,0), /* 244 */
639 syss(nosys
,0), /* 245 */
640 syss(nosys
,0), /* 246 */
641 syss(nosys
,0), /* 247 */
642 syss(nosys
,0), /* 248 */
643 syss(nosys
,0), /* 249 */
644 syss(minherit
,3), /* 250 = minherit */
645 syss(semsys
,5), /* 251 = semsys */
646 syss(msgsys
,6), /* 252 = msgsys */
647 syss(shmsys
,4), /* 253 = shmsys */
648 syss(semctl
,4), /* 254 = semctl */
649 syss(semget
,3), /* 255 = semget */
650 syss(semop
,3), /* 256 = semop */
651 syss(semconfig
,1), /* 257 = semconfig */
652 syss(msgctl
,3), /* 258 = msgctl */
653 syss(msgget
,2), /* 259 = msgget */
654 syss(msgsnd
,4), /* 260 = msgsnd */
655 syss(msgrcv
,5), /* 261 = msgrcv */
656 syss(shmat
,3), /* 262 = shmat */
657 syss(shmctl
,3), /* 263 = shmctl */
658 syss(shmdt
,1), /* 264 = shmdt */
659 syss(shmget
,3), /* 265 = shmget */
660 syss(shm_open
,3), /* 266 = shm_open */
661 syss(shm_unlink
,1), /* 267 = shm_unlink */
662 syss(sem_open
,4), /* 268 = sem_open */
663 syss(sem_close
,1), /* 269 = sem_close */
664 syss(sem_unlink
,1), /* 270 = sem_unlink */
665 syss(sem_wait
,1), /* 271 = sem_wait */
666 syss(sem_trywait
,1), /* 272 = sem_trywait */
667 syss(sem_post
,1), /* 273 = sem_post */
668 syss(sem_getvalue
,2), /* 274 = sem_getvalue */
669 syss(sem_init
,3), /* 275 = sem_init */
670 syss(sem_destroy
,1), /* 276 = sem_destroy */
671 syss(nosys
,0), /* 277 */
672 syss(nosys
,0), /* 278 */
673 syss(nosys
,0), /* 279 */
674 syss(nosys
,0), /* 280 */
675 syss(nosys
,0), /* 281 */
676 syss(nosys
,0), /* 282 */
677 syss(nosys
,0), /* 283 */
678 syss(nosys
,0), /* 284 */
679 syss(nosys
,0), /* 285 */
680 syss(nosys
,0), /* 286 */
681 syss(nosys
,0), /* 287 */
682 syss(nosys
,0), /* 288 */
683 syss(nosys
,0), /* 289 */
684 syss(nosys
,0), /* 290 */
685 syss(nosys
,0), /* 291 */
686 syss(nosys
,0), /* 292 */
687 syss(nosys
,0), /* 293 */
688 syss(nosys
,0), /* 294 */
689 syss(nosys
,0), /* 295 */
690 syss(load_shared_file
,7), /* 296 = load_shared_file */
691 syss(reset_shared_file
,3), /* 297 = reset_shared_file */
692 syss(new_system_shared_regions
,0), /* 298 = new_system_shared_regions */
693 syss(nosys
,0), /* 299 */
694 syss(nosys
,0), /* 300 */
695 syss(nosys
,0), /* 301 */
696 syss(nosys
,0), /* 302 */
697 syss(nosys
,0), /* 303 */
698 syss(nosys
,0), /* 304 */
699 syss(nosys
,0), /* 305 */
700 syss(nosys
,0), /* 306 */
701 syss(nosys
,0), /* 307 */
702 syss(nosys
,0), /* 308 */
703 syss(nosys
,0), /* 309 */
704 syss(getsid
,1), /* 310 = getsid */
705 syss(nosys
,0), /* 311 */
706 syss(nosys
,0), /* 312 */
707 syss(nosys
,0), /* 313 */
708 syss(nosys
,0), /* 314 */
709 syss(nosys
,0), /* 315 */
710 syss(nosys
,0), /* 316 */
711 syss(nosys
,0), /* 317 */
712 syss(nosys
,0), /* 318 */
713 syss(nosys
,0), /* 319 */
714 syss(nosys
,0), /* 320 */
715 syss(nosys
,0), /* 321 */
716 syss(nosys
,0), /* 322 */
717 syss(nosys
,0), /* 323 */
718 syss(mlockall
,1), /* 324 = mlockall*/
719 syss(munlockall
,1), /* 325 = munlockall*/
720 syss(nosys
,0), /* 326 */
721 sysp(issetugid
,0), /* 327 = issetugid */
722 syss(__pthread_kill
,2), /* 328 */
723 syss(pthread_sigmask
,3), /* 329 */
724 syss(sigwait
,2), /* 330 */
725 syss(__disable_threadsignal
,1), /* 331 */
726 syss(nosys
,0), /* 332 */
727 syss(nosys
,0), /* 333 */
728 syss(nosys
,0), /* 334 */
729 syss(utrace
,2), /* 335 = utrace */
730 syss(nosys
,0), /* 336 */
731 syss(nosys
,0), /* 337 */
732 syss(nosys
,0), /* 338 */
733 syss(nosys
,0), /* 339 */
734 syss(nosys
,0), /* 340 */
735 syss(nosys
,0), /* 341 */
736 syss(nosys
,0), /* 342 */
737 syss(nosys
,0), /* 343 */
738 syss(nosys
,0), /* 344 */
739 syss(nosys
,0), /* 345 */
740 syss(nosys
,0), /* 346 */
741 syss(nosys
,0), /* 347 */
742 syss(nosys
,0), /* 348 */
743 syss(nosys
,0) /* 349 */
745 int nsysent
= sizeof(sysent
) / sizeof(sysent
[0]);