DragonFly BSD
DragonFly commits List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern tty_tty.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jan 2005 21:48:17 -0800 (PST)

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]