diff options
author | netchild <netchild@FreeBSD.org> | 2006-10-15 13:25:23 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-10-15 13:25:23 +0000 |
commit | 7e5ad63262bc5c96daca198cf6a43b428b26ee12 (patch) | |
tree | 07b3169e862475b9de780a26ee47031eaac87df8 /sys/amd64 | |
parent | 6dc0f7cde51187b0ac39dd8dfcf92be6f1eacac3 (diff) | |
download | FreeBSD-src-7e5ad63262bc5c96daca198cf6a43b428b26ee12.zip FreeBSD-src-7e5ad63262bc5c96daca198cf6a43b428b26ee12.tar.gz |
MFP4 (106541): Fix the clone05 test in the LTP.
Submitted by: rdivacky
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/linux32/linux32_machdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/linux32/linux32_machdep.c b/sys/amd64/linux32/linux32_machdep.c index 7b0b124..541bf97 100644 --- a/sys/amd64/linux32/linux32_machdep.c +++ b/sys/amd64/linux32/linux32_machdep.c @@ -495,6 +495,7 @@ linux_vfork(struct thread *td, struct linux_vfork_args *args) return (error); /* wait for the children to exit, ie. emulate vfork */ PROC_LOCK(p2); + p2->p_flag |= P_PPWAIT; while (p2->p_flag & P_PPWAIT) msleep(td->td_proc, &p2->p_mtx, PWAIT, "ppwait", 0); PROC_UNLOCK(p2); |