]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Terminate an endless loop sh -T goes into in dowait() around waitproc().
authorMaxim Konovalov <maxim@FreeBSD.org>
Thu, 2 Dec 2004 13:12:43 +0000 (13:12 +0000)
committerMaxim Konovalov <maxim@FreeBSD.org>
Thu, 2 Dec 2004 13:12:43 +0000 (13:12 +0000)
commit0c77b3c9c11da08ef013e5804df6f05d6deea09c
treef8cff54862f4119a2dcf223c91d1f743b2ce79a5
parent355be4eeda46481b12de8ec7e6753d8c727d9a80
o Terminate an endless loop sh -T goes into in dowait() around waitproc().

XXX from Tor: "The shell can also go into a similar loop if the child was
killed by signal 127, since the shell would believe the child to have
only stopped (WIFSTOPPED() macro returns nonzero value).  Disallowing
signals 127 and 128 will fix that problem."  See kern/19402 for details.

PR: bin/66242
Submitted by: tegge
Analysis and testcase by: demon
MFC after: 3 weeks
bin/sh/jobs.c