summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2000-08-04 15:49:07 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2000-08-04 15:49:07 +0000
commitf3f67949cf62cc7c994e81f1d1e3d091adfc02f6 (patch)
tree86dda3605e6d9b229354389bf2b9b9460a63aaf0 /sys/compat
parent9863a155a1fef7eb589b7e96e7a38bde61e92e3f (diff)
regen
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/osf1/osf1_syscall.h129
-rw-r--r--sys/compat/osf1/osf1_syscallargs.h195
-rw-r--r--sys/compat/osf1/osf1_syscalls.c67
-rw-r--r--sys/compat/osf1/osf1_sysent.c145
4 files changed, 368 insertions, 168 deletions
diff --git a/sys/compat/osf1/osf1_syscall.h b/sys/compat/osf1/osf1_syscall.h
index 9e27aa78f02..e984a9dea1d 100644
--- a/sys/compat/osf1/osf1_syscall.h
+++ b/sys/compat/osf1/osf1_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_syscall.h,v 1.7 2000/07/21 19:27:07 ericj Exp $ */
+/* $OpenBSD: osf1_syscall.h,v 1.8 2000/08/04 15:49:06 ericj Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -19,22 +19,22 @@
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define OSF1_SYS_read 3
-/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
+/* syscall: "write" ret: "int" args: "int" "const char *" "u_int" */
#define OSF1_SYS_write 4
/* syscall: "close" ret: "int" args: "int" */
#define OSF1_SYS_close 6
-/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
+/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct osf1_rusage *" */
#define OSF1_SYS_wait4 7
-/* syscall: "link" ret: "int" args: "char *" "char *" */
+/* syscall: "link" ret: "int" args: "const char *" "const char *" */
#define OSF1_SYS_link 9
-/* syscall: "unlink" ret: "int" args: "char *" */
+/* syscall: "unlink" ret: "int" args: "const char *" */
#define OSF1_SYS_unlink 10
-/* syscall: "chdir" ret: "int" args: "char *" */
+/* syscall: "chdir" ret: "int" args: "const char *" */
#define OSF1_SYS_chdir 12
/* syscall: "fchdir" ret: "int" args: "int" */
@@ -43,10 +43,10 @@
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define OSF1_SYS_mknod 14
-/* syscall: "chmod" ret: "int" args: "char *" "int" */
+/* syscall: "chmod" ret: "int" args: "const char *" "int" */
#define OSF1_SYS_chmod 15
-/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
+/* syscall: "chown" ret: "int" args: "const char *" "int" "int" */
#define OSF1_SYS_chown 16
/* syscall: "obreak" ret: "int" args: "char *" */
@@ -61,10 +61,10 @@
/* syscall: "getpid" ret: "pid_t" args: */
#define OSF1_SYS_getpid 20
-/* syscall: "mount" ret: "int" args: "int" "char *" "int" "caddr_t" */
+/* syscall: "mount" ret: "int" args: "int" "const char *" "int" "caddr_t" */
#define OSF1_SYS_mount 21
-/* syscall: "unmount" ret: "int" args: "char *" "int" */
+/* syscall: "unmount" ret: "int" args: "const char *" "int" */
#define OSF1_SYS_unmount 22
/* syscall: "setuid" ret: "int" args: "uid_t" */
@@ -73,6 +73,12 @@
/* syscall: "getuid" ret: "uid_t" args: */
#define OSF1_SYS_getuid 24
+/* syscall: "recvmsg_xopen" ret: "int" args: "int" "struct osf1_msghdr_xopen *" "int" */
+#define OSF1_SYS_recvmsg_xopen 27
+
+/* syscall: "sendmsg_xopen" ret: "int" args: "int" "const struct osf1_msghdr_xopen *" "int" */
+#define OSF1_SYS_sendmsg_xopen 28
+
/* syscall: "access" ret: "int" args: "char *" "int" */
#define OSF1_SYS_access 33
@@ -88,8 +94,11 @@
/* syscall: "dup" ret: "int" args: "u_int" */
#define OSF1_SYS_dup 41
-/* syscall: "opipe" ret: "int" args: */
-#define OSF1_SYS_opipe 42
+/* syscall: "pipe" ret: "int" args: */
+#define OSF1_SYS_pipe 42
+
+/* syscall: "set_program_attributes" ret: "int" args: "caddr_t" "unsigned long" "caddr_t" "unsigned long" */
+#define OSF1_SYS_set_program_attributes 43
/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define OSF1_SYS_open 45
@@ -104,34 +113,37 @@
/* syscall: "getlogin" ret: "int" args: "char *" "u_int" */
#define OSF1_SYS_getlogin 49
-/* syscall: "setlogin" ret: "int" args: "char *" */
+/* syscall: "setlogin" ret: "int" args: "const char *" */
#define OSF1_SYS_setlogin 50
-/* syscall: "acct" ret: "int" args: "char *" */
+/* syscall: "acct" ret: "int" args: "const char *" */
#define OSF1_SYS_acct 51
+/* syscall: "classcntl" ret: "int" args: "int" "int" "int" "int" */
+#define OSF1_SYS_classcntl 53
+
/* syscall: "ioctl" ret: "int" args: "int" "int" "caddr_t" */
#define OSF1_SYS_ioctl 54
/* syscall: "reboot" ret: "int" args: "int" */
#define OSF1_SYS_reboot 55
-/* syscall: "revoke" ret: "int" args: "char *" */
+/* syscall: "revoke" ret: "int" args: "const char *" */
#define OSF1_SYS_revoke 56
-/* syscall: "symlink" ret: "int" args: "char *" "char *" */
+/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
#define OSF1_SYS_symlink 57
-/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
+/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
#define OSF1_SYS_readlink 58
-/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
+/* syscall: "execve" ret: "int" args: "char *" "char *const *" "char *const *" */
#define OSF1_SYS_execve 59
/* syscall: "umask" ret: "int" args: "int" */
#define OSF1_SYS_umask 60
-/* syscall: "chroot" ret: "int" args: "char *" */
+/* syscall: "chroot" ret: "int" args: "const char *" */
#define OSF1_SYS_chroot 61
/* syscall: "getpgrp" ret: "int" args: */
@@ -155,7 +167,10 @@
/* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */
#define OSF1_SYS_munmap 73
-/* syscall: "madvise" ret: "int" args: */
+/* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
+#define OSF1_SYS_mprotect 74
+
+/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
#define OSF1_SYS_madvise 75
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
@@ -167,13 +182,13 @@
/* syscall: "setpgrp" ret: "int" args: "int" "int" */
#define OSF1_SYS_setpgrp 82
-/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
+/* syscall: "setitimer" ret: "int" args: "u_int" "struct osf1_itimerval *" "struct osf1_itimerval *" */
#define OSF1_SYS_setitimer 83
/* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
#define OSF1_SYS_gethostname 87
-/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
+/* syscall: "sethostname" ret: "int" args: "const char *" "u_int" */
#define OSF1_SYS_sethostname 88
/* syscall: "getdtablesize" ret: "int" args: */
@@ -188,10 +203,10 @@
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
#define OSF1_SYS_fcntl 92
-/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
+/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct osf1_timeval *" */
#define OSF1_SYS_select 93
-/* syscall: "poll" ret: "int" args: "struct pollfd *" "unsigned int" "int" */
+/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define OSF1_SYS_poll 94
/* syscall: "fsync" ret: "int" args: "int" */
@@ -236,10 +251,11 @@
/* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
#define OSF1_SYS_sigstack 112
-/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
+ /* 115 is obsolete vtrace */
+/* syscall: "gettimeofday" ret: "int" args: "struct osf1_timeval *" "struct osf1_timezone *" */
#define OSF1_SYS_gettimeofday 116
-/* syscall: "getrusage" ret: "int" args: */
+/* syscall: "getrusage" ret: "int" args: "int" "struct osf1_rusage *" */
#define OSF1_SYS_getrusage 117
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int *" */
@@ -251,7 +267,7 @@
/* syscall: "writev" ret: "int" args: "int" "struct osf1_iovec *" "u_int" */
#define OSF1_SYS_writev 121
-/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
+/* syscall: "settimeofday" ret: "int" args: "struct osf1_timeval *" "struct osf1_timezone *" */
#define OSF1_SYS_settimeofday 122
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
@@ -263,7 +279,7 @@
/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define OSF1_SYS_recvfrom 125
-/* syscall: "rename" ret: "int" args: "char *" "char *" */
+/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
#define OSF1_SYS_rename 128
/* syscall: "truncate" ret: "int" args: "char *" "off_t" */
@@ -275,22 +291,28 @@
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define OSF1_SYS_setgid 132
-/* syscall: "sendto" ret: "int" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "int" */
+/* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "struct sockaddr *" "int" */
#define OSF1_SYS_sendto 133
/* syscall: "shutdown" ret: "int" args: "int" "int" */
#define OSF1_SYS_shutdown 134
-/* syscall: "mkdir" ret: "int" args: "char *" "int" */
+/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
+#define OSF1_SYS_socketpair 135
+
+/* syscall: "mkdir" ret: "int" args: "const char *" "int" */
#define OSF1_SYS_mkdir 136
-/* syscall: "rmdir" ret: "int" args: "char *" */
+/* syscall: "rmdir" ret: "int" args: "const char *" */
#define OSF1_SYS_rmdir 137
-/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
+/* syscall: "utimes" ret: "int" args: "char *" "const struct osf1_timeval *" */
#define OSF1_SYS_utimes 138
/* 139 is obsolete 4.2 sigreturn */
+/* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */
+#define OSF1_SYS_getpeername 141
+
/* syscall: "gethostid" ret: "int32_t" args: */
#define OSF1_SYS_gethostid 142
@@ -309,31 +331,64 @@
/* syscall: "quota" ret: "int" args: */
#define OSF1_SYS_quota 149
+/* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */
+#define OSF1_SYS_getsockname 150
+
/* syscall: "sigaction" ret: "int" args: "int" "struct osf1_sigaction *" "struct osf1_sigaction *" */
#define OSF1_SYS_sigaction 156
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
#define OSF1_SYS_getdirentries 159
-/* syscall: "statfs" ret: "int" args: "char *" "struct osf1_statfs *" "int" */
+/* syscall: "statfs" ret: "int" args: "const char *" "struct osf1_statfs *" "int" */
#define OSF1_SYS_statfs 160
/* syscall: "fstatfs" ret: "int" args: "int" "struct osf1_statfs *" "int" */
#define OSF1_SYS_fstatfs 161
-/* syscall: "lchown" ret: "int" args: "char *" "int" "int" */
+/* syscall: "getdomainname" ret: "int" args: "char *" "int" */
+#define OSF1_SYS_getdomainname 165
+
+/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
+#define OSF1_SYS_setdomainname 166
+
+/* syscall: "uname" ret: "int" args: "struct osf1_uname *" */
+#define OSF1_SYS_uname 207
+
+/* syscall: "lchown" ret: "int" args: "const char *" "int" "int" */
#define OSF1_SYS_lchown 208
+/* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
+#define OSF1_SYS_shmat 209
+
+/* syscall: "shmctl" ret: "int" args: "int" "int" "struct osf1_shmid_ds *" */
+#define OSF1_SYS_shmctl 210
+
+/* syscall: "shmdt" ret: "int" args: "const void *" */
+#define OSF1_SYS_shmdt 211
+
+/* syscall: "shmget" ret: "int" args: "osf1_key_t" "size_t" "int" */
+#define OSF1_SYS_shmget 212
+
/* syscall: "getsid" ret: "pid_t" args: "pid_t" */
#define OSF1_SYS_getsid 234
/* syscall: "sigaltstack" ret: "int" args: "struct osf1_sigaltstack *" "struct osf1_sigaltstack *" */
#define OSF1_SYS_sigaltstack 235
-/* syscall: "usleep_thread" ret: "int" args: "struct timeval *" "struct timeval *" */
+/* syscall: "sysinfo" ret: "int" args: "int" "char *" "long" */
+#define OSF1_SYS_sysinfo 241
+
+/* syscall: "pathconf" ret: "long" args: "char *" "int" */
+#define OSF1_SYS_pathconf 247
+
+/* syscall: "fpathconf" ret: "long" args: "int" "int" */
+#define OSF1_SYS_fpathconf 248
+
+/* syscall: "usleep_thread" ret: "int" args: "struct osf1_timeval *" "struct osf1_timeval *" */
#define OSF1_SYS_usleep_thread 251
/* syscall: "setsysinfo" ret: "int" args: "u_long" "caddr_t" "u_long" "caddr_t" "u_long" */
#define OSF1_SYS_setsysinfo 257
-#define OSF1_SYS_MAXSYSCALL 261
+#define OSF1_SYS_MAXSYSCALL 262
diff --git a/sys/compat/osf1/osf1_syscallargs.h b/sys/compat/osf1/osf1_syscallargs.h
index c0be6da7bb4..1579b3fb533 100644
--- a/sys/compat/osf1/osf1_syscallargs.h
+++ b/sys/compat/osf1/osf1_syscallargs.h
@@ -1,14 +1,21 @@
-/* $OpenBSD: osf1_syscallargs.h,v 1.7 2000/07/21 19:27:07 ericj Exp $ */
+/* $OpenBSD: osf1_syscallargs.h,v 1.8 2000/08/04 15:49:06 ericj Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
+struct osf1_sys_wait4_args {
+ syscallarg(int) pid;
+ syscallarg(int *) status;
+ syscallarg(int) options;
+ syscallarg(struct osf1_rusage *) rusage;
+};
+
struct osf1_sys_mknod_args {
syscallarg(char *) path;
syscallarg(int) mode;
@@ -29,13 +36,13 @@ struct osf1_sys_lseek_args {
struct osf1_sys_mount_args {
syscallarg(int) type;
- syscallarg(char *) path;
+ syscallarg(const char *) path;
syscallarg(int) flags;
syscallarg(caddr_t) data;
};
struct osf1_sys_unmount_args {
- syscallarg(char *) path;
+ syscallarg(const char *) path;
syscallarg(int) flags;
};
@@ -43,12 +50,43 @@ struct osf1_sys_setuid_args {
syscallarg(uid_t) uid;
};
+struct osf1_sys_recvmsg_xopen_args {
+ syscallarg(int) s;
+ syscallarg(struct osf1_msghdr_xopen *) msg;
+ syscallarg(int) flags;
+};
+
+struct osf1_sys_sendmsg_xopen_args {
+ syscallarg(int) s;
+ syscallarg(const struct osf1_msghdr_xopen *) msg;
+ syscallarg(int) flags;
+};
+
+struct osf1_sys_access_args {
+ syscallarg(char *) path;
+ syscallarg(int) flags;
+};
+
+struct osf1_sys_set_program_attributes_args {
+ syscallarg(caddr_t) taddr;
+ syscallarg(unsigned long) tsize;
+ syscallarg(caddr_t) daddr;
+ syscallarg(unsigned long) dsize;
+};
+
struct osf1_sys_open_args {
syscallarg(char *) path;
syscallarg(int) flags;
syscallarg(int) mode;
};
+struct osf1_sys_classcntl_args {
+ syscallarg(int) opcode;
+ syscallarg(int) arg1;
+ syscallarg(int) arg2;
+ syscallarg(int) arg3;
+};
+
struct osf1_sys_ioctl_args {
syscallarg(int) fd;
syscallarg(int) com;
@@ -61,8 +99,8 @@ struct osf1_sys_reboot_args {
struct osf1_sys_execve_args {
syscallarg(char *) path;
- syscallarg(char **) argp;
- syscallarg(char **) envp;
+ syscallarg(char *const *) argp;
+ syscallarg(char *const *) envp;
};
struct osf1_sys_stat_args {
@@ -84,6 +122,24 @@ struct osf1_sys_mmap_args {
syscallarg(off_t) pos;
};
+struct osf1_sys_mprotect_args {
+ syscallarg(void *) addr;
+ syscallarg(size_t) len;
+ syscallarg(int) prot;
+};
+
+struct osf1_sys_madvise_args {
+ syscallarg(void *) addr;
+ syscallarg(size_t) len;
+ syscallarg(int) behav;
+};
+
+struct osf1_sys_setitimer_args {
+ syscallarg(u_int) which;
+ syscallarg(struct osf1_itimerval *) itv;
+ syscallarg(struct osf1_itimerval *) oitv;
+};
+
struct osf1_sys_fstat_args {
syscallarg(int) fd;
syscallarg(void *) sb;
@@ -95,10 +151,12 @@ struct osf1_sys_fcntl_args {
syscallarg(void *) arg;
};
-struct osf1_sys_poll_args {
- syscallarg(struct pollfd *) fds;
- syscallarg(unsigned int) nfds;
- syscallarg(int) timeout;
+struct osf1_sys_select_args {
+ syscallarg(u_int) nd;
+ syscallarg(fd_set *) in;
+ syscallarg(fd_set *) ou;
+ syscallarg(fd_set *) ex;
+ syscallarg(struct osf1_timeval *) tv;
};
struct osf1_sys_socket_args {
@@ -107,6 +165,16 @@ struct osf1_sys_socket_args {
syscallarg(int) protocol;
};
+struct osf1_sys_gettimeofday_args {
+ syscallarg(struct osf1_timeval *) tp;
+ syscallarg(struct osf1_timezone *) tzp;
+};
+
+struct osf1_sys_getrusage_args {
+ syscallarg(int) who;
+ syscallarg(struct osf1_rusage *) rusage;
+};
+
struct osf1_sys_readv_args {
syscallarg(int) fd;
syscallarg(struct osf1_iovec *) iovp;
@@ -119,6 +187,11 @@ struct osf1_sys_writev_args {
syscallarg(u_int) iovcnt;
};
+struct osf1_sys_settimeofday_args {
+ syscallarg(struct osf1_timeval *) tv;
+ syscallarg(struct osf1_timezone *) tzp;
+};
+
struct osf1_sys_truncate_args {
syscallarg(char *) path;
syscallarg(off_t) length;
@@ -135,13 +208,25 @@ struct osf1_sys_setgid_args {
struct osf1_sys_sendto_args {
syscallarg(int) s;
- syscallarg(const void *) buf;
+ syscallarg(caddr_t) buf;
syscallarg(size_t) len;
syscallarg(int) flags;
- syscallarg(const struct sockaddr *) to;
+ syscallarg(struct sockaddr *) to;
syscallarg(int) tolen;
};
+struct osf1_sys_socketpair_args {
+ syscallarg(int) domain;
+ syscallarg(int) type;
+ syscallarg(int) protocol;
+ syscallarg(int *) rsv;
+};
+
+struct osf1_sys_utimes_args {
+ syscallarg(char *) path;
+ syscallarg(const struct osf1_timeval *) tptr;
+};
+
struct osf1_sys_getrlimit_args {
syscallarg(u_int) which;
syscallarg(struct rlimit *) rlp;
@@ -159,7 +244,7 @@ struct osf1_sys_sigaction_args {
};
struct osf1_sys_statfs_args {
- syscallarg(char *) path;
+ syscallarg(const char *) path;
syscallarg(struct osf1_statfs *) buf;
syscallarg(int) len;
};
@@ -170,8 +255,30 @@ struct osf1_sys_fstatfs_args {
syscallarg(int) len;
};
-struct osf1_sys_getsid_args {
- syscallarg(pid_t) pid;
+struct osf1_sys_uname_args {
+ syscallarg(struct osf1_uname *) name;
+};
+
+struct osf1_sys_shmat_args {
+ syscallarg(int) shmid;
+ syscallarg(const void *) shmaddr;
+ syscallarg(int) shmflg;
+};
+
+struct osf1_sys_shmctl_args {
+ syscallarg(int) shmid;
+ syscallarg(int) cmd;
+ syscallarg(struct osf1_shmid_ds *) buf;
+};
+
+struct osf1_sys_shmdt_args {
+ syscallarg(const void *) shmaddr;
+};
+
+struct osf1_sys_shmget_args {
+ syscallarg(osf1_key_t) key;
+ syscallarg(size_t) size;
+ syscallarg(int) flags;
};
struct osf1_sys_sigaltstack_args {
@@ -179,9 +286,25 @@ struct osf1_sys_sigaltstack_args {
syscallarg(struct osf1_sigaltstack *) oss;
};
+struct osf1_sys_sysinfo_args {
+ syscallarg(int) cmd;
+ syscallarg(char *) buf;
+ syscallarg(long) len;
+};
+
+struct osf1_sys_pathconf_args {
+ syscallarg(char *) path;
+ syscallarg(int) name;
+};
+
+struct osf1_sys_fpathconf_args {
+ syscallarg(int) fd;
+ syscallarg(int) name;
+};
+
struct osf1_sys_usleep_thread_args {
- syscallarg(struct timeval *) sleep;
- syscallarg(struct timeval *) slept;
+ syscallarg(struct osf1_timeval *) sleep;
+ syscallarg(struct osf1_timeval *) slept;
};
struct osf1_sys_setsysinfo_args {
@@ -202,7 +325,7 @@ int sys_fork __P((struct proc *, void *, register_t *));
int sys_read __P((struct proc *, void *, register_t *));
int sys_write __P((struct proc *, void *, register_t *));
int sys_close __P((struct proc *, void *, register_t *));
-int sys_wait4 __P((struct proc *, void *, register_t *));
+int osf1_sys_wait4 __P((struct proc *, void *, register_t *));
int sys_link __P((struct proc *, void *, register_t *));
int sys_unlink __P((struct proc *, void *, register_t *));
int sys_chdir __P((struct proc *, void *, register_t *));
@@ -218,18 +341,22 @@ int osf1_sys_mount __P((struct proc *, void *, register_t *));
int osf1_sys_unmount __P((struct proc *, void *, register_t *));
int osf1_sys_setuid __P((struct proc *, void *, register_t *));
int sys_getuid __P((struct proc *, void *, register_t *));
-int sys_access __P((struct proc *, void *, register_t *));
+int osf1_sys_recvmsg_xopen __P((struct proc *, void *, register_t *));
+int osf1_sys_sendmsg_xopen __P((struct proc *, void *, register_t *));
+int osf1_sys_access __P((struct proc *, void *, register_t *));
int sys_sync __P((struct proc *, void *, register_t *));
int sys_kill __P((struct proc *, void *, register_t *));
int sys_setpgid __P((struct proc *, void *, register_t *));
int sys_dup __P((struct proc *, void *, register_t *));
-int sys_opipe __P((struct proc *, void *, register_t *));
+int sys_pipe __P((struct proc *, void *, register_t *));
+int osf1_sys_set_program_attributes __P((struct proc *, void *, register_t *));
int osf1_sys_open __P((struct proc *, void *, register_t *));
int sys_getgid __P((struct proc *, void *, register_t *));
int sys_sigprocmask __P((struct proc *, void *, register_t *));
int sys_getlogin __P((struct proc *, void *, register_t *));
int sys_setlogin __P((struct proc *, void *, register_t *));
int sys_acct __P((struct proc *, void *, register_t *));
+int osf1_sys_classcntl __P((struct proc *, void *, register_t *));
int osf1_sys_ioctl __P((struct proc *, void *, register_t *));
int osf1_sys_reboot __P((struct proc *, void *, register_t *));
int sys_revoke __P((struct proc *, void *, register_t *));
@@ -245,19 +372,20 @@ int osf1_sys_stat __P((struct proc *, void *, register_t *));
int osf1_sys_lstat __P((struct proc *, void *, register_t *));
int osf1_sys_mmap __P((struct proc *, void *, register_t *));
int sys_munmap __P((struct proc *, void *, register_t *));
+int osf1_sys_mprotect __P((struct proc *, void *, register_t *));
int osf1_sys_madvise __P((struct proc *, void *, register_t *));
int sys_getgroups __P((struct proc *, void *, register_t *));
int sys_setgroups __P((struct proc *, void *, register_t *));
int sys_setpgid __P((struct proc *, void *, register_t *));
-int sys_setitimer __P((struct proc *, void *, register_t *));
+int osf1_sys_setitimer __P((struct proc *, void *, register_t *));
int compat_43_sys_gethostname __P((struct proc *, void *, register_t *));
int compat_43_sys_sethostname __P((struct proc *, void *, register_t *));
int compat_43_sys_getdtablesize __P((struct proc *, void *, register_t *));
int sys_dup2 __P((struct proc *, void *, register_t *));
int osf1_sys_fstat __P((struct proc *, void *, register_t *));
int osf1_sys_fcntl __P((struct proc *, void *, register_t *));
-int sys_select __P((struct proc *, void *, register_t *));
-int osf1_sys_poll __P((struct proc *, void *, register_t *));
+int osf1_sys_select __P((struct proc *, void *, register_t *));
+int sys_poll __P((struct proc *, void *, register_t *));
int sys_fsync __P((struct proc *, void *, register_t *));
int sys_setpriority __P((struct proc *, void *, register_t *));
int osf1_sys_socket __P((struct proc *, void *, register_t *));
@@ -272,12 +400,12 @@ int sys_setsockopt __P((struct proc *, void *, register_t *));
int sys_listen __P((struct proc *, void *, register_t *));
int sys_sigsuspend __P((struct proc *, void *, register_t *));
int compat_43_sys_sigstack __P((struct proc *, void *, register_t *));
-int sys_gettimeofday __P((struct proc *, void *, register_t *));
+int osf1_sys_gettimeofday __P((struct proc *, void *, register_t *));
int osf1_sys_getrusage __P((struct proc *, void *, register_t *));
int sys_getsockopt __P((struct proc *, void *, register_t *));
int osf1_sys_readv __P((struct proc *, void *, register_t *));
int osf1_sys_writev __P((struct proc *, void *, register_t *));
-int sys_settimeofday __P((struct proc *, void *, register_t *));
+int osf1_sys_settimeofday __P((struct proc *, void *, register_t *));
int sys_fchown __P((struct proc *, void *, register_t *));
int sys_fchmod __P((struct proc *, void *, register_t *));
int compat_43_sys_recvfrom __P((struct proc *, void *, register_t *));
@@ -287,21 +415,34 @@ int osf1_sys_ftruncate __P((struct proc *, void *, register_t *));
int osf1_sys_setgid __P((struct proc *, void *, register_t *));
int osf1_sys_sendto __P((struct proc *, void *, register_t *));
int sys_shutdown __P((struct proc *, void *, register_t *));
+int osf1_sys_socketpair __P((struct proc *, void *, register_t *));
int sys_mkdir __P((struct proc *, void *, register_t *));
int sys_rmdir __P((struct proc *, void *, register_t *));
-int sys_utimes __P((struct proc *, void *, register_t *));
+int osf1_sys_utimes __P((struct proc *, void *, register_t *));
+int compat_43_sys_getpeername __P((struct proc *, void *, register_t *));
int compat_43_sys_gethostid __P((struct proc *, void *, register_t *));
int compat_43_sys_sethostid __P((struct proc *, void *, register_t *));
int osf1_sys_getrlimit __P((struct proc *, void *, register_t *));
int osf1_sys_setrlimit __P((struct proc *, void *, register_t *));
int sys_setsid __P((struct proc *, void *, register_t *));
int compat_43_sys_quota __P((struct proc *, void *, register_t *));
+int compat_43_sys_getsockname __P((struct proc *, void *, register_t *));
int osf1_sys_sigaction __P((struct proc *, void *, register_t *));
int compat_43_sys_getdirentries __P((struct proc *, void *, register_t *));
int osf1_sys_statfs __P((struct proc *, void *, register_t *));
int osf1_sys_fstatfs __P((struct proc *, void *, register_t *));
+int compat_09_sys_getdomainname __P((struct proc *, void *, register_t *));
+int compat_09_sys_setdomainname __P((struct proc *, void *, register_t *));
+int osf1_sys_uname __P((struct proc *, void *, register_t *));
int sys_lchown __P((struct proc *, void *, register_t *));
-int osf1_sys_getsid __P((struct proc *, void *, register_t *));
+int osf1_sys_shmat __P((struct proc *, void *, register_t *));
+int osf1_sys_shmctl __P((struct proc *, void *, register_t *));
+int osf1_sys_shmdt __P((struct proc *, void *, register_t *));
+int osf1_sys_shmget __P((struct proc *, void *, register_t *));
+int sys_getsid __P((struct proc *, void *, register_t *));
int osf1_sys_sigaltstack __P((struct proc *, void *, register_t *));
+int osf1_sys_sysinfo __P((struct proc *, void *, register_t *));
+int osf1_sys_pathconf __P((struct proc *, void *, register_t *));
+int osf1_sys_fpathconf __P((struct proc *, void *, register_t *));
int osf1_sys_usleep_thread __P((struct proc *, void *, register_t *));
int osf1_sys_setsysinfo __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/osf1/osf1_syscalls.c b/sys/compat/osf1/osf1_syscalls.c
index b9146392400..504585c55a3 100644
--- a/sys/compat/osf1/osf1_syscalls.c
+++ b/sys/compat/osf1/osf1_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_syscalls.c,v 1.7 2000/07/21 19:27:07 ericj Exp $ */
+/* $OpenBSD: osf1_syscalls.c,v 1.8 2000/08/04 15:49:06 ericj Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp
*/
char *osf1_syscallnames[] = {
@@ -35,8 +35,8 @@ char *osf1_syscallnames[] = {
"getuid", /* 24 = getuid */
"#25 (unimplemented exec_with_loader)", /* 25 = unimplemented exec_with_loader */
"#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */
- "#27 (unimplemented recvmsg)", /* 27 = unimplemented recvmsg */
- "#28 (unimplemented sendmsg)", /* 28 = unimplemented sendmsg */
+ "recvmsg_xopen", /* 27 = recvmsg_xopen */
+ "sendmsg_xopen", /* 28 = sendmsg_xopen */
"#29 (unimplemented recvfrom)", /* 29 = unimplemented recvfrom */
"#30 (unimplemented accept)", /* 30 = unimplemented accept */
"#31 (unimplemented getpeername)", /* 31 = unimplemented getpeername */
@@ -50,8 +50,8 @@ char *osf1_syscallnames[] = {
"setpgid", /* 39 = setpgid */
"#40 (unimplemented old lstat)", /* 40 = unimplemented old lstat */
"dup", /* 41 = dup */
- "opipe", /* 42 = opipe */
- "#43 (unimplemented set_program_attributes)", /* 43 = unimplemented set_program_attributes */
+ "pipe", /* 42 = pipe */
+ "set_program_attributes", /* 43 = set_program_attributes */
"#44 (unimplemented profil)", /* 44 = unimplemented profil */
"open", /* 45 = open */
"#46 (obsolete sigaction)", /* 46 = obsolete sigaction */
@@ -61,7 +61,7 @@ char *osf1_syscallnames[] = {
"setlogin", /* 50 = setlogin */
"acct", /* 51 = acct */
"#52 (unimplemented sigpending)", /* 52 = unimplemented sigpending */
- "#53 (unimplemented)", /* 53 = unimplemented */
+ "classcntl", /* 53 = classcntl */
"ioctl", /* 54 = ioctl */
"reboot", /* 55 = reboot */
"revoke", /* 56 = revoke */
@@ -82,7 +82,7 @@ char *osf1_syscallnames[] = {
"mmap", /* 71 = mmap */
"#72 (unimplemented ovadvise)", /* 72 = unimplemented ovadvise */
"munmap", /* 73 = munmap */
- "#74 (unimplemented mprotect)", /* 74 = unimplemented mprotect */
+ "mprotect", /* 74 = mprotect */
"madvise", /* 75 = madvise */
"#76 (unimplemented old vhangup)", /* 76 = unimplemented old vhangup */
"#77 (unimplemented kmodcall)", /* 77 = unimplemented kmodcall */
@@ -123,7 +123,7 @@ char *osf1_syscallnames[] = {
"sigstack", /* 112 = sigstack */
"#113 (unimplemented old recvmsg)", /* 113 = unimplemented old recvmsg */
"#114 (unimplemented old sendmsg)", /* 114 = unimplemented old sendmsg */
- "#115 (unimplemented vtrace)", /* 115 = unimplemented vtrace */
+ "#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
"gettimeofday", /* 116 = gettimeofday */
"getrusage", /* 117 = getrusage */
"getsockopt", /* 118 = getsockopt */
@@ -143,13 +143,13 @@ char *osf1_syscallnames[] = {
"setgid", /* 132 = setgid */
"sendto", /* 133 = sendto */
"shutdown", /* 134 = shutdown */
- "#135 (unimplemented socketpair)", /* 135 = unimplemented socketpair */
+ "socketpair", /* 135 = socketpair */
"mkdir", /* 136 = mkdir */
"rmdir", /* 137 = rmdir */
"utimes", /* 138 = utimes */
"#139 (obsolete 4.2 sigreturn)", /* 139 = obsolete 4.2 sigreturn */
"#140 (unimplemented adjtime)", /* 140 = unimplemented adjtime */
- "#141 (unimplemented old getpeername)", /* 141 = unimplemented old getpeername */
+ "getpeername", /* 141 = getpeername */
"gethostid", /* 142 = gethostid */
"sethostid", /* 143 = sethostid */
"getrlimit", /* 144 = getrlimit */
@@ -158,14 +158,14 @@ char *osf1_syscallnames[] = {
"setsid", /* 147 = setsid */
"#148 (unimplemented quotactl)", /* 148 = unimplemented quotactl */
"quota", /* 149 = quota */
- "#150 (unimplemented old getsockname)", /* 150 = unimplemented old getsockname */
- "#151 (unimplemented)", /* 151 = unimplemented */
- "#152 (unimplemented)", /* 152 = unimplemented */
- "#153 (unimplemented)", /* 153 = unimplemented */
- "#154 (unimplemented)", /* 154 = unimplemented */
- "#155 (unimplemented)", /* 155 = unimplemented */
+ "getsockname", /* 150 = getsockname */
+ "#151 (unimplemented pread)", /* 151 = unimplemented pread */
+ "#152 (unimplemented pwrite)", /* 152 = unimplemented pwrite */
+ "#153 (unimplemented pid_block)", /* 153 = unimplemented pid_block */
+ "#154 (unimplemented pid_unblock)", /* 154 = unimplemented pid_unblock */
+ "#155 (unimplemented signal_urti)", /* 155 = unimplemented signal_urti */
"sigaction", /* 156 = sigaction */
- "#157 (unimplemented)", /* 157 = unimplemented */
+ "#157 (unimplemented sigwaitprim)", /* 157 = unimplemented sigwaitprim */
"#158 (unimplemented nfssvc)", /* 158 = unimplemented nfssvc */
"getdirentries", /* 159 = getdirentries */
"statfs", /* 160 = statfs */
@@ -173,8 +173,8 @@ char *osf1_syscallnames[] = {
"#162 (unimplemented)", /* 162 = unimplemented */
"#163 (unimplemented async_daemon)", /* 163 = unimplemented async_daemon */
"#164 (unimplemented getfh)", /* 164 = unimplemented getfh */
- "#165 (unimplemented getdomainname)", /* 165 = unimplemented getdomainname */
- "#166 (unimplemented setdomainname)", /* 166 = unimplemented setdomainname */
+ "getdomainname", /* 165 = getdomainname */
+ "setdomainname", /* 166 = setdomainname */
"#167 (unimplemented)", /* 167 = unimplemented */
"#168 (unimplemented)", /* 168 = unimplemented */
"#169 (unimplemented exportfs)", /* 169 = unimplemented exportfs */
@@ -215,12 +215,12 @@ char *osf1_syscallnames[] = {
"#204 (unimplemented semctl)", /* 204 = unimplemented semctl */
"#205 (unimplemented semget)", /* 205 = unimplemented semget */
"#206 (unimplemented semop)", /* 206 = unimplemented semop */
- "#207 (unimplemented uname)", /* 207 = unimplemented uname */
+ "uname", /* 207 = uname */
"lchown", /* 208 = lchown */
- "#209 (unimplemented shmat)", /* 209 = unimplemented shmat */
- "#210 (unimplemented shmctl)", /* 210 = unimplemented shmctl */
- "#211 (unimplemented shmdt)", /* 211 = unimplemented shmdt */
- "#212 (unimplemented shmget)", /* 212 = unimplemented shmget */
+ "shmat", /* 209 = shmat */
+ "shmctl", /* 210 = shmctl */
+ "shmdt", /* 211 = shmdt */
+ "shmget", /* 212 = shmget */
"#213 (unimplemented mvalid)", /* 213 = unimplemented mvalid */
"#214 (unimplemented getaddressconf)", /* 214 = unimplemented getaddressconf */
"#215 (unimplemented msleep)", /* 215 = unimplemented msleep */
@@ -247,26 +247,27 @@ char *osf1_syscallnames[] = {
"#236 (unimplemented waitid)", /* 236 = unimplemented waitid */
"#237 (unimplemented priocntlset)", /* 237 = unimplemented priocntlset */
"#238 (unimplemented sigsendset)", /* 238 = unimplemented sigsendset */
- "#239 (unimplemented)", /* 239 = unimplemented */
+ "#239 (unimplemented set_speculative)", /* 239 = unimplemented set_speculative */
"#240 (unimplemented msfs_syscall)", /* 240 = unimplemented msfs_syscall */
- "#241 (unimplemented sysinfo)", /* 241 = unimplemented sysinfo */
+ "sysinfo", /* 241 = sysinfo */
"#242 (unimplemented uadmin)", /* 242 = unimplemented uadmin */
"#243 (unimplemented fuser)", /* 243 = unimplemented fuser */
- "#244 (unimplemented)", /* 244 = unimplemented */
- "#245 (unimplemented)", /* 245 = unimplemented */
- "#246 (unimplemented)", /* 246 = unimplemented */
- "#247 (unimplemented)", /* 247 = unimplemented */
- "#248 (unimplemented)", /* 248 = unimplemented */
+ "#244 (unimplemented proplist_syscall)", /* 244 = unimplemented proplist_syscall */
+ "#245 (unimplemented ntp_adjtime)", /* 245 = unimplemented ntp_adjtime */
+ "#246 (unimplemented ntp_gettime)", /* 246 = unimplemented ntp_gettime */
+ "pathconf", /* 247 = pathconf */
+ "fpathconf", /* 248 = fpathconf */
"#249 (unimplemented)", /* 249 = unimplemented */
"#250 (unimplemented uswitch)", /* 250 = unimplemented uswitch */
"usleep_thread", /* 251 = usleep_thread */
"#252 (unimplemented audcntl)", /* 252 = unimplemented audcntl */
"#253 (unimplemented audgen)", /* 253 = unimplemented audgen */
"#254 (unimplemented sysfs)", /* 254 = unimplemented sysfs */
- "#255 (unimplemented)", /* 255 = unimplemented */
+ "#255 (unimplemented subsys_info)", /* 255 = unimplemented subsys_info */
"#256 (unimplemented getsysinfo)", /* 256 = unimplemented getsysinfo */
"setsysinfo", /* 257 = setsysinfo */
"#258 (unimplemented afs_syscall)", /* 258 = unimplemented afs_syscall */
"#259 (unimplemented swapctl)", /* 259 = unimplemented swapctl */
"#260 (unimplemented memcntl)", /* 260 = unimplemented memcntl */
+ "#261 (unimplemented fdatasync)", /* 261 = unimplemented fdatasync */
};
diff --git a/sys/compat/osf1/osf1_sysent.c b/sys/compat/osf1/osf1_sysent.c
index 9280d4a10d7..557fc74addd 100644
--- a/sys/compat/osf1/osf1_sysent.c
+++ b/sys/compat/osf1/osf1_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: osf1_sysent.c,v 1.7 2000/07/21 19:27:07 ericj Exp $ */
+/* $OpenBSD: osf1_sysent.c,v 1.8 2000/08/04 15:49:06 ericj Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.6 1999/06/07 07:17:47 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp
*/
#include <sys/param.h>
@@ -13,6 +13,7 @@
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/syscallargs.h>
+#include <compat/osf1/osf1.h>
#include <compat/osf1/osf1_syscallargs.h>
#define s(type) sizeof(type)
@@ -32,8 +33,8 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 5 = unimplemented old open */
{ 1, s(struct sys_close_args),
sys_close }, /* 6 = close */
- { 4, s(struct sys_wait4_args),
- sys_wait4 }, /* 7 = wait4 */
+ { 4, s(struct osf1_sys_wait4_args),
+ osf1_sys_wait4 }, /* 7 = wait4 */
{ 0, 0,
sys_nosys }, /* 8 = unimplemented old creat */
{ 2, s(struct sys_link_args),
@@ -72,10 +73,10 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 25 = unimplemented exec_with_loader */
{ 0, 0,
sys_nosys }, /* 26 = unimplemented ptrace */
- { 0, 0,
- sys_nosys }, /* 27 = unimplemented recvmsg */
- { 0, 0,
- sys_nosys }, /* 28 = unimplemented sendmsg */
+ { 3, s(struct osf1_sys_recvmsg_xopen_args),
+ osf1_sys_recvmsg_xopen }, /* 27 = recvmsg_xopen */
+ { 3, s(struct osf1_sys_sendmsg_xopen_args),
+ osf1_sys_sendmsg_xopen }, /* 28 = sendmsg_xopen */
{ 0, 0,
sys_nosys }, /* 29 = unimplemented recvfrom */
{ 0, 0,
@@ -84,8 +85,8 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 31 = unimplemented getpeername */
{ 0, 0,
sys_nosys }, /* 32 = unimplemented getsockname */
- { 2, s(struct sys_access_args),
- sys_access }, /* 33 = access */
+ { 2, s(struct osf1_sys_access_args),
+ osf1_sys_access }, /* 33 = access */
{ 0, 0,
sys_nosys }, /* 34 = unimplemented chflags */
{ 0, 0,
@@ -103,9 +104,9 @@ struct sysent osf1_sysent[] = {
{ 1, s(struct sys_dup_args),
sys_dup }, /* 41 = dup */
{ 0, 0,
- sys_opipe }, /* 42 = opipe */
- { 0, 0,
- sys_nosys }, /* 43 = unimplemented set_program_attributes */
+ sys_pipe }, /* 42 = pipe */
+ { 4, s(struct osf1_sys_set_program_attributes_args),
+ osf1_sys_set_program_attributes }, /* 43 = set_program_attributes */
{ 0, 0,
sys_nosys }, /* 44 = unimplemented profil */
{ 3, s(struct osf1_sys_open_args),
@@ -124,8 +125,8 @@ struct sysent osf1_sysent[] = {
sys_acct }, /* 51 = acct */
{ 0, 0,
sys_nosys }, /* 52 = unimplemented sigpending */
- { 0, 0,
- sys_nosys }, /* 53 = unimplemented */
+ { 4, s(struct osf1_sys_classcntl_args),
+ osf1_sys_classcntl }, /* 53 = classcntl */
{ 3, s(struct osf1_sys_ioctl_args),
osf1_sys_ioctl }, /* 54 = ioctl */
{ 1, s(struct osf1_sys_reboot_args),
@@ -166,9 +167,9 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 72 = unimplemented ovadvise */
{ 2, s(struct sys_munmap_args),
sys_munmap }, /* 73 = munmap */
- { 0, 0,
- sys_nosys }, /* 74 = unimplemented mprotect */
- { 0, 0,
+ { 3, s(struct osf1_sys_mprotect_args),
+ osf1_sys_mprotect }, /* 74 = mprotect */
+ { 3, s(struct osf1_sys_madvise_args),
osf1_sys_madvise }, /* 75 = madvise */
{ 0, 0,
sys_nosys }, /* 76 = unimplemented old vhangup */
@@ -184,8 +185,8 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 81 = unimplemented old getpgrp */
{ 2, s(struct sys_setpgid_args),
sys_setpgid }, /* 82 = setpgrp */
- { 3, s(struct sys_setitimer_args),
- sys_setitimer }, /* 83 = setitimer */
+ { 3, s(struct osf1_sys_setitimer_args),
+ osf1_sys_setitimer }, /* 83 = setitimer */
{ 0, 0,
sys_nosys }, /* 84 = unimplemented old wait */
{ 0, 0,
@@ -204,10 +205,10 @@ struct sysent osf1_sysent[] = {
osf1_sys_fstat }, /* 91 = fstat */
{ 3, s(struct osf1_sys_fcntl_args),
osf1_sys_fcntl }, /* 92 = fcntl */
- { 5, s(struct sys_select_args),
- sys_select }, /* 93 = select */
- { 3, s(struct osf1_sys_poll_args),
- osf1_sys_poll }, /* 94 = poll */
+ { 5, s(struct osf1_sys_select_args),
+ osf1_sys_select }, /* 93 = select */
+ { 3, s(struct sys_poll_args),
+ sys_poll }, /* 94 = poll */
{ 1, s(struct sys_fsync_args),
sys_fsync }, /* 95 = fsync */
{ 3, s(struct sys_setpriority_args),
@@ -249,10 +250,10 @@ struct sysent osf1_sysent[] = {
{ 0, 0,
sys_nosys }, /* 114 = unimplemented old sendmsg */
{ 0, 0,
- sys_nosys }, /* 115 = unimplemented vtrace */
- { 2, s(struct sys_gettimeofday_args),
- sys_gettimeofday }, /* 116 = gettimeofday */
- { 0, 0,
+ sys_nosys }, /* 115 = obsolete vtrace */
+ { 2, s(struct osf1_sys_gettimeofday_args),
+ osf1_sys_gettimeofday }, /* 116 = gettimeofday */
+ { 2, s(struct osf1_sys_getrusage_args),
osf1_sys_getrusage }, /* 117 = getrusage */
{ 5, s(struct sys_getsockopt_args),
sys_getsockopt }, /* 118 = getsockopt */
@@ -262,8 +263,8 @@ struct sysent osf1_sysent[] = {
osf1_sys_readv }, /* 120 = readv */
{ 3, s(struct osf1_sys_writev_args),
osf1_sys_writev }, /* 121 = writev */
- { 2, s(struct sys_settimeofday_args),
- sys_settimeofday }, /* 122 = settimeofday */
+ { 2, s(struct osf1_sys_settimeofday_args),
+ osf1_sys_settimeofday }, /* 122 = settimeofday */
{ 3, s(struct sys_fchown_args),
sys_fchown }, /* 123 = fchown */
{ 2, s(struct sys_fchmod_args),
@@ -288,20 +289,20 @@ struct sysent osf1_sysent[] = {
osf1_sys_sendto }, /* 133 = sendto */
{ 2, s(struct sys_shutdown_args),
sys_shutdown }, /* 134 = shutdown */
- { 0, 0,
- sys_nosys }, /* 135 = unimplemented socketpair */
+ { 4, s(struct osf1_sys_socketpair_args),
+ osf1_sys_socketpair }, /* 135 = socketpair */
{ 2, s(struct sys_mkdir_args),
sys_mkdir }, /* 136 = mkdir */
{ 1, s(struct sys_rmdir_args),
sys_rmdir }, /* 137 = rmdir */
- { 2, s(struct sys_utimes_args),
- sys_utimes }, /* 138 = utimes */
+ { 2, s(struct osf1_sys_utimes_args),
+ osf1_sys_utimes }, /* 138 = utimes */
{ 0, 0,
sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
{ 0, 0,
sys_nosys }, /* 140 = unimplemented adjtime */
- { 0, 0,
- sys_nosys }, /* 141 = unimplemented old getpeername */
+ { 3, s(struct compat_43_sys_getpeername_args),
+ compat_43_sys_getpeername }, /* 141 = getpeername */
{ 0, 0,
compat_43_sys_gethostid }, /* 142 = gethostid */
{ 1, s(struct compat_43_sys_sethostid_args),
@@ -318,22 +319,22 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 148 = unimplemented quotactl */
{ 0, 0,
compat_43_sys_quota }, /* 149 = quota */
+ { 3, s(struct compat_43_sys_getsockname_args),
+ compat_43_sys_getsockname }, /* 150 = getsockname */
{ 0, 0,
- sys_nosys }, /* 150 = unimplemented old getsockname */
+ sys_nosys }, /* 151 = unimplemented pread */
{ 0, 0,
- sys_nosys }, /* 151 = unimplemented */
+ sys_nosys }, /* 152 = unimplemented pwrite */
{ 0, 0,
- sys_nosys }, /* 152 = unimplemented */
+ sys_nosys }, /* 153 = unimplemented pid_block */
{ 0, 0,
- sys_nosys }, /* 153 = unimplemented */
+ sys_nosys }, /* 154 = unimplemented pid_unblock */
{ 0, 0,
- sys_nosys }, /* 154 = unimplemented */
- { 0, 0,
- sys_nosys }, /* 155 = unimplemented */
+ sys_nosys }, /* 155 = unimplemented signal_urti */
{ 3, s(struct osf1_sys_sigaction_args),
osf1_sys_sigaction }, /* 156 = sigaction */
{ 0, 0,
- sys_nosys }, /* 157 = unimplemented */
+ sys_nosys }, /* 157 = unimplemented sigwaitprim */
{ 0, 0,
sys_nosys }, /* 158 = unimplemented nfssvc */
{ 4, s(struct compat_43_sys_getdirentries_args),
@@ -348,10 +349,10 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 163 = unimplemented async_daemon */
{ 0, 0,
sys_nosys }, /* 164 = unimplemented getfh */
- { 0, 0,
- sys_nosys }, /* 165 = unimplemented getdomainname */
- { 0, 0,
- sys_nosys }, /* 166 = unimplemented setdomainname */
+ { 2, s(struct compat_09_sys_getdomainname_args),
+ compat_09_sys_getdomainname }, /* 165 = getdomainname */
+ { 2, s(struct compat_09_sys_setdomainname_args),
+ compat_09_sys_setdomainname }, /* 166 = setdomainname */
{ 0, 0,
sys_nosys }, /* 167 = unimplemented */
{ 0, 0,
@@ -432,18 +433,18 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 205 = unimplemented semget */
{ 0, 0,
sys_nosys }, /* 206 = unimplemented semop */
- { 0, 0,
- sys_nosys }, /* 207 = unimplemented uname */
+ { 1, s(struct osf1_sys_uname_args),
+ osf1_sys_uname }, /* 207 = uname */
{ 3, s(struct sys_lchown_args),
sys_lchown }, /* 208 = lchown */
- { 0, 0,
- sys_nosys }, /* 209 = unimplemented shmat */
- { 0, 0,
- sys_nosys }, /* 210 = unimplemented shmctl */
- { 0, 0,
- sys_nosys }, /* 211 = unimplemented shmdt */
- { 0, 0,
- sys_nosys }, /* 212 = unimplemented shmget */
+ { 3, s(struct osf1_sys_shmat_args),
+ osf1_sys_shmat }, /* 209 = shmat */
+ { 3, s(struct osf1_sys_shmctl_args),
+ osf1_sys_shmctl }, /* 210 = shmctl */
+ { 1, s(struct osf1_sys_shmdt_args),
+ osf1_sys_shmdt }, /* 211 = shmdt */
+ { 3, s(struct osf1_sys_shmget_args),
+ osf1_sys_shmget }, /* 212 = shmget */
{ 0, 0,
sys_nosys }, /* 213 = unimplemented mvalid */
{ 0, 0,
@@ -486,8 +487,8 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 232 = unimplemented */
{ 0, 0,
sys_nosys }, /* 233 = unimplemented getpgid */
- { 1, s(struct osf1_sys_getsid_args),
- osf1_sys_getsid }, /* 234 = getsid */
+ { 1, s(struct sys_getsid_args),
+ sys_getsid }, /* 234 = getsid */
{ 2, s(struct osf1_sys_sigaltstack_args),
osf1_sys_sigaltstack }, /* 235 = sigaltstack */
{ 0, 0,
@@ -497,25 +498,25 @@ struct sysent osf1_sysent[] = {
{ 0, 0,
sys_nosys }, /* 238 = unimplemented sigsendset */
{ 0, 0,
- sys_nosys }, /* 239 = unimplemented */
+ sys_nosys }, /* 239 = unimplemented set_speculative */
{ 0, 0,
sys_nosys }, /* 240 = unimplemented msfs_syscall */
- { 0, 0,
- sys_nosys }, /* 241 = unimplemented sysinfo */
+ { 3, s(struct osf1_sys_sysinfo_args),
+ osf1_sys_sysinfo }, /* 241 = sysinfo */
{ 0, 0,
sys_nosys }, /* 242 = unimplemented uadmin */
{ 0, 0,
sys_nosys }, /* 243 = unimplemented fuser */
{ 0, 0,
- sys_nosys }, /* 244 = unimplemented */
- { 0, 0,
- sys_nosys }, /* 245 = unimplemented */
+ sys_nosys }, /* 244 = unimplemented proplist_syscall */
{ 0, 0,
- sys_nosys }, /* 246 = unimplemented */
+ sys_nosys }, /* 245 = unimplemented ntp_adjtime */
{ 0, 0,
- sys_nosys }, /* 247 = unimplemented */
- { 0, 0,
- sys_nosys }, /* 248 = unimplemented */
+ sys_nosys }, /* 246 = unimplemented ntp_gettime */
+ { 2, s(struct osf1_sys_pathconf_args),
+ osf1_sys_pathconf }, /* 247 = pathconf */
+ { 2, s(struct osf1_sys_fpathconf_args),
+ osf1_sys_fpathconf }, /* 248 = fpathconf */
{ 0, 0,
sys_nosys }, /* 249 = unimplemented */
{ 0, 0,
@@ -529,7 +530,7 @@ struct sysent osf1_sysent[] = {
{ 0, 0,
sys_nosys }, /* 254 = unimplemented sysfs */
{ 0, 0,
- sys_nosys }, /* 255 = unimplemented */
+ sys_nosys }, /* 255 = unimplemented subsys_info */
{ 0, 0,
sys_nosys }, /* 256 = unimplemented getsysinfo */
{ 5, s(struct osf1_sys_setsysinfo_args),
@@ -540,5 +541,7 @@ struct sysent osf1_sysent[] = {
sys_nosys }, /* 259 = unimplemented swapctl */
{ 0, 0,
sys_nosys }, /* 260 = unimplemented memcntl */
+ { 0, 0,
+ sys_nosys }, /* 261 = unimplemented fdatasync */
};