Date: Sat, 24 Nov 2001 07:34:18 -0800 (PST) From: Dima Dorfman <dd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/snp snp.c Message-ID: <200111241534.fAOFYI729847@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dd 2001/11/24 07:34:18 PST
Modified files:
sys/dev/snp snp.c
Log:
Return EBUSY if we try to attach to a tty that is already being
snooped on. This causes all kinds of Bad Things(tm) to happen since
closing one session will clobber state that's needed for the other
one. This could theoretically be supported if the code was careful,
but until somebody implements that, preventing this will stop people
from unknowingly shooting themselves in the foot.
Revision Changes Path
1.68 +2 -0 src/sys/dev/snp/snp.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111241534.fAOFYI729847>
