NetBSD/sys/compat/osf1/osf1_sysent.c

646 lines
18 KiB
C

/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.1 1995/02/13 21:39:10 cgd Exp
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <compat/osf1/osf1_syscallargs.h>
int nosys();
int exit();
int fork();
int read();
int write();
int close();
int wait4();
int link();
int unlink();
int chdir();
int fchdir();
int osf1_mknod();
int chmod();
int chown();
int obreak();
int osf1_getfsstat();
int osf1_lseek();
int getpid();
int osf1_mount();
int osf1_unmount();
int osf1_setuid();
int getuid();
int access();
int sync();
int kill();
int setpgid();
int dup();
int pipe();
int osf1_open();
int getgid();
int sigprocmask();
int getlogin();
int setlogin();
int acct();
int osf1_ioctl();
int osf1_reboot();
int revoke();
int symlink();
int readlink();
int execve();
int umask();
int chroot();
int getpgrp();
int compat_43_getpagesize();
int vfork();
int osf1_stat();
int osf1_lstat();
int osf1_mmap();
int munmap();
int osf1_madvise();
int getgroups();
int setgroups();
int setpgid();
int setitimer();
int compat_43_gethostname();
int compat_43_sethostname();
int compat_43_getdtablesize();
int dup2();
int osf1_fstat();
int osf1_fcntl();
int select();
int fsync();
int setpriority();
int osf1_socket();
int connect();
int getpriority();
int compat_43_send();
int compat_43_recv();
int sigreturn();
int bind();
int setsockopt();
int sigsuspend();
int compat_43_sigstack();
int gettimeofday();
int osf1_getrusage();
int getsockopt();
int osf1_readv();
int osf1_writev();
int settimeofday();
int fchown();
int fchmod();
int compat_43_recvfrom();
int rename();
int osf1_truncate();
int osf1_ftruncate();
int osf1_setgid();
int osf1_sendto();
int shutdown();
int mkdir();
int rmdir();
int utimes();
int compat_43_gethostid();
int compat_43_sethostid();
int osf1_getrlimit();
int osf1_setrlimit();
int setsid();
int compat_43_quota();
int osf1_sigaction();
int compat_43_getdirentries();
int osf1_statfs();
int osf1_fstatfs();
int osf1_getsid();
int osf1_usleep_thread();
int osf1_setsysinfo();
#define s(type) sizeof(type)
struct sysent osf1_sysent[] = {
{ 0, 0,
nosys }, /* 0 = syscall */
{ 1, s(struct exit_args),
exit }, /* 1 = exit */
{ 0, 0,
fork }, /* 2 = fork */
{ 3, s(struct read_args),
read }, /* 3 = read */
{ 3, s(struct write_args),
write }, /* 4 = write */
{ 0, 0,
nosys }, /* 5 = unimplemented old open */
{ 1, s(struct close_args),
close }, /* 6 = close */
{ 4, s(struct wait4_args),
wait4 }, /* 7 = wait4 */
{ 0, 0,
nosys }, /* 8 = unimplemented old creat */
{ 2, s(struct link_args),
link }, /* 9 = link */
{ 1, s(struct unlink_args),
unlink }, /* 10 = unlink */
{ 0, 0,
nosys }, /* 11 = unimplemented execv */
{ 1, s(struct chdir_args),
chdir }, /* 12 = chdir */
{ 1, s(struct fchdir_args),
fchdir }, /* 13 = fchdir */
{ 3, s(struct osf1_mknod_args),
osf1_mknod }, /* 14 = osf1_mknod */
{ 2, s(struct chmod_args),
chmod }, /* 15 = chmod */
{ 3, s(struct chown_args),
chown }, /* 16 = chown */
{ 1, s(struct obreak_args),
obreak }, /* 17 = obreak */
{ 3, s(struct osf1_getfsstat_args),
osf1_getfsstat }, /* 18 = osf1_getfsstat */
{ 3, s(struct osf1_lseek_args),
osf1_lseek }, /* 19 = osf1_lseek */
{ 0, 0,
getpid }, /* 20 = getpid */
{ 4, s(struct osf1_mount_args),
osf1_mount }, /* 21 = osf1_mount */
{ 2, s(struct osf1_unmount_args),
osf1_unmount }, /* 22 = osf1_unmount */
{ 1, s(struct osf1_setuid_args),
osf1_setuid }, /* 23 = osf1_setuid */
{ 0, 0,
getuid }, /* 24 = getuid */
{ 0, 0,
nosys }, /* 25 = unimplemented exec_with_loader */
{ 0, 0,
nosys }, /* 26 = unimplemented ptrace */
{ 0, 0,
nosys }, /* 27 = unimplemented recvmsg */
{ 0, 0,
nosys }, /* 28 = unimplemented sendmsg */
{ 0, 0,
nosys }, /* 29 = unimplemented recvfrom */
{ 0, 0,
nosys }, /* 30 = unimplemented accept */
{ 0, 0,
nosys }, /* 31 = unimplemented getpeername */
{ 0, 0,
nosys }, /* 32 = unimplemented getsockname */
{ 2, s(struct access_args),
access }, /* 33 = access */
{ 0, 0,
nosys }, /* 34 = unimplemented chflags */
{ 0, 0,
nosys }, /* 35 = unimplemented fchflags */
{ 0, 0,
sync }, /* 36 = sync */
{ 2, s(struct kill_args),
kill }, /* 37 = kill */
{ 0, 0,
nosys }, /* 38 = unimplemented old stat */
{ 2, s(struct setpgid_args),
setpgid }, /* 39 = setpgid */
{ 0, 0,
nosys }, /* 40 = unimplemented old lstat */
{ 1, s(struct dup_args),
dup }, /* 41 = dup */
{ 0, 0,
pipe }, /* 42 = pipe */
{ 0, 0,
nosys }, /* 43 = unimplemented set_program_attributes */
{ 0, 0,
nosys }, /* 44 = unimplemented profil */
{ 3, s(struct osf1_open_args),
osf1_open }, /* 45 = osf1_open */
{ 0, 0,
nosys }, /* 46 = obsolete sigaction */
{ 0, 0,
getgid }, /* 47 = getgid */
{ 2, s(struct sigprocmask_args),
sigprocmask }, /* 48 = sigprocmask */
{ 2, s(struct getlogin_args),
getlogin }, /* 49 = getlogin */
{ 1, s(struct setlogin_args),
setlogin }, /* 50 = setlogin */
{ 1, s(struct acct_args),
acct }, /* 51 = acct */
{ 0, 0,
nosys }, /* 52 = unimplemented sigpending */
{ 0, 0,
nosys }, /* 53 = unimplemented */
{ 3, s(struct osf1_ioctl_args),
osf1_ioctl }, /* 54 = osf1_ioctl */
{ 1, s(struct osf1_reboot_args),
osf1_reboot }, /* 55 = osf1_reboot */
{ 1, s(struct revoke_args),
revoke }, /* 56 = revoke */
{ 2, s(struct symlink_args),
symlink }, /* 57 = symlink */
{ 3, s(struct readlink_args),
readlink }, /* 58 = readlink */
{ 3, s(struct execve_args),
execve }, /* 59 = execve */
{ 1, s(struct umask_args),
umask }, /* 60 = umask */
{ 1, s(struct chroot_args),
chroot }, /* 61 = chroot */
{ 0, 0,
nosys }, /* 62 = unimplemented old fstat */
{ 0, 0,
getpgrp }, /* 63 = getpgrp */
{ 0, 0,
compat_43_getpagesize }, /* 64 = compat_43_getpagesize */
{ 0, 0,
nosys }, /* 65 = unimplemented mremap */
{ 0, 0,
vfork }, /* 66 = vfork */
{ 2, s(struct osf1_stat_args),
osf1_stat }, /* 67 = osf1_stat */
{ 2, s(struct osf1_lstat_args),
osf1_lstat }, /* 68 = osf1_lstat */
{ 0, 0,
nosys }, /* 69 = unimplemented sbrk */
{ 0, 0,
nosys }, /* 70 = unimplemented sstk */
{ 6, s(struct osf1_mmap_args),
osf1_mmap }, /* 71 = osf1_mmap */
{ 0, 0,
nosys }, /* 72 = unimplemented ovadvise */
{ 2, s(struct munmap_args),
munmap }, /* 73 = munmap */
{ 0, 0,
nosys }, /* 74 = unimplemented mprotect */
{ 0, 0,
osf1_madvise }, /* 75 = osf1_madvise */
{ 0, 0,
nosys }, /* 76 = unimplemented old vhangup */
{ 0, 0,
nosys }, /* 77 = unimplemented kmodcall */
{ 0, 0,
nosys }, /* 78 = unimplemented mincore */
{ 2, s(struct getgroups_args),
getgroups }, /* 79 = getgroups */
{ 2, s(struct setgroups_args),
setgroups }, /* 80 = setgroups */
{ 0, 0,
nosys }, /* 81 = unimplemented old getpgrp */
{ 2, s(struct setpgid_args),
setpgid }, /* 82 = setpgrp */
{ 3, s(struct setitimer_args),
setitimer }, /* 83 = setitimer */
{ 0, 0,
nosys }, /* 84 = unimplemented old wait */
{ 0, 0,
nosys }, /* 85 = unimplemented table */
{ 0, 0,
nosys }, /* 86 = unimplemented getitimer */
{ 2, s(struct compat_43_gethostname_args),
compat_43_gethostname }, /* 87 = compat_43_gethostname */
{ 2, s(struct compat_43_sethostname_args),
compat_43_sethostname }, /* 88 = compat_43_sethostname */
{ 0, 0,
compat_43_getdtablesize }, /* 89 = compat_43_getdtablesize */
{ 2, s(struct dup2_args),
dup2 }, /* 90 = dup2 */
{ 2, s(struct osf1_fstat_args),
osf1_fstat }, /* 91 = osf1_fstat */
{ 3, s(struct osf1_fcntl_args),
osf1_fcntl }, /* 92 = osf1_fcntl */
{ 5, s(struct select_args),
select }, /* 93 = select */
{ 0, 0,
nosys }, /* 94 = unimplemented poll */
{ 1, s(struct fsync_args),
fsync }, /* 95 = fsync */
{ 3, s(struct setpriority_args),
setpriority }, /* 96 = setpriority */
{ 3, s(struct osf1_socket_args),
osf1_socket }, /* 97 = osf1_socket */
{ 3, s(struct connect_args),
connect }, /* 98 = connect */
{ 0, 0,
nosys }, /* 99 = unimplemented old accept */
{ 2, s(struct getpriority_args),
getpriority }, /* 100 = getpriority */
{ 4, s(struct compat_43_send_args),
compat_43_send }, /* 101 = compat_43_send */
{ 4, s(struct compat_43_recv_args),
compat_43_recv }, /* 102 = compat_43_recv */
{ 1, s(struct sigreturn_args),
sigreturn }, /* 103 = sigreturn */
{ 3, s(struct bind_args),
bind }, /* 104 = bind */
{ 5, s(struct setsockopt_args),
setsockopt }, /* 105 = setsockopt */
{ 0, 0,
nosys }, /* 106 = unimplemented listen */
{ 0, 0,
nosys }, /* 107 = unimplemented plock */
{ 0, 0,
nosys }, /* 108 = unimplemented old sigvec */
{ 0, 0,
nosys }, /* 109 = unimplemented old sigblock */
{ 0, 0,
nosys }, /* 110 = unimplemented old sigsetmask */
{ 1, s(struct sigsuspend_args),
sigsuspend }, /* 111 = sigsuspend */
{ 2, s(struct compat_43_sigstack_args),
compat_43_sigstack }, /* 112 = compat_43_sigstack */
{ 0, 0,
nosys }, /* 113 = unimplemented old recvmsg */
{ 0, 0,
nosys }, /* 114 = unimplemented old sendmsg */
{ 0, 0,
nosys }, /* 115 = unimplemented vtrace */
{ 2, s(struct gettimeofday_args),
gettimeofday }, /* 116 = gettimeofday */
{ 0, 0,
osf1_getrusage }, /* 117 = osf1_getrusage */
{ 5, s(struct getsockopt_args),
getsockopt }, /* 118 = getsockopt */
{ 0, 0,
nosys }, /* 119 = unimplemented */
{ 3, s(struct osf1_readv_args),
osf1_readv }, /* 120 = osf1_readv */
{ 3, s(struct osf1_writev_args),
osf1_writev }, /* 121 = osf1_writev */
{ 2, s(struct settimeofday_args),
settimeofday }, /* 122 = settimeofday */
{ 3, s(struct fchown_args),
fchown }, /* 123 = fchown */
{ 2, s(struct fchmod_args),
fchmod }, /* 124 = fchmod */
{ 6, s(struct compat_43_recvfrom_args),
compat_43_recvfrom }, /* 125 = compat_43_recvfrom */
{ 0, 0,
nosys }, /* 126 = unimplemented setreuid */
{ 0, 0,
nosys }, /* 127 = unimplemented setregid */
{ 2, s(struct rename_args),
rename }, /* 128 = rename */
{ 2, s(struct osf1_truncate_args),
osf1_truncate }, /* 129 = osf1_truncate */
{ 2, s(struct osf1_ftruncate_args),
osf1_ftruncate }, /* 130 = osf1_ftruncate */
{ 0, 0,
nosys }, /* 131 = unimplemented flock */
{ 1, s(struct osf1_setgid_args),
osf1_setgid }, /* 132 = osf1_setgid */
{ 6, s(struct osf1_sendto_args),
osf1_sendto }, /* 133 = osf1_sendto */
{ 2, s(struct shutdown_args),
shutdown }, /* 134 = shutdown */
{ 0, 0,
nosys }, /* 135 = unimplemented socketpair */
{ 2, s(struct mkdir_args),
mkdir }, /* 136 = mkdir */
{ 1, s(struct rmdir_args),
rmdir }, /* 137 = rmdir */
{ 2, s(struct utimes_args),
utimes }, /* 138 = utimes */
{ 0, 0,
nosys }, /* 139 = obsolete 4.2 sigreturn */
{ 0, 0,
nosys }, /* 140 = unimplemented adjtime */
{ 0, 0,
nosys }, /* 141 = unimplemented old getpeername */
{ 0, 0,
compat_43_gethostid }, /* 142 = compat_43_gethostid */
{ 1, s(struct compat_43_sethostid_args),
compat_43_sethostid }, /* 143 = compat_43_sethostid */
{ 2, s(struct osf1_getrlimit_args),
osf1_getrlimit }, /* 144 = osf1_getrlimit */
{ 2, s(struct osf1_setrlimit_args),
osf1_setrlimit }, /* 145 = osf1_setrlimit */
{ 0, 0,
nosys }, /* 146 = unimplemented old killpg */
{ 0, 0,
setsid }, /* 147 = setsid */
{ 0, 0,
nosys }, /* 148 = unimplemented quotactl */
{ 0, 0,
compat_43_quota }, /* 149 = compat_43_quota */
{ 0, 0,
nosys }, /* 150 = unimplemented old getsockname */
{ 0, 0,
nosys }, /* 151 = unimplemented */
{ 0, 0,
nosys }, /* 152 = unimplemented */
{ 0, 0,
nosys }, /* 153 = unimplemented */
{ 0, 0,
nosys }, /* 154 = unimplemented */
{ 0, 0,
nosys }, /* 155 = unimplemented */
{ 3, s(struct osf1_sigaction_args),
osf1_sigaction }, /* 156 = osf1_sigaction */
{ 0, 0,
nosys }, /* 157 = unimplemented */
{ 0, 0,
nosys }, /* 158 = unimplemented */
{ 4, s(struct compat_43_getdirentries_args),
compat_43_getdirentries }, /* 159 = compat_43_getdirentries */
{ 3, s(struct osf1_statfs_args),
osf1_statfs }, /* 160 = osf1_statfs */
{ 3, s(struct osf1_fstatfs_args),
osf1_fstatfs }, /* 161 = osf1_fstatfs */
{ 0, 0,
nosys }, /* 162 = unimplemented */
{ 0, 0,
nosys }, /* 163 = unimplemented */
{ 0, 0,
nosys }, /* 164 = unimplemented */
{ 0, 0,
nosys }, /* 165 = unimplemented */
{ 0, 0,
nosys }, /* 166 = unimplemented */
{ 0, 0,
nosys }, /* 167 = unimplemented */
{ 0, 0,
nosys }, /* 168 = unimplemented */
{ 0, 0,
nosys }, /* 169 = unimplemented */
{ 0, 0,
nosys }, /* 170 = unimplemented */
{ 0, 0,
nosys }, /* 171 = unimplemented */
{ 0, 0,
nosys }, /* 172 = unimplemented */
{ 0, 0,
nosys }, /* 173 = unimplemented */
{ 0, 0,
nosys }, /* 174 = unimplemented */
{ 0, 0,
nosys }, /* 175 = unimplemented */
{ 0, 0,
nosys }, /* 176 = unimplemented */
{ 0, 0,
nosys }, /* 177 = unimplemented */
{ 0, 0,
nosys }, /* 178 = unimplemented */
{ 0, 0,
nosys }, /* 179 = unimplemented */
{ 0, 0,
nosys }, /* 180 = unimplemented */
{ 0, 0,
nosys }, /* 181 = unimplemented */
{ 0, 0,
nosys }, /* 182 = unimplemented */
{ 0, 0,
nosys }, /* 183 = unimplemented */
{ 0, 0,
nosys }, /* 184 = unimplemented */
{ 0, 0,
nosys }, /* 185 = unimplemented */
{ 0, 0,
nosys }, /* 186 = unimplemented */
{ 0, 0,
nosys }, /* 187 = unimplemented */
{ 0, 0,
nosys }, /* 188 = unimplemented */
{ 0, 0,
nosys }, /* 189 = unimplemented */
{ 0, 0,
nosys }, /* 190 = unimplemented */
{ 0, 0,
nosys }, /* 191 = unimplemented */
{ 0, 0,
nosys }, /* 192 = unimplemented */
{ 0, 0,
nosys }, /* 193 = unimplemented */
{ 0, 0,
nosys }, /* 194 = unimplemented */
{ 0, 0,
nosys }, /* 195 = unimplemented */
{ 0, 0,
nosys }, /* 196 = unimplemented */
{ 0, 0,
nosys }, /* 197 = unimplemented */
{ 0, 0,
nosys }, /* 198 = unimplemented */
{ 0, 0,
nosys }, /* 199 = unimplemented */
{ 0, 0,
nosys }, /* 200 = unimplemented */
{ 0, 0,
nosys }, /* 201 = unimplemented */
{ 0, 0,
nosys }, /* 202 = unimplemented */
{ 0, 0,
nosys }, /* 203 = unimplemented */
{ 0, 0,
nosys }, /* 204 = unimplemented */
{ 0, 0,
nosys }, /* 205 = unimplemented */
{ 0, 0,
nosys }, /* 206 = unimplemented */
{ 0, 0,
nosys }, /* 207 = unimplemented */
{ 0, 0,
nosys }, /* 208 = unimplemented lchown */
{ 0, 0,
nosys }, /* 209 = unimplemented */
{ 0, 0,
nosys }, /* 210 = unimplemented */
{ 0, 0,
nosys }, /* 211 = unimplemented */
{ 0, 0,
nosys }, /* 212 = unimplemented */
{ 0, 0,
nosys }, /* 213 = unimplemented */
{ 0, 0,
nosys }, /* 214 = unimplemented */
{ 0, 0,
nosys }, /* 215 = unimplemented */
{ 0, 0,
nosys }, /* 216 = unimplemented */
{ 0, 0,
nosys }, /* 217 = unimplemented */
{ 0, 0,
nosys }, /* 218 = unimplemented */
{ 0, 0,
nosys }, /* 219 = unimplemented */
{ 0, 0,
nosys }, /* 220 = unimplemented */
{ 0, 0,
nosys }, /* 221 = unimplemented */
{ 0, 0,
nosys }, /* 222 = unimplemented */
{ 0, 0,
nosys }, /* 223 = unimplemented */
{ 0, 0,
nosys }, /* 224 = unimplemented */
{ 0, 0,
nosys }, /* 225 = unimplemented */
{ 0, 0,
nosys }, /* 226 = unimplemented */
{ 0, 0,
nosys }, /* 227 = unimplemented */
{ 0, 0,
nosys }, /* 228 = unimplemented */
{ 0, 0,
nosys }, /* 229 = unimplemented */
{ 0, 0,
nosys }, /* 230 = unimplemented */
{ 0, 0,
nosys }, /* 231 = unimplemented */
{ 0, 0,
nosys }, /* 232 = unimplemented */
{ 0, 0,
nosys }, /* 233 = unimplemented getpgid */
{ 1, s(struct osf1_getsid_args),
osf1_getsid }, /* 234 = osf1_getsid */
{ 0, 0,
nosys }, /* 235 = unimplemented sigaltstack */
{ 0, 0,
nosys }, /* 236 = unimplemented waitid */
{ 0, 0,
nosys }, /* 237 = unimplemented priocntlset */
{ 0, 0,
nosys }, /* 238 = unimplemented sigsendset */
{ 0, 0,
nosys }, /* 239 = unimplemented */
{ 0, 0,
nosys }, /* 240 = unimplemented msfs_syscall */
{ 0, 0,
nosys }, /* 241 = unimplemented sysinfo */
{ 0, 0,
nosys }, /* 242 = unimplemented uadmin */
{ 0, 0,
nosys }, /* 243 = unimplemented fuser */
{ 0, 0,
nosys }, /* 244 = unimplemented */
{ 0, 0,
nosys }, /* 245 = unimplemented */
{ 0, 0,
nosys }, /* 246 = unimplemented */
{ 0, 0,
nosys }, /* 247 = unimplemented */
{ 0, 0,
nosys }, /* 248 = unimplemented */
{ 0, 0,
nosys }, /* 249 = unimplemented */
{ 0, 0,
nosys }, /* 250 = unimplemented uswitch */
{ 2, s(struct osf1_usleep_thread_args),
osf1_usleep_thread }, /* 251 = osf1_usleep_thread */
{ 0, 0,
nosys }, /* 252 = unimplemented audcntl */
{ 0, 0,
nosys }, /* 253 = unimplemented audgen */
{ 0, 0,
nosys }, /* 254 = unimplemented sysfs */
{ 0, 0,
nosys }, /* 255 = unimplemented */
{ 0, 0,
nosys }, /* 256 = unimplemented getsysinfo */
{ 5, s(struct osf1_setsysinfo_args),
osf1_setsysinfo }, /* 257 = osf1_setsysinfo */
{ 0, 0,
nosys }, /* 258 = unimplemented afs_syscall */
{ 0, 0,
nosys }, /* 259 = unimplemented swapctl */
{ 0, 0,
nosys }, /* 260 = unimplemented memcntl */
};
int nosf1_sysent= sizeof(osf1_sysent) / sizeof(osf1_sysent[0]);