Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2004 13:12:43 +0000 (UTC)
From:      Maxim Konovalov <maxim@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/sh jobs.c
Message-ID:  <200412021312.iB2DChsd078387@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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