ibcs2_xenix_sysent.c revision 160140
1/* 2 * System call switch table. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_xenix_sysent.c 160140 2006-07-06 21:33:14Z jhb $ 6 * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.12 2006/07/06 21:32:20 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_xenix.h> 16 17#define AS(name) (sizeof(struct name) / sizeof(register_t)) 18 19/* The casts are bogus but will do for now. */ 20struct sysent xenix_sysent[] = { 21 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 0 = nosys */ 22 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 1 = xenix_xlocking */ 23 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 2 = xenix_creatsem */ 24 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 3 = xenix_opensem */ 25 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 4 = xenix_sigsem */ 26 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 5 = xenix_waitsem */ 27 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 6 = xenix_nbwaitsem */ 28 { AS(xenix_rdchk_args), (sy_call_t *)xenix_rdchk, AUE_NULL }, /* 7 = xenix_rdchk */ 29 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 8 = nosys */ 30 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 9 = nosys */ 31 { SYF_MPSAFE | AS(xenix_chsize_args), (sy_call_t *)xenix_chsize, AUE_FTRUNCATE }, /* 10 = xenix_chsize */ 32 { SYF_MPSAFE | AS(xenix_ftime_args), (sy_call_t *)xenix_ftime, AUE_NULL }, /* 11 = xenix_ftime */ 33 { SYF_MPSAFE | AS(xenix_nap_args), (sy_call_t *)xenix_nap, AUE_NULL }, /* 12 = xenix_nap */ 34 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 13 = xenix_sdget */ 35 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 14 = xenix_sdfree */ 36 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 15 = xenix_sdenter */ 37 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 16 = xenix_sdleave */ 38 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 17 = xenix_sdgetv */ 39 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 18 = xenix_sdwaitv */ 40 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 19 = nosys */ 41 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 20 = nosys */ 42 { SYF_MPSAFE | 0, (sy_call_t *)xenix_scoinfo, AUE_NULL }, /* 21 = xenix_scoinfo */ 43 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 22 = nosys */ 44 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 23 = nosys */ 45 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 24 = nosys */ 46 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 25 = nosys */ 47 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 26 = nosys */ 48 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 27 = nosys */ 49 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 28 = nosys */ 50 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 29 = nosys */ 51 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 30 = nosys */ 52 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 31 = nosys */ 53 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 32 = xenix_proctl */ 54 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 33 = xenix_execseg */ 55 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 34 = xenix_unexecseg */ 56 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 35 = nosys */ 57 { SYF_MPSAFE | AS(select_args), (sy_call_t *)select, AUE_SELECT }, /* 36 = select */ 58 { SYF_MPSAFE | AS(xenix_eaccess_args), (sy_call_t *)xenix_eaccess, AUE_EACCESS }, /* 37 = xenix_eaccess */ 59 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 38 = xenix_paccess */ 60 { SYF_MPSAFE | AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction, AUE_NULL }, /* 39 = ibcs2_sigaction */ 61 { SYF_MPSAFE | AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask, AUE_NULL }, /* 40 = ibcs2_sigprocmask */ 62 { SYF_MPSAFE | AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending, AUE_NULL }, /* 41 = ibcs2_sigpending */ 63 { SYF_MPSAFE | AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend, AUE_NULL }, /* 42 = ibcs2_sigsuspend */ 64 { SYF_MPSAFE | AS(ibcs2_getgroups_args), (sy_call_t *)ibcs2_getgroups, AUE_GETGROUPS }, /* 43 = ibcs2_getgroups */ 65 { SYF_MPSAFE | AS(ibcs2_setgroups_args), (sy_call_t *)ibcs2_setgroups, AUE_SETGROUPS }, /* 44 = ibcs2_setgroups */ 66 { SYF_MPSAFE | AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf, AUE_NULL }, /* 45 = ibcs2_sysconf */ 67 { SYF_MPSAFE | AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf, AUE_PATHCONF }, /* 46 = ibcs2_pathconf */ 68 { SYF_MPSAFE | AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf, AUE_FPATHCONF }, /* 47 = ibcs2_fpathconf */ 69 { SYF_MPSAFE | AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename, AUE_RENAME }, /* 48 = ibcs2_rename */ 70 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 49 = nosys */ 71 { SYF_MPSAFE | AS(xenix_utsname_args), (sy_call_t *)xenix_utsname, AUE_NULL }, /* 50 = xenix_utsname */ 72 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 51 = nosys */ 73 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 52 = nosys */ 74 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 53 = nosys */ 75 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 54 = nosys */ 76 { SYF_MPSAFE | AS(getitimer_args), (sy_call_t *)getitimer, AUE_GETITIMER }, /* 55 = getitimer */ 77 { SYF_MPSAFE | AS(setitimer_args), (sy_call_t *)setitimer, AUE_SETITIMER }, /* 56 = setitimer */ 78}; 79