diff options
author | kib <kib@FreeBSD.org> | 2007-12-03 14:02:27 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2007-12-03 14:02:27 +0000 |
commit | 4be0c75a36346a1cf37872bbe96d191f17fc43c9 (patch) | |
tree | 4fa9a4f171731c82febb40c597a5f4368ccf060b /sys/kern/subr_stack.c | |
parent | 7d7c31228433aa17ba3a8530ba4e041628e08a50 (diff) | |
download | FreeBSD-src-4be0c75a36346a1cf37872bbe96d191f17fc43c9.zip FreeBSD-src-4be0c75a36346a1cf37872bbe96d191f17fc43c9.tar.gz |
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
Diffstat (limited to 'sys/kern/subr_stack.c')
0 files changed, 0 insertions, 0 deletions