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