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/i386/ibcs2/ibcs2_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 /*
    2  * System call switch table.
    3  *
    4  * DO NOT EDIT-- this file is automatically generated.
    5  * $FreeBSD$
    6  * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.28 2006/07/28 19:05:27 jhb Exp 
    7  */
    8 
    9 #include <bsm/audit_kevents.h>
   10 #include <sys/param.h>
   11 #include <sys/sysent.h>
   12 #include <sys/sysproto.h>
   13 #include <i386/ibcs2/ibcs2_types.h>
   14 #include <i386/ibcs2/ibcs2_signal.h>
   15 #include <i386/ibcs2/ibcs2_proto.h>
   16 
   17 #define AS(name) (sizeof(struct name) / sizeof(register_t))
   18 
   19 /* The casts are bogus but will do for now. */
   20 struct sysent ibcs2_sysent[] = {
   21         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                /* 0 = syscall */
   22         { AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_EXIT, NULL, 0, 0 },     /* 1 = exit */
   23         { 0, (sy_call_t *)fork, AUE_FORK, NULL, 0, 0 },         /* 2 = fork */
   24         { AS(ibcs2_read_args), (sy_call_t *)ibcs2_read, AUE_NULL, NULL, 0, 0 }, /* 3 = ibcs2_read */
   25         { AS(write_args), (sy_call_t *)write, AUE_NULL, NULL, 0, 0 },   /* 4 = write */
   26         { AS(ibcs2_open_args), (sy_call_t *)ibcs2_open, AUE_OPEN_RWTC, NULL, 0, 0 },    /* 5 = ibcs2_open */
   27         { AS(close_args), (sy_call_t *)close, AUE_CLOSE, NULL, 0, 0 },  /* 6 = close */
   28         { AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait, AUE_WAIT4, NULL, 0, 0 },        /* 7 = ibcs2_wait */
   29         { AS(ibcs2_creat_args), (sy_call_t *)ibcs2_creat, AUE_CREAT, NULL, 0, 0 },      /* 8 = ibcs2_creat */
   30         { AS(link_args), (sy_call_t *)link, AUE_LINK, NULL, 0, 0 },     /* 9 = link */
   31         { AS(ibcs2_unlink_args), (sy_call_t *)ibcs2_unlink, AUE_UNLINK, NULL, 0, 0 },   /* 10 = ibcs2_unlink */
   32         { AS(ibcs2_execv_args), (sy_call_t *)ibcs2_execv, AUE_EXECVE, NULL, 0, 0 },     /* 11 = ibcs2_execv */
   33         { AS(ibcs2_chdir_args), (sy_call_t *)ibcs2_chdir, AUE_CHDIR, NULL, 0, 0 },      /* 12 = ibcs2_chdir */
   34         { AS(ibcs2_time_args), (sy_call_t *)ibcs2_time, AUE_NULL, NULL, 0, 0 }, /* 13 = ibcs2_time */
   35         { AS(ibcs2_mknod_args), (sy_call_t *)ibcs2_mknod, AUE_MKNOD, NULL, 0, 0 },      /* 14 = ibcs2_mknod */
   36         { AS(ibcs2_chmod_args), (sy_call_t *)ibcs2_chmod, AUE_CHMOD, NULL, 0, 0 },      /* 15 = ibcs2_chmod */
   37         { AS(ibcs2_chown_args), (sy_call_t *)ibcs2_chown, AUE_CHOWN, NULL, 0, 0 },      /* 16 = ibcs2_chown */
   38         { AS(obreak_args), (sy_call_t *)obreak, AUE_NULL, NULL, 0, 0 }, /* 17 = obreak */
   39         { AS(ibcs2_stat_args), (sy_call_t *)ibcs2_stat, AUE_STAT, NULL, 0, 0 }, /* 18 = ibcs2_stat */
   40         { AS(ibcs2_lseek_args), (sy_call_t *)ibcs2_lseek, AUE_LSEEK, NULL, 0, 0 },      /* 19 = ibcs2_lseek */
   41         { 0, (sy_call_t *)getpid, AUE_NULL, NULL, 0, 0 },               /* 20 = getpid */
   42         { AS(ibcs2_mount_args), (sy_call_t *)ibcs2_mount, AUE_MOUNT, NULL, 0, 0 },      /* 21 = ibcs2_mount */
   43         { AS(ibcs2_umount_args), (sy_call_t *)ibcs2_umount, AUE_UMOUNT, NULL, 0, 0 },   /* 22 = ibcs2_umount */
   44         { AS(ibcs2_setuid_args), (sy_call_t *)ibcs2_setuid, AUE_SETUID, NULL, 0, 0 },   /* 23 = ibcs2_setuid */
   45         { 0, (sy_call_t *)getuid, AUE_GETUID, NULL, 0, 0 },             /* 24 = getuid */
   46         { AS(ibcs2_stime_args), (sy_call_t *)ibcs2_stime, AUE_SETTIMEOFDAY, NULL, 0, 0 },       /* 25 = ibcs2_stime */
   47         { AS(ptrace_args), (sy_call_t *)ptrace, AUE_PTRACE, NULL, 0, 0 },       /* 26 = ptrace */
   48         { AS(ibcs2_alarm_args), (sy_call_t *)ibcs2_alarm, AUE_NULL, NULL, 0, 0 },       /* 27 = ibcs2_alarm */
   49         { AS(ibcs2_fstat_args), (sy_call_t *)ibcs2_fstat, AUE_FSTAT, NULL, 0, 0 },      /* 28 = ibcs2_fstat */
   50         { 0, (sy_call_t *)ibcs2_pause, AUE_NULL, NULL, 0, 0 },  /* 29 = ibcs2_pause */
   51         { AS(ibcs2_utime_args), (sy_call_t *)ibcs2_utime, AUE_NULL, NULL, 0, 0 },       /* 30 = ibcs2_utime */
   52         { AS(ibcs2_stty_args), (sy_call_t *)ibcs2_stty, AUE_NULL, NULL, 0, 0 }, /* 31 = ibcs2_stty */
   53         { AS(ibcs2_gtty_args), (sy_call_t *)ibcs2_gtty, AUE_NULL, NULL, 0, 0 }, /* 32 = ibcs2_gtty */
   54         { AS(ibcs2_access_args), (sy_call_t *)ibcs2_access, AUE_ACCESS, NULL, 0, 0 },   /* 33 = ibcs2_access */
   55         { AS(ibcs2_nice_args), (sy_call_t *)ibcs2_nice, AUE_NICE, NULL, 0, 0 }, /* 34 = ibcs2_nice */
   56         { AS(ibcs2_statfs_args), (sy_call_t *)ibcs2_statfs, AUE_STATFS, NULL, 0, 0 },   /* 35 = ibcs2_statfs */
   57         { 0, (sy_call_t *)sync, AUE_NULL, NULL, 0, 0 },         /* 36 = sync */
   58         { AS(ibcs2_kill_args), (sy_call_t *)ibcs2_kill, AUE_KILL, NULL, 0, 0 }, /* 37 = ibcs2_kill */
   59         { AS(ibcs2_fstatfs_args), (sy_call_t *)ibcs2_fstatfs, AUE_FSTATFS, NULL, 0, 0 },        /* 38 = ibcs2_fstatfs */
   60         { AS(ibcs2_pgrpsys_args), (sy_call_t *)ibcs2_pgrpsys, AUE_NULL, NULL, 0, 0 },   /* 39 = ibcs2_pgrpsys */
   61         { AS(ibcs2_xenix_args), (sy_call_t *)ibcs2_xenix, AUE_NULL, NULL, 0, 0 },       /* 40 = ibcs2_xenix */
   62         { AS(dup_args), (sy_call_t *)dup, AUE_NULL, NULL, 0, 0 },       /* 41 = dup */
   63         { 0, (sy_call_t *)pipe, AUE_PIPE, NULL, 0, 0 },         /* 42 = pipe */
   64         { AS(ibcs2_times_args), (sy_call_t *)ibcs2_times, AUE_NULL, NULL, 0, 0 },       /* 43 = ibcs2_times */
   65         { AS(profil_args), (sy_call_t *)profil, AUE_PROFILE, NULL, 0, 0 },      /* 44 = profil */
   66         { AS(ibcs2_plock_args), (sy_call_t *)ibcs2_plock, AUE_NULL, NULL, 0, 0 },       /* 45 = ibcs2_plock */
   67         { AS(ibcs2_setgid_args), (sy_call_t *)ibcs2_setgid, AUE_SETGID, NULL, 0, 0 },   /* 46 = ibcs2_setgid */
   68         { 0, (sy_call_t *)getgid, AUE_GETGID, NULL, 0, 0 },             /* 47 = getgid */
   69         { AS(ibcs2_sigsys_args), (sy_call_t *)ibcs2_sigsys, AUE_NULL, NULL, 0, 0 },     /* 48 = ibcs2_sigsys */
   70         { AS(ibcs2_msgsys_args), (sy_call_t *)ibcs2_msgsys, AUE_MSGSYS, NULL, 0, 0 },   /* 49 = ibcs2_msgsys */
   71         { AS(ibcs2_sysi86_args), (sy_call_t *)ibcs2_sysi86, AUE_NULL, NULL, 0, 0 },     /* 50 = ibcs2_sysi86 */
   72         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 51 = ibcs2_acct */
   73         { AS(ibcs2_shmsys_args), (sy_call_t *)ibcs2_shmsys, AUE_SHMSYS, NULL, 0, 0 },   /* 52 = ibcs2_shmsys */
   74         { AS(ibcs2_semsys_args), (sy_call_t *)ibcs2_semsys, AUE_SEMSYS, NULL, 0, 0 },   /* 53 = ibcs2_semsys */
   75         { AS(ibcs2_ioctl_args), (sy_call_t *)ibcs2_ioctl, AUE_IOCTL, NULL, 0, 0 },      /* 54 = ibcs2_ioctl */
   76         { AS(ibcs2_uadmin_args), (sy_call_t *)ibcs2_uadmin, AUE_NULL, NULL, 0, 0 },     /* 55 = ibcs2_uadmin */
   77         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 56 = nosys */
   78         { AS(ibcs2_utssys_args), (sy_call_t *)ibcs2_utssys, AUE_NULL, NULL, 0, 0 },     /* 57 = ibcs2_utssys */
   79         { AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC, NULL, 0, 0 },  /* 58 = fsync */
   80         { AS(ibcs2_execve_args), (sy_call_t *)ibcs2_execve, AUE_EXECVE, NULL, 0, 0 },   /* 59 = ibcs2_execve */
   81         { AS(umask_args), (sy_call_t *)umask, AUE_UMASK, NULL, 0, 0 },  /* 60 = umask */
   82         { AS(chroot_args), (sy_call_t *)chroot, AUE_CHROOT, NULL, 0, 0 },       /* 61 = chroot */
   83         { AS(ibcs2_fcntl_args), (sy_call_t *)ibcs2_fcntl, AUE_FCNTL, NULL, 0, 0 },      /* 62 = ibcs2_fcntl */
   84         { AS(ibcs2_ulimit_args), (sy_call_t *)ibcs2_ulimit, AUE_NULL, NULL, 0, 0 },     /* 63 = ibcs2_ulimit */
   85         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 64 = reserved for unix/pc */
   86         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 65 = reserved for unix/pc */
   87         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 66 = reserved for unix/pc */
   88         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 67 = reserved for unix/pc */
   89         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 68 = reserved for unix/pc */
   90         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 69 = reserved for unix/pc */
   91         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 70 = obsolete rfs_advfs */
   92         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 71 = obsolete rfs_unadvfs */
   93         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 72 = obsolete rfs_rmount */
   94         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 73 = obsolete rfs_rumount */
   95         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 74 = obsolete rfs_rfstart */
   96         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 75 = obsolete rfs_sigret */
   97         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 76 = obsolete rfs_rdebug */
   98         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 77 = obsolete rfs_rfstop */
   99         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 78 = rfs_rfsys */
  100         { AS(ibcs2_rmdir_args), (sy_call_t *)ibcs2_rmdir, AUE_RMDIR, NULL, 0, 0 },      /* 79 = ibcs2_rmdir */
  101         { AS(ibcs2_mkdir_args), (sy_call_t *)ibcs2_mkdir, AUE_MKDIR, NULL, 0, 0 },      /* 80 = ibcs2_mkdir */
  102         { AS(ibcs2_getdents_args), (sy_call_t *)ibcs2_getdents, AUE_GETDIRENTRIES, NULL, 0, 0 },        /* 81 = ibcs2_getdents */
  103         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 82 = nosys */
  104         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 83 = nosys */
  105         { AS(ibcs2_sysfs_args), (sy_call_t *)ibcs2_sysfs, AUE_NULL, NULL, 0, 0 },       /* 84 = ibcs2_sysfs */
  106         { AS(ibcs2_getmsg_args), (sy_call_t *)ibcs2_getmsg, AUE_GETMSG, NULL, 0, 0 },   /* 85 = ibcs2_getmsg */
  107         { AS(ibcs2_putmsg_args), (sy_call_t *)ibcs2_putmsg, AUE_PUTMSG, NULL, 0, 0 },   /* 86 = ibcs2_putmsg */
  108         { AS(poll_args), (sy_call_t *)poll, AUE_POLL, NULL, 0, 0 },     /* 87 = poll */
  109         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 88 = nosys */
  110         { AS(ibcs2_secure_args), (sy_call_t *)ibcs2_secure, AUE_NULL, NULL, 0, 0 },     /* 89 = ibcs2_secure */
  111         { AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink, AUE_SYMLINK, NULL, 0, 0 },        /* 90 = ibcs2_symlink */
  112         { AS(ibcs2_lstat_args), (sy_call_t *)ibcs2_lstat, AUE_LSTAT, NULL, 0, 0 },      /* 91 = ibcs2_lstat */
  113         { AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink, AUE_READLINK, NULL, 0, 0 },     /* 92 = ibcs2_readlink */
  114         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 93 = nosys */
  115         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 94 = nosys */
  116         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 95 = nosys */
  117         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 96 = nosys */
  118         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 97 = nosys */
  119         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 98 = nosys */
  120         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 99 = nosys */
  121         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 100 = nosys */
  122         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 101 = nosys */
  123         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 102 = nosys */
  124         { AS(sigreturn_args), (sy_call_t *)sigreturn, AUE_NULL, NULL, 0, 0 },   /* 103 = sigreturn */
  125         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 104 = nosys */
  126         { 0, (sy_call_t *)ibcs2_isc, AUE_NULL, NULL, 0, 0 },            /* 105 = ibcs2_isc */
  127         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 106 = nosys */
  128         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 107 = nosys */
  129         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 108 = nosys */
  130         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 109 = nosys */
  131         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 110 = nosys */
  132         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 111 = nosys */
  133         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 112 = nosys */
  134         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 113 = nosys */
  135         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 114 = nosys */
  136         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 115 = nosys */
  137         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 116 = nosys */
  138         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 117 = nosys */
  139         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 118 = nosys */
  140         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 119 = nosys */
  141         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 120 = nosys */
  142         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 121 = nosys */
  143         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 122 = nosys */
  144         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 123 = nosys */
  145         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 124 = nosys */
  146         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 125 = nosys */
  147         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 126 = nosys */
  148         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 127 = nosys */
  149 };

Cache object: d68e02e85cb275e78877e861b7de62de


[ 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.