diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-01-31 01:09:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-01-31 01:09:12 +0000 |
commit | 32f4ef221000444572249016353881f0be0cf193 (patch) | |
tree | 24f8f0243ad7152936e8b56a03cc51cfab5bfaf4 /sys/compat | |
parent | 82b2b843cb4933b7965a00629182a053f36835d2 (diff) |
undo vfork changes, since non-UVM was not considered
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/netbsd/netbsd_misc.c | 5 |
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 */ |