NetBSD-Bugs archive

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

PR/40688 CVS commit: src/sys/kern



The following reply was made to PR kern/40688; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/40688 CVS commit: src/sys/kern
Date: Sat, 9 Apr 2011 06:34:06 +0000

 Module Name:   src
 Committed By:  martin
 Date:          Sat Apr  9 06:34:06 UTC 2011
 
 Modified Files:
        src/sys/kern: tty.c tty_pty.c
 
 Log Message:
 In ttymalloc() explicitly initialize t_dev to NODEV.
 In ptcwakeup() do not bother to wake up a client side if it has not been
 opened yet.
 The old code would spuriously wakeup the client minor(0) [i.e. ttyp0
 typically] or crash the kernel if that wasn't open, see PR kern/40688.
 (Old names used to match the PR and test case, adjust names for
 /dev/ptm[x] resp. /dev/pts/* accordingly)
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.242 -r1.243 src/sys/kern/tty.c
 cvs rdiff -u -r1.124 -r1.125 src/sys/kern/tty_pty.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index