Date: Mon, 4 Aug 2008 19:49:05 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern tty_pts.c Message-ID: <200808041949.m74JnBl1038090@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-08-04 19:49:05 UTC
FreeBSD src repository
Modified files:
sys/kern tty_pts.c
Log:
SVN rev 181300 on 2008-08-04 19:49:05Z by jhb
- Close a race with concurrent open's of a pts master device which could
result in leaked tty structures.
- When constructing a new pty, allocate it's tty structure before adding
it to the list.
MFC after: 1 week
Revision Changes Path
1.18 +13 -7 src/sys/kern/tty_pts.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808041949.m74JnBl1038090>
