cvs commit: src/sys/kern tty_tty.c

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jan 28 21:49:09 PST 2005


dillon      2005/01/28 21:48:17 PST

DragonFly src repository

  Modified files:
    sys/kern             tty_tty.c 
  Log:
  Do not leave VCTTYISOPEN set if our attempt to open /dev/tty fails, otherwise
  we will close the controlling terminal on exit even though we didn't open it.
  
  This case occurs when a jailed shell is created because /dev/tty cannot be
  opened in that case.
  
  Reported-by:  "Simon 'corecode' Schubert" <corecode at xxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.12      +2 -0      src/sys/kern/tty_tty.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty_tty.c.diff?r1=1.11&r2=1.12&f=u





More information about the Commits mailing list