summaryrefslogtreecommitdiff
path: root/sys/compat/freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/freebsd')
-rw-r--r--sys/compat/freebsd/freebsd_syscall.h4
-rw-r--r--sys/compat/freebsd/freebsd_syscallargs.h12
-rw-r--r--sys/compat/freebsd/freebsd_syscalls.c4
-rw-r--r--sys/compat/freebsd/freebsd_sysent.c8
4 files changed, 17 insertions, 11 deletions
diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h
index df0a5cc531d..0ac42c777c1 100644
--- a/sys/compat/freebsd/freebsd_syscall.h
+++ b/sys/compat/freebsd/freebsd_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_syscall.h,v 1.11 1999/06/07 07:18:34 deraadt Exp $ */
+/* $OpenBSD: freebsd_syscall.h,v 1.12 1999/10/27 07:33:42 niklas Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.11 1999/06/07 07:17:46 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.12 1999/10/27 07:32:55 niklas Exp
*/
/* syscall: "syscall" ret: "int" args: */
diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h
index 8e3d5f66338..1ee6117ae7f 100644
--- a/sys/compat/freebsd/freebsd_syscallargs.h
+++ b/sys/compat/freebsd/freebsd_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_syscallargs.h,v 1.12 1999/06/07 07:18:34 deraadt Exp $ */
+/* $OpenBSD: freebsd_syscallargs.h,v 1.13 1999/10/27 07:33:43 niklas Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.11 1999/06/07 07:17:46 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.12 1999/10/27 07:32:55 niklas Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -132,6 +132,12 @@ struct freebsd_sys_madvise_args {
syscallarg(int) behav;
};
+struct freebsd_sys_fcntl_args {
+ syscallarg(int) fd;
+ syscallarg(int) cmd;
+ syscallarg(void *) arg;
+};
+
struct freebsd_sys_sigreturn_args {
syscallarg(struct freebsd_sigcontext *) scp;
};
@@ -309,7 +315,7 @@ 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 sys_fcntl __P((struct proc *, void *, register_t *));
+int freebsd_sys_fcntl __P((struct proc *, void *, register_t *));
int sys_select __P((struct proc *, void *, register_t *));
int sys_fsync __P((struct proc *, void *, register_t *));
int sys_setpriority __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c
index d0f8b13acfd..70c0f2110b7 100644
--- a/sys/compat/freebsd/freebsd_syscalls.c
+++ b/sys/compat/freebsd/freebsd_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_syscalls.c,v 1.11 1999/06/07 07:18:34 deraadt Exp $ */
+/* $OpenBSD: freebsd_syscalls.c,v 1.12 1999/10/27 07:33:43 niklas Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.11 1999/06/07 07:17:46 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.12 1999/10/27 07:32:55 niklas Exp
*/
char *freebsd_syscallnames[] = {
diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c
index c194db79bfc..287db8cb539 100644
--- a/sys/compat/freebsd/freebsd_sysent.c
+++ b/sys/compat/freebsd/freebsd_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: freebsd_sysent.c,v 1.12 1999/06/07 07:18:35 deraadt Exp $ */
+/* $OpenBSD: freebsd_sysent.c,v 1.13 1999/10/27 07:33:43 niklas Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.11 1999/06/07 07:17:46 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.12 1999/10/27 07:32:55 niklas Exp
*/
#include <sys/param.h>
@@ -207,8 +207,8 @@ struct sysent freebsd_sysent[] = {
sys_dup2 }, /* 90 = dup2 */
{ 0, 0,
sys_nosys }, /* 91 = unimplemented getdopt */
- { 3, s(struct sys_fcntl_args),
- sys_fcntl }, /* 92 = fcntl */
+ { 3, s(struct freebsd_sys_fcntl_args),
+ freebsd_sys_fcntl }, /* 92 = fcntl */
{ 5, s(struct sys_select_args),
sys_select }, /* 93 = select */
{ 0, 0,