Date: Mon, 3 Dec 2007 14:02:27 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/snp snp.c Message-ID: <200712031402.lB3E2RGR005279@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2007-12-03 14:02:27 UTC
FreeBSD src repository
Modified files:
sys/dev/snp snp.c
Log:
Do not allow the SNPSTTY ioctl for the snoop device that has a tty
attached. Otherwise, the snp->snp_tty would be overwritten, while the
tty line discipline still set to the snpdisc. Then snplwrite() causes
panic because ttytosnp() cannot find the snp.
MFC after: 1 week
Revision Changes Path
1.106 +3 -0 src/sys/dev/snp/snp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712031402.lB3E2RGR005279>
