Deleted Added
full compact
ibcs2_isc_sysent.c (147661) ibcs2_isc_sysent.c (147975)
1/*
2 * System call switch table.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
1/*
2 * System call switch table.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_isc_sysent.c 147661 2005-06-29 17:29:06Z rwatson $
6 * created from FreeBSD: src/sys/i386/ibcs2/syscalls.isc,v 1.8 2005/06/29 17:27:40 rwatson Exp
5 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_isc_sysent.c 147975 2005-07-13 20:35:09Z jhb $
6 * created from FreeBSD: src/sys/i386/ibcs2/syscalls.isc,v 1.9 2005/07/13 20:32:42 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#include <i386/ibcs2/ibcs2_xenix.h>
17
18#define AS(name) (sizeof(struct name) / sizeof(register_t))
19
20/* The casts are bogus but will do for now. */
21struct sysent isc_sysent[] = {
22 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 0 = nosys */
23 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 1 = isc_setostype */
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#include <i386/ibcs2/ibcs2_xenix.h>
17
18#define AS(name) (sizeof(struct name) / sizeof(register_t))
19
20/* The casts are bogus but will do for now. */
21struct sysent isc_sysent[] = {
22 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 0 = nosys */
23 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 1 = isc_setostype */
24 { AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename, AUE_NULL }, /* 2 = ibcs2_rename */
25 { AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction, AUE_NULL }, /* 3 = ibcs2_sigaction */
26 { AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask, AUE_NULL }, /* 4 = ibcs2_sigprocmask */
27 { AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending, AUE_NULL }, /* 5 = ibcs2_sigpending */
28 { AS(getgroups_args), (sy_call_t *)getgroups, AUE_NULL }, /* 6 = getgroups */
29 { AS(setgroups_args), (sy_call_t *)setgroups, AUE_NULL }, /* 7 = setgroups */
30 { AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf, AUE_NULL }, /* 8 = ibcs2_pathconf */
31 { AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf, AUE_NULL }, /* 9 = ibcs2_fpathconf */
24 { SYF_MPSAFE | AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename, AUE_NULL }, /* 2 = ibcs2_rename */
25 { SYF_MPSAFE | AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction, AUE_NULL }, /* 3 = ibcs2_sigaction */
26 { SYF_MPSAFE | AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask, AUE_NULL }, /* 4 = ibcs2_sigprocmask */
27 { SYF_MPSAFE | AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending, AUE_NULL }, /* 5 = ibcs2_sigpending */
28 { SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups, AUE_NULL }, /* 6 = getgroups */
29 { SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups, AUE_NULL }, /* 7 = setgroups */
30 { SYF_MPSAFE | AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf, AUE_NULL }, /* 8 = ibcs2_pathconf */
31 { SYF_MPSAFE | AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf, AUE_NULL }, /* 9 = ibcs2_fpathconf */
32 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 10 = nosys */
32 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 10 = nosys */
33 { AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait, AUE_NULL }, /* 11 = ibcs2_wait */
34 { 0, (sy_call_t *)setsid, AUE_NULL }, /* 12 = setsid */
35 { 0, (sy_call_t *)getpid, AUE_NULL }, /* 13 = getpid */
33 { SYF_MPSAFE | AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait, AUE_NULL }, /* 11 = ibcs2_wait */
34 { SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_NULL }, /* 12 = setsid */
35 { SYF_MPSAFE | 0, (sy_call_t *)getpid, AUE_NULL }, /* 13 = getpid */
36 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 14 = isc_adduser */
37 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 15 = isc_setuser */
38 { SYF_MPSAFE | AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf, AUE_NULL }, /* 16 = ibcs2_sysconf */
36 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 14 = isc_adduser */
37 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 15 = isc_setuser */
38 { SYF_MPSAFE | AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf, AUE_NULL }, /* 16 = ibcs2_sysconf */
39 { AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend, AUE_NULL }, /* 17 = ibcs2_sigsuspend */
40 { AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink, AUE_NULL }, /* 18 = ibcs2_symlink */
41 { AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink, AUE_NULL }, /* 19 = ibcs2_readlink */
39 { SYF_MPSAFE | AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend, AUE_NULL }, /* 17 = ibcs2_sigsuspend */
40 { SYF_MPSAFE | AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink, AUE_NULL }, /* 18 = ibcs2_symlink */
41 { SYF_MPSAFE | AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink, AUE_NULL }, /* 19 = ibcs2_readlink */
42 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 20 = isc_getmajor */
43};
42 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 20 = isc_getmajor */
43};