The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/kern/init_sysent.c

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $OpenBSD: init_sysent.c,v 1.256 2023/01/07 05:25:39 guenther Exp $      */
    2 
    3 /*
    4  * System call switch table.
    5  *
    6  * DO NOT EDIT-- this file is automatically generated.
    7  * created from;        OpenBSD: syscalls.master,v 1.239 2023/01/07 05:24:58 guenther Exp 
    8  */
    9 
   10 #include <sys/param.h>
   11 #include <sys/systm.h>
   12 #include <sys/signal.h>
   13 #include <sys/mount.h>
   14 #include <sys/syscallargs.h>
   15 #include <sys/poll.h>
   16 
   17 #define s(type) sizeof(type)
   18 
   19 const struct sysent sysent[] = {
   20         { 0, 0, 0,
   21             sys_nosys },                        /* 0 = syscall (indir) */
   22         { 1, s(struct sys_exit_args), 0,
   23             sys_exit },                         /* 1 = exit */
   24         { 0, 0, 0,
   25             sys_fork },                         /* 2 = fork */
   26         { 3, s(struct sys_read_args), SY_NOLOCK | 0,
   27             sys_read },                         /* 3 = read */
   28         { 3, s(struct sys_write_args), SY_NOLOCK | 0,
   29             sys_write },                        /* 4 = write */
   30         { 3, s(struct sys_open_args), 0,
   31             sys_open },                         /* 5 = open */
   32         { 1, s(struct sys_close_args), SY_NOLOCK | 0,
   33             sys_close },                        /* 6 = close */
   34         { 2, s(struct sys_getentropy_args), SY_NOLOCK | 0,
   35             sys_getentropy },                   /* 7 = getentropy */
   36         { 2, s(struct sys___tfork_args), 0,
   37             sys___tfork },                      /* 8 = __tfork */
   38         { 2, s(struct sys_link_args), 0,
   39             sys_link },                         /* 9 = link */
   40         { 1, s(struct sys_unlink_args), 0,
   41             sys_unlink },                       /* 10 = unlink */
   42         { 4, s(struct sys_wait4_args), 0,
   43             sys_wait4 },                        /* 11 = wait4 */
   44         { 1, s(struct sys_chdir_args), 0,
   45             sys_chdir },                        /* 12 = chdir */
   46         { 1, s(struct sys_fchdir_args), 0,
   47             sys_fchdir },                       /* 13 = fchdir */
   48         { 3, s(struct sys_mknod_args), 0,
   49             sys_mknod },                        /* 14 = mknod */
   50         { 2, s(struct sys_chmod_args), 0,
   51             sys_chmod },                        /* 15 = chmod */
   52         { 3, s(struct sys_chown_args), 0,
   53             sys_chown },                        /* 16 = chown */
   54         { 1, s(struct sys_obreak_args), 0,
   55             sys_obreak },                       /* 17 = break */
   56         { 0, 0, SY_NOLOCK | 0,
   57             sys_getdtablecount },               /* 18 = getdtablecount */
   58         { 2, s(struct sys_getrusage_args), 0,
   59             sys_getrusage },                    /* 19 = getrusage */
   60         { 0, 0, SY_NOLOCK | 0,
   61             sys_getpid },                       /* 20 = getpid */
   62         { 4, s(struct sys_mount_args), 0,
   63             sys_mount },                        /* 21 = mount */
   64         { 2, s(struct sys_unmount_args), 0,
   65             sys_unmount },                      /* 22 = unmount */
   66         { 1, s(struct sys_setuid_args), 0,
   67             sys_setuid },                       /* 23 = setuid */
   68         { 0, 0, SY_NOLOCK | 0,
   69             sys_getuid },                       /* 24 = getuid */
   70         { 0, 0, SY_NOLOCK | 0,
   71             sys_geteuid },                      /* 25 = geteuid */
   72 #ifdef PTRACE
   73         { 4, s(struct sys_ptrace_args), 0,
   74             sys_ptrace },                       /* 26 = ptrace */
   75 #else
   76         { 0, 0, 0,
   77             sys_nosys },                        /* 26 = unimplemented ptrace */
   78 #endif
   79         { 3, s(struct sys_recvmsg_args), SY_NOLOCK | 0,
   80             sys_recvmsg },                      /* 27 = recvmsg */
   81         { 3, s(struct sys_sendmsg_args), SY_NOLOCK | 0,
   82             sys_sendmsg },                      /* 28 = sendmsg */
   83         { 6, s(struct sys_recvfrom_args), SY_NOLOCK | 0,
   84             sys_recvfrom },                     /* 29 = recvfrom */
   85         { 3, s(struct sys_accept_args), SY_NOLOCK | 0,
   86             sys_accept },                       /* 30 = accept */
   87         { 3, s(struct sys_getpeername_args), SY_NOLOCK | 0,
   88             sys_getpeername },                  /* 31 = getpeername */
   89         { 3, s(struct sys_getsockname_args), SY_NOLOCK | 0,
   90             sys_getsockname },                  /* 32 = getsockname */
   91         { 2, s(struct sys_access_args), 0,
   92             sys_access },                       /* 33 = access */
   93         { 2, s(struct sys_chflags_args), 0,
   94             sys_chflags },                      /* 34 = chflags */
   95         { 2, s(struct sys_fchflags_args), 0,
   96             sys_fchflags },                     /* 35 = fchflags */
   97         { 0, 0, 0,
   98             sys_sync },                         /* 36 = sync */
   99         { 2, s(struct sys_msyscall_args), 0,
  100             sys_msyscall },                     /* 37 = msyscall */
  101         { 2, s(struct sys_stat_args), 0,
  102             sys_stat },                         /* 38 = stat */
  103         { 0, 0, SY_NOLOCK | 0,
  104             sys_getppid },                      /* 39 = getppid */
  105         { 2, s(struct sys_lstat_args), 0,
  106             sys_lstat },                        /* 40 = lstat */
  107         { 1, s(struct sys_dup_args), SY_NOLOCK | 0,
  108             sys_dup },                          /* 41 = dup */
  109         { 4, s(struct sys_fstatat_args), 0,
  110             sys_fstatat },                      /* 42 = fstatat */
  111         { 0, 0, SY_NOLOCK | 0,
  112             sys_getegid },                      /* 43 = getegid */
  113         { 4, s(struct sys_profil_args), 0,
  114             sys_profil },                       /* 44 = profil */
  115 #ifdef KTRACE
  116         { 4, s(struct sys_ktrace_args), 0,
  117             sys_ktrace },                       /* 45 = ktrace */
  118 #else
  119         { 0, 0, 0,
  120             sys_nosys },                        /* 45 = unimplemented ktrace */
  121 #endif
  122         { 3, s(struct sys_sigaction_args), 0,
  123             sys_sigaction },                    /* 46 = sigaction */
  124         { 0, 0, SY_NOLOCK | 0,
  125             sys_getgid },                       /* 47 = getgid */
  126         { 2, s(struct sys_sigprocmask_args), SY_NOLOCK | 0,
  127             sys_sigprocmask },                  /* 48 = sigprocmask */
  128         { 6, s(struct sys_mmap_args), SY_NOLOCK | 0,
  129             sys_mmap },                         /* 49 = mmap */
  130         { 1, s(struct sys_setlogin_args), 0,
  131             sys_setlogin },                     /* 50 = setlogin */
  132 #ifdef ACCOUNTING
  133         { 1, s(struct sys_acct_args), 0,
  134             sys_acct },                         /* 51 = acct */
  135 #else
  136         { 0, 0, 0,
  137             sys_nosys },                        /* 51 = unimplemented acct */
  138 #endif
  139         { 0, 0, 0,
  140             sys_sigpending },                   /* 52 = sigpending */
  141         { 2, s(struct sys_fstat_args), 0,
  142             sys_fstat },                        /* 53 = fstat */
  143         { 3, s(struct sys_ioctl_args), SY_NOLOCK | 0,
  144             sys_ioctl },                        /* 54 = ioctl */
  145         { 1, s(struct sys_reboot_args), 0,
  146             sys_reboot },                       /* 55 = reboot */
  147         { 1, s(struct sys_revoke_args), 0,
  148             sys_revoke },                       /* 56 = revoke */
  149         { 2, s(struct sys_symlink_args), 0,
  150             sys_symlink },                      /* 57 = symlink */
  151         { 3, s(struct sys_readlink_args), 0,
  152             sys_readlink },                     /* 58 = readlink */
  153         { 3, s(struct sys_execve_args), 0,
  154             sys_execve },                       /* 59 = execve */
  155         { 1, s(struct sys_umask_args), SY_NOLOCK | 0,
  156             sys_umask },                        /* 60 = umask */
  157         { 1, s(struct sys_chroot_args), 0,
  158             sys_chroot },                       /* 61 = chroot */
  159         { 3, s(struct sys_getfsstat_args), 0,
  160             sys_getfsstat },                    /* 62 = getfsstat */
  161         { 2, s(struct sys_statfs_args), 0,
  162             sys_statfs },                       /* 63 = statfs */
  163         { 2, s(struct sys_fstatfs_args), 0,
  164             sys_fstatfs },                      /* 64 = fstatfs */
  165         { 2, s(struct sys_fhstatfs_args), 0,
  166             sys_fhstatfs },                     /* 65 = fhstatfs */
  167         { 0, 0, 0,
  168             sys_vfork },                        /* 66 = vfork */
  169         { 2, s(struct sys_gettimeofday_args), SY_NOLOCK | 0,
  170             sys_gettimeofday },                 /* 67 = gettimeofday */
  171         { 2, s(struct sys_settimeofday_args), SY_NOLOCK | 0,
  172             sys_settimeofday },                 /* 68 = settimeofday */
  173         { 3, s(struct sys_setitimer_args), SY_NOLOCK | 0,
  174             sys_setitimer },                    /* 69 = setitimer */
  175         { 2, s(struct sys_getitimer_args), SY_NOLOCK | 0,
  176             sys_getitimer },                    /* 70 = getitimer */
  177         { 5, s(struct sys_select_args), 0,
  178             sys_select },                       /* 71 = select */
  179         { 6, s(struct sys_kevent_args), SY_NOLOCK | 0,
  180             sys_kevent },                       /* 72 = kevent */
  181         { 2, s(struct sys_munmap_args), SY_NOLOCK | 0,
  182             sys_munmap },                       /* 73 = munmap */
  183         { 3, s(struct sys_mprotect_args), SY_NOLOCK | 0,
  184             sys_mprotect },                     /* 74 = mprotect */
  185         { 3, s(struct sys_madvise_args), 0,
  186             sys_madvise },                      /* 75 = madvise */
  187         { 2, s(struct sys_utimes_args), 0,
  188             sys_utimes },                       /* 76 = utimes */
  189         { 2, s(struct sys_futimes_args), 0,
  190             sys_futimes },                      /* 77 = futimes */
  191         { 6, s(struct sys_mquery_args), 0,
  192             sys_mquery },                       /* 78 = mquery */
  193         { 2, s(struct sys_getgroups_args), SY_NOLOCK | 0,
  194             sys_getgroups },                    /* 79 = getgroups */
  195         { 2, s(struct sys_setgroups_args), 0,
  196             sys_setgroups },                    /* 80 = setgroups */
  197         { 0, 0, 0,
  198             sys_getpgrp },                      /* 81 = getpgrp */
  199         { 2, s(struct sys_setpgid_args), 0,
  200             sys_setpgid },                      /* 82 = setpgid */
  201         { 5, s(struct sys_futex_args), SY_NOLOCK | 0,
  202             sys_futex },                        /* 83 = futex */
  203         { 4, s(struct sys_utimensat_args), 0,
  204             sys_utimensat },                    /* 84 = utimensat */
  205         { 2, s(struct sys_futimens_args), 0,
  206             sys_futimens },                     /* 85 = futimens */
  207         { 3, s(struct sys_kbind_args), SY_NOLOCK | 0,
  208             sys_kbind },                        /* 86 = kbind */
  209         { 2, s(struct sys_clock_gettime_args), SY_NOLOCK | 0,
  210             sys_clock_gettime },                /* 87 = clock_gettime */
  211         { 2, s(struct sys_clock_settime_args), SY_NOLOCK | 0,
  212             sys_clock_settime },                /* 88 = clock_settime */
  213         { 2, s(struct sys_clock_getres_args), SY_NOLOCK | 0,
  214             sys_clock_getres },                 /* 89 = clock_getres */
  215         { 2, s(struct sys_dup2_args), SY_NOLOCK | 0,
  216             sys_dup2 },                         /* 90 = dup2 */
  217         { 2, s(struct sys_nanosleep_args), SY_NOLOCK | 0,
  218             sys_nanosleep },                    /* 91 = nanosleep */
  219         { 3, s(struct sys_fcntl_args), SY_NOLOCK | 0,
  220             sys_fcntl },                        /* 92 = fcntl */
  221         { 4, s(struct sys_accept4_args), SY_NOLOCK | 0,
  222             sys_accept4 },                      /* 93 = accept4 */
  223         { 5, s(struct sys___thrsleep_args), SY_NOLOCK | 0,
  224             sys___thrsleep },                   /* 94 = __thrsleep */
  225         { 1, s(struct sys_fsync_args), 0,
  226             sys_fsync },                        /* 95 = fsync */
  227         { 3, s(struct sys_setpriority_args), 0,
  228             sys_setpriority },                  /* 96 = setpriority */
  229         { 3, s(struct sys_socket_args), SY_NOLOCK | 0,
  230             sys_socket },                       /* 97 = socket */
  231         { 3, s(struct sys_connect_args), SY_NOLOCK | 0,
  232             sys_connect },                      /* 98 = connect */
  233         { 3, s(struct sys_getdents_args), 0,
  234             sys_getdents },                     /* 99 = getdents */
  235         { 2, s(struct sys_getpriority_args), 0,
  236             sys_getpriority },                  /* 100 = getpriority */
  237         { 2, s(struct sys_pipe2_args), SY_NOLOCK | 0,
  238             sys_pipe2 },                        /* 101 = pipe2 */
  239         { 3, s(struct sys_dup3_args), SY_NOLOCK | 0,
  240             sys_dup3 },                         /* 102 = dup3 */
  241         { 1, s(struct sys_sigreturn_args), 0,
  242             sys_sigreturn },                    /* 103 = sigreturn */
  243         { 3, s(struct sys_bind_args), 0,
  244             sys_bind },                         /* 104 = bind */
  245         { 5, s(struct sys_setsockopt_args), SY_NOLOCK | 0,
  246             sys_setsockopt },                   /* 105 = setsockopt */
  247         { 2, s(struct sys_listen_args), 0,
  248             sys_listen },                       /* 106 = listen */
  249         { 4, s(struct sys_chflagsat_args), 0,
  250             sys_chflagsat },                    /* 107 = chflagsat */
  251         { 2, s(struct sys_pledge_args), SY_NOLOCK | 0,
  252             sys_pledge },                       /* 108 = pledge */
  253         { 4, s(struct sys_ppoll_args), 0,
  254             sys_ppoll },                        /* 109 = ppoll */
  255         { 6, s(struct sys_pselect_args), 0,
  256             sys_pselect },                      /* 110 = pselect */
  257         { 1, s(struct sys_sigsuspend_args), 0,
  258             sys_sigsuspend },                   /* 111 = sigsuspend */
  259         { 3, s(struct sys_sendsyslog_args), SY_NOLOCK | 0,
  260             sys_sendsyslog },                   /* 112 = sendsyslog */
  261         { 0, 0, 0,
  262             sys_nosys },                        /* 113 = unimplemented fktrace */
  263         { 2, s(struct sys_unveil_args), 0,
  264             sys_unveil },                       /* 114 = unveil */
  265         { 2, s(struct sys___realpath_args), 0,
  266             sys___realpath },                   /* 115 = __realpath */
  267         { 5, s(struct sys_recvmmsg_args), SY_NOLOCK | 0,
  268             sys_recvmmsg },                     /* 116 = recvmmsg */
  269         { 4, s(struct sys_sendmmsg_args), SY_NOLOCK | 0,
  270             sys_sendmmsg },                     /* 117 = sendmmsg */
  271         { 5, s(struct sys_getsockopt_args), SY_NOLOCK | 0,
  272             sys_getsockopt },                   /* 118 = getsockopt */
  273         { 3, s(struct sys_thrkill_args), 0,
  274             sys_thrkill },                      /* 119 = thrkill */
  275         { 3, s(struct sys_readv_args), SY_NOLOCK | 0,
  276             sys_readv },                        /* 120 = readv */
  277         { 3, s(struct sys_writev_args), SY_NOLOCK | 0,
  278             sys_writev },                       /* 121 = writev */
  279         { 2, s(struct sys_kill_args), 0,
  280             sys_kill },                         /* 122 = kill */
  281         { 3, s(struct sys_fchown_args), 0,
  282             sys_fchown },                       /* 123 = fchown */
  283         { 2, s(struct sys_fchmod_args), 0,
  284             sys_fchmod },                       /* 124 = fchmod */
  285         { 0, 0, 0,
  286             sys_nosys },                        /* 125 = obsolete orecvfrom */
  287         { 2, s(struct sys_setreuid_args), 0,
  288             sys_setreuid },                     /* 126 = setreuid */
  289         { 2, s(struct sys_setregid_args), 0,
  290             sys_setregid },                     /* 127 = setregid */
  291         { 2, s(struct sys_rename_args), 0,
  292             sys_rename },                       /* 128 = rename */
  293         { 0, 0, 0,
  294             sys_nosys },                        /* 129 = obsolete otruncate */
  295         { 0, 0, 0,
  296             sys_nosys },                        /* 130 = obsolete oftruncate */
  297         { 2, s(struct sys_flock_args), SY_NOLOCK | 0,
  298             sys_flock },                        /* 131 = flock */
  299         { 2, s(struct sys_mkfifo_args), 0,
  300             sys_mkfifo },                       /* 132 = mkfifo */
  301         { 6, s(struct sys_sendto_args), SY_NOLOCK | 0,
  302             sys_sendto },                       /* 133 = sendto */
  303         { 2, s(struct sys_shutdown_args), 0,
  304             sys_shutdown },                     /* 134 = shutdown */
  305         { 4, s(struct sys_socketpair_args), SY_NOLOCK | 0,
  306             sys_socketpair },                   /* 135 = socketpair */
  307         { 2, s(struct sys_mkdir_args), 0,
  308             sys_mkdir },                        /* 136 = mkdir */
  309         { 1, s(struct sys_rmdir_args), 0,
  310             sys_rmdir },                        /* 137 = rmdir */
  311         { 0, 0, 0,
  312             sys_nosys },                        /* 138 = obsolete t32_utimes */
  313         { 0, 0, 0,
  314             sys_nosys },                        /* 139 = obsolete 4.2 sigreturn */
  315         { 2, s(struct sys_adjtime_args), SY_NOLOCK | 0,
  316             sys_adjtime },                      /* 140 = adjtime */
  317         { 2, s(struct sys_getlogin_r_args), 0,
  318             sys_getlogin_r },                   /* 141 = getlogin_r */
  319         { 3, s(struct sys_getthrname_args), 0,
  320             sys_getthrname },                   /* 142 = getthrname */
  321         { 2, s(struct sys_setthrname_args), 0,
  322             sys_setthrname },                   /* 143 = setthrname */
  323         { 0, 0, 0,
  324             sys_nosys },                        /* 144 = obsolete ogetrlimit */
  325         { 0, 0, 0,
  326             sys_nosys },                        /* 145 = obsolete osetrlimit */
  327         { 0, 0, 0,
  328             sys_nosys },                        /* 146 = obsolete okillpg */
  329         { 0, 0, 0,
  330             sys_setsid },                       /* 147 = setsid */
  331         { 4, s(struct sys_quotactl_args), 0,
  332             sys_quotactl },                     /* 148 = quotactl */
  333         { 0, 0, 0,
  334             sys_nosys },                        /* 149 = obsolete oquota */
  335         { 1, s(struct sys_ypconnect_args), SY_NOLOCK | 0,
  336             sys_ypconnect },                    /* 150 = ypconnect */
  337         { 0, 0, 0,
  338             sys_nosys },                        /* 151 = unimplemented */
  339         { 0, 0, 0,
  340             sys_nosys },                        /* 152 = unimplemented */
  341         { 0, 0, 0,
  342             sys_nosys },                        /* 153 = unimplemented */
  343         { 0, 0, 0,
  344             sys_nosys },                        /* 154 = unimplemented */
  345 #if defined(NFSCLIENT) || defined(NFSSERVER)
  346         { 2, s(struct sys_nfssvc_args), 0,
  347             sys_nfssvc },                       /* 155 = nfssvc */
  348 #else
  349         { 0, 0, 0,
  350             sys_nosys },                        /* 155 = unimplemented */
  351 #endif
  352         { 0, 0, 0,
  353             sys_nosys },                        /* 156 = obsolete ogetdirentries */
  354         { 0, 0, 0,
  355             sys_nosys },                        /* 157 = obsolete statfs25 */
  356         { 0, 0, 0,
  357             sys_nosys },                        /* 158 = obsolete fstatfs25 */
  358         { 2, s(struct sys_mimmutable_args), 0,
  359             sys_mimmutable },                   /* 159 = mimmutable */
  360         { 4, s(struct sys_waitid_args), 0,
  361             sys_waitid },                       /* 160 = waitid */
  362         { 2, s(struct sys_getfh_args), 0,
  363             sys_getfh },                        /* 161 = getfh */
  364         { 0, 0, 0,
  365             sys_nosys },                        /* 162 = obsolete ogetdomainname */
  366         { 0, 0, 0,
  367             sys_nosys },                        /* 163 = obsolete osetdomainname */
  368         { 1, s(struct sys___tmpfd_args), 0,
  369             sys___tmpfd },                      /* 164 = __tmpfd */
  370         { 2, s(struct sys_sysarch_args), 0,
  371             sys_sysarch },                      /* 165 = sysarch */
  372         { 3, s(struct sys_lseek_args), SY_NOLOCK | 0,
  373             sys_lseek },                        /* 166 = lseek */
  374         { 2, s(struct sys_truncate_args), 0,
  375             sys_truncate },                     /* 167 = truncate */
  376         { 2, s(struct sys_ftruncate_args), 0,
  377             sys_ftruncate },                    /* 168 = ftruncate */
  378         { 4, s(struct sys_pread_args), SY_NOLOCK | 0,
  379             sys_pread },                        /* 169 = pread */
  380         { 4, s(struct sys_pwrite_args), SY_NOLOCK | 0,
  381             sys_pwrite },                       /* 170 = pwrite */
  382         { 4, s(struct sys_preadv_args), SY_NOLOCK | 0,
  383             sys_preadv },                       /* 171 = preadv */
  384         { 4, s(struct sys_pwritev_args), SY_NOLOCK | 0,
  385             sys_pwritev },                      /* 172 = pwritev */
  386         { 5, s(struct sys_pad_pread_args), SY_NOLOCK | 0,
  387             sys_pad_pread },                    /* 173 = pad_pread */
  388         { 5, s(struct sys_pad_pwrite_args), SY_NOLOCK | 0,
  389             sys_pad_pwrite },                   /* 174 = pad_pwrite */
  390         { 0, 0, 0,
  391             sys_nosys },                        /* 175 = unimplemented ntp_gettime */
  392         { 0, 0, 0,
  393             sys_nosys },                        /* 176 = unimplemented ntp_adjtime */
  394         { 0, 0, 0,
  395             sys_nosys },                        /* 177 = unimplemented */
  396         { 0, 0, 0,
  397             sys_nosys },                        /* 178 = unimplemented */
  398         { 0, 0, 0,
  399             sys_nosys },                        /* 179 = unimplemented */
  400         { 0, 0, 0,
  401             sys_nosys },                        /* 180 = unimplemented */
  402         { 1, s(struct sys_setgid_args), 0,
  403             sys_setgid },                       /* 181 = setgid */
  404         { 1, s(struct sys_setegid_args), 0,
  405             sys_setegid },                      /* 182 = setegid */
  406         { 1, s(struct sys_seteuid_args), 0,
  407             sys_seteuid },                      /* 183 = seteuid */
  408         { 0, 0, 0,
  409             sys_nosys },                        /* 184 = obsolete lfs_bmapv */
  410         { 0, 0, 0,
  411             sys_nosys },                        /* 185 = obsolete lfs_markv */
  412         { 0, 0, 0,
  413             sys_nosys },                        /* 186 = obsolete lfs_segclean */
  414         { 0, 0, 0,
  415             sys_nosys },                        /* 187 = obsolete lfs_segwait */
  416         { 0, 0, 0,
  417             sys_nosys },                        /* 188 = obsolete stat35 */
  418         { 0, 0, 0,
  419             sys_nosys },                        /* 189 = obsolete fstat35 */
  420         { 0, 0, 0,
  421             sys_nosys },                        /* 190 = obsolete lstat35 */
  422         { 2, s(struct sys_pathconf_args), 0,
  423             sys_pathconf },                     /* 191 = pathconf */
  424         { 2, s(struct sys_fpathconf_args), 0,
  425             sys_fpathconf },                    /* 192 = fpathconf */
  426         { 3, s(struct sys_swapctl_args), 0,
  427             sys_swapctl },                      /* 193 = swapctl */
  428         { 2, s(struct sys_getrlimit_args), SY_NOLOCK | 0,
  429             sys_getrlimit },                    /* 194 = getrlimit */
  430         { 2, s(struct sys_setrlimit_args), SY_NOLOCK | 0,
  431             sys_setrlimit },                    /* 195 = setrlimit */
  432         { 0, 0, 0,
  433             sys_nosys },                        /* 196 = obsolete ogetdirentries48 */
  434         { 7, s(struct sys_pad_mmap_args), 0,
  435             sys_pad_mmap },                     /* 197 = pad_mmap */
  436         { 0, 0, 0,
  437             sys_nosys },                        /* 198 = __syscall (indir) */
  438         { 4, s(struct sys_pad_lseek_args), SY_NOLOCK | 0,
  439             sys_pad_lseek },                    /* 199 = pad_lseek */
  440         { 3, s(struct sys_pad_truncate_args), 0,
  441             sys_pad_truncate },                 /* 200 = pad_truncate */
  442         { 3, s(struct sys_pad_ftruncate_args), 0,
  443             sys_pad_ftruncate },                /* 201 = pad_ftruncate */
  444         { 6, s(struct sys_sysctl_args), 0,
  445             sys_sysctl },                       /* 202 = sysctl */
  446         { 2, s(struct sys_mlock_args), 0,
  447             sys_mlock },                        /* 203 = mlock */
  448         { 2, s(struct sys_munlock_args), 0,
  449             sys_munlock },                      /* 204 = munlock */
  450         { 0, 0, 0,
  451             sys_nosys },                        /* 205 = unimplemented sys_undelete */
  452         { 0, 0, 0,
  453             sys_nosys },                        /* 206 = obsolete t32_futimes */
  454         { 1, s(struct sys_getpgid_args), 0,
  455             sys_getpgid },                      /* 207 = getpgid */
  456         { 0, 0, 0,
  457             sys_nosys },                        /* 208 = obsolete nnpfspioctl */
  458         { 3, s(struct sys_utrace_args), 0,
  459             sys_utrace },                       /* 209 = utrace */
  460         { 0, 0, 0,
  461             sys_nosys },                        /* 210 = unimplemented */
  462         { 0, 0, 0,
  463             sys_nosys },                        /* 211 = unimplemented */
  464         { 0, 0, 0,
  465             sys_nosys },                        /* 212 = unimplemented */
  466         { 0, 0, 0,
  467             sys_nosys },                        /* 213 = unimplemented */
  468         { 0, 0, 0,
  469             sys_nosys },                        /* 214 = unimplemented */
  470         { 0, 0, 0,
  471             sys_nosys },                        /* 215 = unimplemented */
  472         { 0, 0, 0,
  473             sys_nosys },                        /* 216 = unimplemented */
  474         { 0, 0, 0,
  475             sys_nosys },                        /* 217 = unimplemented */
  476         { 0, 0, 0,
  477             sys_nosys },                        /* 218 = unimplemented */
  478         { 0, 0, 0,
  479             sys_nosys },                        /* 219 = unimplemented */
  480 #ifdef SYSVSEM
  481         { 0, 0, 0,
  482             sys_nosys },                        /* 220 = unimplemented */
  483         { 3, s(struct sys_semget_args), 0,
  484             sys_semget },                       /* 221 = semget */
  485 #else
  486         { 0, 0, 0,
  487             sys_nosys },                        /* 220 = unimplemented semctl */
  488         { 0, 0, 0,
  489             sys_nosys },                        /* 221 = unimplemented semget */
  490 #endif
  491         { 0, 0, 0,
  492             sys_nosys },                        /* 222 = obsolete semop35 */
  493         { 0, 0, 0,
  494             sys_nosys },                        /* 223 = obsolete semconfig35 */
  495 #ifdef SYSVMSG
  496         { 0, 0, 0,
  497             sys_nosys },                        /* 224 = unimplemented */
  498         { 2, s(struct sys_msgget_args), 0,
  499             sys_msgget },                       /* 225 = msgget */
  500         { 4, s(struct sys_msgsnd_args), 0,
  501             sys_msgsnd },                       /* 226 = msgsnd */
  502         { 5, s(struct sys_msgrcv_args), 0,
  503             sys_msgrcv },                       /* 227 = msgrcv */
  504 #else
  505         { 0, 0, 0,
  506             sys_nosys },                        /* 224 = unimplemented msgctl */
  507         { 0, 0, 0,
  508             sys_nosys },                        /* 225 = unimplemented msgget */
  509         { 0, 0, 0,
  510             sys_nosys },                        /* 226 = unimplemented msgsnd */
  511         { 0, 0, 0,
  512             sys_nosys },                        /* 227 = unimplemented msgrcv */
  513 #endif
  514 #ifdef SYSVSHM
  515         { 3, s(struct sys_shmat_args), 0,
  516             sys_shmat },                        /* 228 = shmat */
  517         { 0, 0, 0,
  518             sys_nosys },                        /* 229 = unimplemented */
  519         { 1, s(struct sys_shmdt_args), 0,
  520             sys_shmdt },                        /* 230 = shmdt */
  521 #else
  522         { 0, 0, 0,
  523             sys_nosys },                        /* 228 = unimplemented shmat */
  524         { 0, 0, 0,
  525             sys_nosys },                        /* 229 = unimplemented shmctl */
  526         { 0, 0, 0,
  527             sys_nosys },                        /* 230 = unimplemented shmdt */
  528 #endif
  529         { 0, 0, 0,
  530             sys_nosys },                        /* 231 = obsolete shmget35 */
  531         { 0, 0, 0,
  532             sys_nosys },                        /* 232 = obsolete t32_clock_gettime */
  533         { 0, 0, 0,
  534             sys_nosys },                        /* 233 = obsolete t32_clock_settime */
  535         { 0, 0, 0,
  536             sys_nosys },                        /* 234 = obsolete t32_clock_getres */
  537         { 0, 0, 0,
  538             sys_nosys },                        /* 235 = unimplemented timer_create */
  539         { 0, 0, 0,
  540             sys_nosys },                        /* 236 = unimplemented timer_delete */
  541         { 0, 0, 0,
  542             sys_nosys },                        /* 237 = unimplemented timer_settime */
  543         { 0, 0, 0,
  544             sys_nosys },                        /* 238 = unimplemented timer_gettime */
  545         { 0, 0, 0,
  546             sys_nosys },                        /* 239 = unimplemented timer_getoverrun */
  547         { 0, 0, 0,
  548             sys_nosys },                        /* 240 = obsolete t32_nanosleep */
  549         { 0, 0, 0,
  550             sys_nosys },                        /* 241 = unimplemented */
  551         { 0, 0, 0,
  552             sys_nosys },                        /* 242 = unimplemented */
  553         { 0, 0, 0,
  554             sys_nosys },                        /* 243 = unimplemented */
  555         { 0, 0, 0,
  556             sys_nosys },                        /* 244 = unimplemented */
  557         { 0, 0, 0,
  558             sys_nosys },                        /* 245 = unimplemented */
  559         { 0, 0, 0,
  560             sys_nosys },                        /* 246 = unimplemented */
  561         { 0, 0, 0,
  562             sys_nosys },                        /* 247 = unimplemented */
  563         { 0, 0, 0,
  564             sys_nosys },                        /* 248 = unimplemented */
  565         { 0, 0, 0,
  566             sys_nosys },                        /* 249 = unimplemented */
  567         { 3, s(struct sys_minherit_args), SY_NOLOCK | 0,
  568             sys_minherit },                     /* 250 = minherit */
  569         { 0, 0, 0,
  570             sys_nosys },                        /* 251 = obsolete rfork */
  571         { 3, s(struct sys_poll_args), 0,
  572             sys_poll },                         /* 252 = poll */
  573         { 0, 0, SY_NOLOCK | 0,
  574             sys_issetugid },                    /* 253 = issetugid */
  575         { 3, s(struct sys_lchown_args), 0,
  576             sys_lchown },                       /* 254 = lchown */
  577         { 1, s(struct sys_getsid_args), 0,
  578             sys_getsid },                       /* 255 = getsid */
  579         { 3, s(struct sys_msync_args), 0,
  580             sys_msync },                        /* 256 = msync */
  581         { 0, 0, 0,
  582             sys_nosys },                        /* 257 = obsolete semctl35 */
  583         { 0, 0, 0,
  584             sys_nosys },                        /* 258 = obsolete shmctl35 */
  585         { 0, 0, 0,
  586             sys_nosys },                        /* 259 = obsolete msgctl35 */
  587         { 0, 0, 0,
  588             sys_nosys },                        /* 260 = unimplemented */
  589         { 0, 0, 0,
  590             sys_nosys },                        /* 261 = unimplemented */
  591         { 0, 0, 0,
  592             sys_nosys },                        /* 262 = unimplemented */
  593         { 1, s(struct sys_pipe_args), SY_NOLOCK | 0,
  594             sys_pipe },                         /* 263 = pipe */
  595         { 2, s(struct sys_fhopen_args), 0,
  596             sys_fhopen },                       /* 264 = fhopen */
  597         { 0, 0, 0,
  598             sys_nosys },                        /* 265 = unimplemented */
  599         { 0, 0, 0,
  600             sys_nosys },                        /* 266 = unimplemented */
  601         { 5, s(struct sys_pad_preadv_args), SY_NOLOCK | 0,
  602             sys_pad_preadv },                   /* 267 = pad_preadv */
  603         { 5, s(struct sys_pad_pwritev_args), SY_NOLOCK | 0,
  604             sys_pad_pwritev },                  /* 268 = pad_pwritev */
  605         { 0, 0, SY_NOLOCK | 0,
  606             sys_kqueue },                       /* 269 = kqueue */
  607         { 0, 0, 0,
  608             sys_nosys },                        /* 270 = obsolete t32_kevent */
  609         { 1, s(struct sys_mlockall_args), 0,
  610             sys_mlockall },                     /* 271 = mlockall */
  611         { 0, 0, 0,
  612             sys_munlockall },                   /* 272 = munlockall */
  613         { 0, 0, 0,
  614             sys_nosys },                        /* 273 = unimplemented sys_getpeereid */
  615         { 0, 0, 0,
  616             sys_nosys },                        /* 274 = unimplemented sys_extattrctl */
  617         { 0, 0, 0,
  618             sys_nosys },                        /* 275 = unimplemented sys_extattr_set_file */
  619         { 0, 0, 0,
  620             sys_nosys },                        /* 276 = unimplemented sys_extattr_get_file */
  621         { 0, 0, 0,
  622             sys_nosys },                        /* 277 = unimplemented sys_extattr_delete_file */
  623         { 0, 0, 0,
  624             sys_nosys },                        /* 278 = unimplemented sys_extattr_set_fd */
  625         { 0, 0, 0,
  626             sys_nosys },                        /* 279 = unimplemented sys_extattr_get_fd */
  627         { 0, 0, 0,
  628             sys_nosys },                        /* 280 = unimplemented sys_extattr_delete_fd */
  629         { 3, s(struct sys_getresuid_args), SY_NOLOCK | 0,
  630             sys_getresuid },                    /* 281 = getresuid */
  631         { 3, s(struct sys_setresuid_args), 0,
  632             sys_setresuid },                    /* 282 = setresuid */
  633         { 3, s(struct sys_getresgid_args), SY_NOLOCK | 0,
  634             sys_getresgid },                    /* 283 = getresgid */
  635         { 3, s(struct sys_setresgid_args), 0,
  636             sys_setresgid },                    /* 284 = setresgid */
  637         { 0, 0, 0,
  638             sys_nosys },                        /* 285 = obsolete sys_omquery */
  639         { 7, s(struct sys_pad_mquery_args), 0,
  640             sys_pad_mquery },                   /* 286 = pad_mquery */
  641         { 1, s(struct sys_closefrom_args), SY_NOLOCK | 0,
  642             sys_closefrom },                    /* 287 = closefrom */
  643         { 2, s(struct sys_sigaltstack_args), 0,
  644             sys_sigaltstack },                  /* 288 = sigaltstack */
  645 #ifdef SYSVSHM
  646         { 3, s(struct sys_shmget_args), 0,
  647             sys_shmget },                       /* 289 = shmget */
  648 #else
  649         { 0, 0, 0,
  650             sys_nosys },                        /* 289 = unimplemented shmget */
  651 #endif
  652 #ifdef SYSVSEM
  653         { 3, s(struct sys_semop_args), 0,
  654             sys_semop },                        /* 290 = semop */
  655 #else
  656         { 0, 0, 0,
  657             sys_nosys },                        /* 290 = unimplemented semop */
  658 #endif
  659         { 0, 0, 0,
  660             sys_nosys },                        /* 291 = obsolete t32_stat */
  661         { 0, 0, 0,
  662             sys_nosys },                        /* 292 = obsolete t32_fstat */
  663         { 0, 0, 0,
  664             sys_nosys },                        /* 293 = obsolete t32_lstat */
  665         { 2, s(struct sys_fhstat_args), 0,
  666             sys_fhstat },                       /* 294 = fhstat */
  667 #ifdef SYSVSEM
  668         { 4, s(struct sys___semctl_args), 0,
  669             sys___semctl },                     /* 295 = __semctl */
  670 #else
  671         { 0, 0, 0,
  672             sys_nosys },                        /* 295 = unimplemented */
  673 #endif
  674 #ifdef SYSVSHM
  675         { 3, s(struct sys_shmctl_args), 0,
  676             sys_shmctl },                       /* 296 = shmctl */
  677 #else
  678         { 0, 0, 0,
  679             sys_nosys },                        /* 296 = unimplemented */
  680 #endif
  681 #ifdef SYSVMSG
  682         { 3, s(struct sys_msgctl_args), 0,
  683             sys_msgctl },                       /* 297 = msgctl */
  684 #else
  685         { 0, 0, 0,
  686             sys_nosys },                        /* 297 = unimplemented */
  687 #endif
  688         { 0, 0, SY_NOLOCK | 0,
  689             sys_sched_yield },                  /* 298 = sched_yield */
  690         { 0, 0, SY_NOLOCK | 0,
  691             sys_getthrid },                     /* 299 = getthrid */
  692         { 0, 0, 0,
  693             sys_nosys },                        /* 300 = obsolete t32___thrsleep */
  694         { 2, s(struct sys___thrwakeup_args), SY_NOLOCK | 0,
  695             sys___thrwakeup },                  /* 301 = __thrwakeup */
  696         { 1, s(struct sys___threxit_args), 0,
  697             sys___threxit },                    /* 302 = __threxit */
  698         { 3, s(struct sys___thrsigdivert_args), 0,
  699             sys___thrsigdivert },               /* 303 = __thrsigdivert */
  700         { 2, s(struct sys___getcwd_args), 0,
  701             sys___getcwd },                     /* 304 = __getcwd */
  702         { 2, s(struct sys_adjfreq_args), SY_NOLOCK | 0,
  703             sys_adjfreq },                      /* 305 = adjfreq */
  704         { 0, 0, 0,
  705             sys_nosys },                        /* 306 = obsolete getfsstat53 */
  706         { 0, 0, 0,
  707             sys_nosys },                        /* 307 = obsolete statfs53 */
  708         { 0, 0, 0,
  709             sys_nosys },                        /* 308 = obsolete fstatfs53 */
  710         { 0, 0, 0,
  711             sys_nosys },                        /* 309 = obsolete fhstatfs53 */
  712         { 1, s(struct sys_setrtable_args), SY_NOLOCK | 0,
  713             sys_setrtable },                    /* 310 = setrtable */
  714         { 0, 0, SY_NOLOCK | 0,
  715             sys_getrtable },                    /* 311 = getrtable */
  716         { 0, 0, 0,
  717             sys_nosys },                        /* 312 = obsolete t32_getdirentries */
  718         { 4, s(struct sys_faccessat_args), 0,
  719             sys_faccessat },                    /* 313 = faccessat */
  720         { 4, s(struct sys_fchmodat_args), 0,
  721             sys_fchmodat },                     /* 314 = fchmodat */
  722         { 5, s(struct sys_fchownat_args), 0,
  723             sys_fchownat },                     /* 315 = fchownat */
  724         { 0, 0, 0,
  725             sys_nosys },                        /* 316 = obsolete t32_fstatat */
  726         { 5, s(struct sys_linkat_args), 0,
  727             sys_linkat },                       /* 317 = linkat */
  728         { 3, s(struct sys_mkdirat_args), 0,
  729             sys_mkdirat },                      /* 318 = mkdirat */
  730         { 3, s(struct sys_mkfifoat_args), 0,
  731             sys_mkfifoat },                     /* 319 = mkfifoat */
  732         { 4, s(struct sys_mknodat_args), 0,
  733             sys_mknodat },                      /* 320 = mknodat */
  734         { 4, s(struct sys_openat_args), 0,
  735             sys_openat },                       /* 321 = openat */
  736         { 4, s(struct sys_readlinkat_args), 0,
  737             sys_readlinkat },                   /* 322 = readlinkat */
  738         { 4, s(struct sys_renameat_args), 0,
  739             sys_renameat },                     /* 323 = renameat */
  740         { 3, s(struct sys_symlinkat_args), 0,
  741             sys_symlinkat },                    /* 324 = symlinkat */
  742         { 3, s(struct sys_unlinkat_args), 0,
  743             sys_unlinkat },                     /* 325 = unlinkat */
  744         { 0, 0, 0,
  745             sys_nosys },                        /* 326 = obsolete t32_utimensat */
  746         { 0, 0, 0,
  747             sys_nosys },                        /* 327 = obsolete t32_futimens */
  748         { 0, 0, 0,
  749             sys_nosys },                        /* 328 = obsolete __tfork51 */
  750         { 1, s(struct sys___set_tcb_args), SY_NOLOCK | 0,
  751             sys___set_tcb },                    /* 329 = __set_tcb */
  752         { 0, 0, SY_NOLOCK | 0,
  753             sys___get_tcb },                    /* 330 = __get_tcb */
  754 };
  755 

Cache object: e2bfbadfa6250f703511388f45105940


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.