diff options
author | raf <none@none> | 2007-03-15 14:07:33 -0700 |
---|---|---|
committer | raf <none@none> | 2007-03-15 14:07:33 -0700 |
commit | 8d186f16cbd3192d43ea470cb4ebfa04176bd895 (patch) | |
tree | 5771654ca560341d25b933a5ef0ceee7d5cb1bfd /usr/src/uts/intel | |
parent | 964296fffc0936199233503596cefa89bf14d20e (diff) | |
download | illumos-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.c | 3 |
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; } /* |