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

cvs commit: src/sys/kern tty.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 4 May 2004 16:22:43 -0700 (PDT)

dillon      2004/05/04 16:22:43 PDT

DragonFly src repository

  Modified files:
    sys/kern             tty.c 
  Log:
  Fix an exit-race with ^T.  If a process is exiting it may be detached from
  its thread.  p_wmesg is actually p_thread->td_wmesg, so do not dereference
  p_wmesg unless a thread is still attached to the process!
  
  Reported-by: "Jonas Trollvik" <Jonas.Trollvik@xxxxxxxxx>
  
  Revision  Changes    Path
  1.9       +1 -0      src/sys/kern/tty.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty.c.diff?r1=1.8&r2=1.9&f=h



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