summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-04-23 22:13:18 +0000
committerache <ache@FreeBSD.org>1997-04-23 22:13:18 +0000
commite027b68ed88ee6668bea9895f1950a1cec3ffc9f (patch)
treec63bebd51cf8cfd131d2e85b549f190c29de4f7f
parent2f86c7eb1586742428169502d63e646612344f7b (diff)
downloadFreeBSD-src-e027b68ed88ee6668bea9895f1950a1cec3ffc9f.zip
FreeBSD-src-e027b68ed88ee6668bea9895f1950a1cec3ffc9f.tar.gz
Restore memory space separation (RFMEM) for vfork() after
shell imgact memory clobbering fixed
-rw-r--r--sys/kern/kern_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 0f5b028..7bb19d7 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -98,7 +98,7 @@ vfork(p, uap, retval)
struct vfork_args *uap;
int retval[];
{
- return (fork1(p, (RFFDG|RFPROC|RFPPWAIT), retval));
+ return (fork1(p, (RFFDG|RFPROC|RFPPWAIT|RFMEM), retval));
}
/* ARGSUSED */
OpenPOWER on IntegriCloud