freebsd-dev/sys/dev/snp
Konstantin Belousov 6ed4cfc05d 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
2007-12-03 14:02:27 +00:00
..
snp.c Do not allow the SNPSTTY ioctl for the snoop device that has a tty 2007-12-03 14:02:27 +00:00