summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel
diff options
context:
space:
mode:
authorraf <none@none>2007-03-15 14:07:33 -0700
committerraf <none@none>2007-03-15 14:07:33 -0700
commit8d186f16cbd3192d43ea470cb4ebfa04176bd895 (patch)
tree5771654ca560341d25b933a5ef0ceee7d5cb1bfd /usr/src/uts/intel
parent964296fffc0936199233503596cefa89bf14d20e (diff)
downloadillumos-joyent-8d186f16cbd3192d43ea470cb4ebfa04176bd895.tar.gz
6533431 assertion failed: code == 119 || code == 142, file: ../../intel/ia32/os/syscall.c, line: 607
Diffstat (limited to 'usr/src/uts/intel')
-rw-r--r--usr/src/uts/intel/ia32/os/syscall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/intel/ia32/os/syscall.c b/usr/src/uts/intel/ia32/os/syscall.c
index f40ab4a175..e3a8787928 100644
--- a/usr/src/uts/intel/ia32/os/syscall.c
+++ b/usr/src/uts/intel/ia32/os/syscall.c
@@ -603,10 +603,11 @@ post_syscall(long rval1, long rval2)
* This code must be here and not in the bowels of the system
* so that /proc can intercept exit from vfork in a timely way.
*/
- if (p->p_flag & SVFPARENT) {
+ if (t->t_flag & T_VFPARENT) {
ASSERT(code == SYS_vfork || code == SYS_forksys);
ASSERT(rp->r_r1 == 0 && error == 0);
vfwait((pid_t)rval1);
+ t->t_flag &= ~T_VFPARENT;
}
/*