NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/38670: ^Z does not work anymore for this program.



On May 18,  2:30pm, ad%netbsd.org@localhost (Andrew Doran) wrote:
-- Subject: Re: kern/38670: ^Z does not work anymore for this program.

| The following reply was made to PR kern/38670; it has been noted by GNATS.
| 
| From: Andrew Doran <ad%netbsd.org@localhost>
| To: gnats-bugs%NetBSD.org@localhost
| Cc: 
| Subject: Re: kern/38670: ^Z does not work anymore for this program.
| Date: Sun, 18 May 2008 15:29:45 +0100
| 
|  kern_sig.c:
|  
|     1607                      if ((p->p_sflag & PS_PPWAIT) != 0)
|     1608                              sigminusset(&stopsigmask, &ss);
|  ...
|     1644               * by the debugger.  If the our parent process is 
waiting
|     1645               * for us, don't hang as we could deadlock.
|     1646               */
|     1647              if ((p->p_slflag & PSL_TRACED) != 0 &&
|     1648                  (p->p_sflag & PS_PPWAIT) == 0 && signo != SIGKILL) {
|  
|  That seems to have come in with 4.4BSD, not sure what it's all about.

The regression has been introduced recently though. This works fine with
NetBSD rebar.astron.com 4.99.1 NetBSD 4.99.1 (ASTRON) #2: Fri Sep  8 15:10:53 
EDT 2006  
christos%rebar.astron.com@localhost:/usr/src/sys/arch/i386/compile/ASTRON i38

christos


Home | Main Index | Thread Index | Old Index