From owner-cvs-src@FreeBSD.ORG Thu Dec 2 13:12:43 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECA3C16A4CE; Thu, 2 Dec 2004 13:12:43 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94B1743D5D; Thu, 2 Dec 2004 13:12:43 +0000 (GMT) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iB2DChMb078388; Thu, 2 Dec 2004 13:12:43 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB2DChsd078387; Thu, 2 Dec 2004 13:12:43 GMT (envelope-from maxim) Message-Id: <200412021312.iB2DChsd078387@repoman.freebsd.org> From: Maxim Konovalov Date: Thu, 2 Dec 2004 13:12:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh jobs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2004 13:12:44 -0000 maxim 2004-12-02 13:12:43 UTC FreeBSD src repository Modified files: bin/sh jobs.c Log: 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 Revision Changes Path 1.68 +2 -1 src/bin/sh/jobs.c