cvs commit: src/bin/sh jobs.c

Maxim Konovalov maxim at FreeBSD.org
Thu Dec 2 05:12:44 PST 2004


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


More information about the cvs-all mailing list