From: ian Date: Sat, 18 Mar 2000 21:39:15 +0000 (+0000) Subject: Sync. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fce0229eb136084b51e065a18c9799e0fe342e8e;p=openbsd Sync. --- 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 @@ -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 */ };