cvs commit: src/sys/dev/snp snp.c
Konstantin Belousov
kib at FreeBSD.org
Mon Dec 3 06:02:27 PST 2007
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
More information about the cvs-src
mailing list