Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 10:26:52 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_sig.c
Message-ID:  <200104021726.f32HQqE97399@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/04/02 10:26:51 PDT

  Modified files:
    sys/kern             kern_sig.c 
  Log:
  - Move the second stop() of process 'p' in issignal() to be after we send
    SIGCHLD to our parent process.  Otherwise, we could block while obtaining
    the process lock for our parent process and switch out while we were
    in SSTOP.  Even worse, when we try to resume from the mutex being blocked
    on our p_stat will be SRUN, not SSTOP.
  - Fix a comment above stop() to indicate that it requires that the proc lock
    be held, not a proctree lock.
  
  Reported by:	markm
  Sleuthing by:	jake
  
  Revision  Changes    Path
  1.113     +3 -4      src/sys/kern/kern_sig.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104021726.f32HQqE97399>