summaryrefslogtreecommitdiffstats
path: root/sys/compat/netbsd
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-01-31 01:09:09 +0000
committerderaadt <deraadt@openbsd.org>2000-01-31 01:09:09 +0000
commit6e1dc36c0c29e15c5f6928e1e774164c9eb299c8 (patch)
tree3920241dd44f16a625d8578a554198edc741ca25 /sys/compat/netbsd
parentMerge with EOM 1.108 (diff)
downloadwireguard-openbsd-6e1dc36c0c29e15c5f6928e1e774164c9eb299c8.tar.xz
wireguard-openbsd-6e1dc36c0c29e15c5f6928e1e774164c9eb299c8.zip
undo vfork changes, since non-UVM was not considered
Diffstat (limited to 'sys/compat/netbsd')
-rw-r--r--sys/compat/netbsd/netbsd_misc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/netbsd/netbsd_misc.c b/sys/compat/netbsd/netbsd_misc.c
index 0c46834efa1..90ffab99d0f 100644
--- a/sys/compat/netbsd/netbsd_misc.c
+++ b/sys/compat/netbsd/netbsd_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netbsd_misc.c,v 1.6 2000/01/28 19:45:04 art Exp $ */
+/* $OpenBSD: netbsd_misc.c,v 1.7 2000/01/31 01:09:11 deraadt Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1991, 1993
@@ -61,8 +61,7 @@ netbsd_sys___vfork14(p, v, retval)
void *v;
register_t *retval;
{
- /* XXX - should add FORK_SHAREVM */
- return (fork1(p, FORK_VFORK|FORK_PPWAIT, NULL, 0, retval));
+ return (fork1(p, ISVFORK, 0, NULL, 0, retval));
}
/* XXX syncs whole file */