summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorIan Darwin <ian@cvs.openbsd.org>2000-03-18 21:39:17 +0000
committerIan Darwin <ian@cvs.openbsd.org>2000-03-18 21:39:17 +0000
commit404d4678be49dbab2ac44d8d6ae087f87036f9d6 (patch)
tree8b302e582d55d3147092bc335d8ff76f8b9b03d3 /sys/compat
parent51df921d8ede205d68a82b36cef125841d5713a3 (diff)
Sync.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_syscall.h7
-rw-r--r--sys/compat/linux/linux_syscallargs.h5
-rw-r--r--sys/compat/linux/linux_syscalls.c6
-rw-r--r--sys/compat/linux/linux_sysent.c6
4 files changed, 14 insertions, 10 deletions
diff --git a/sys/compat/linux/linux_syscall.h b/sys/compat/linux/linux_syscall.h
index b856783f5cf..f4afd6c6ce9 100644
--- a/sys/compat/linux/linux_syscall.h
+++ b/sys/compat/linux/linux_syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscall.h,v 1.16 2000/03/13 08:18:56 jasoni Exp $ */
+/* $OpenBSD: linux_syscall.h,v 1.17 2000/03/18 21:39:15 ian Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.17 2000/03/13 08:18:30 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.18 2000/03/18 21:36:02 ian Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -411,4 +411,7 @@
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
#define LINUX_SYS_chown 182
+/* syscall: "vfork" ret: "int" args: */
+#define LINUX_SYS_vfork 190
+
#define LINUX_SYS_MAXSYSCALL 191
diff --git a/sys/compat/linux/linux_syscallargs.h b/sys/compat/linux/linux_syscallargs.h
index 897e2be37ad..9cf66c0c302 100644
--- a/sys/compat/linux/linux_syscallargs.h
+++ b/sys/compat/linux/linux_syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscallargs.h,v 1.17 2000/03/13 08:18:56 jasoni Exp $ */
+/* $OpenBSD: linux_syscallargs.h,v 1.18 2000/03/18 21:39:16 ian Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.17 2000/03/13 08:18:30 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.18 2000/03/18 21:36:02 ian Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -550,3 +550,4 @@ int linux_sys_rt_sigprocmask __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigpending __P((struct proc *, void *, register_t *));
int linux_sys_rt_sigsuspend __P((struct proc *, void *, register_t *));
int linux_sys_chown __P((struct proc *, void *, register_t *));
+int sys_vfork __P((struct proc *, void *, register_t *));
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index f2e442bfee7..b391c254b31 100644
--- a/sys/compat/linux/linux_syscalls.c
+++ b/sys/compat/linux/linux_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscalls.c,v 1.16 2000/03/13 08:18:56 jasoni Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.17 2000/03/18 21:39:16 ian Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.17 2000/03/13 08:18:30 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.18 2000/03/18 21:36:02 ian Exp
*/
char *linux_syscallnames[] = {
@@ -210,5 +210,5 @@ char *linux_syscallnames[] = {
"#187 (unimplemented sendfile)", /* 187 = unimplemented sendfile */
"#188 (unimplemented getpmsg)", /* 188 = unimplemented getpmsg */
"#189 (unimplemented putpmsg)", /* 189 = unimplemented putpmsg */
- "#190 (unimplemented vfork)", /* 190 = unimplemented vfork */
+ "vfork", /* 190 = vfork */
};
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c
index 686f0e880f4..66e97489a8f 100644
--- a/sys/compat/linux/linux_sysent.c
+++ b/sys/compat/linux/linux_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_sysent.c,v 1.17 2000/03/13 08:18:56 jasoni Exp $ */
+/* $OpenBSD: linux_sysent.c,v 1.18 2000/03/18 21:39:16 ian Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.17 2000/03/13 08:18:30 jasoni Exp
+ * created from OpenBSD: syscalls.master,v 1.18 2000/03/18 21:36:02 ian Exp
*/
#include <sys/param.h>
@@ -416,6 +416,6 @@ struct sysent linux_sysent[] = {
{ 0, 0,
sys_nosys }, /* 189 = unimplemented putpmsg */
{ 0, 0,
- sys_nosys }, /* 190 = unimplemented vfork */
+ sys_vfork }, /* 190 = vfork */
};