From owner-cvs-all Sat Nov 24 7:34:21 2001
Delivered-To: cvs-all@freebsd.org
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
by hub.freebsd.org (Postfix) with ESMTP
id BB1E337B416; Sat, 24 Nov 2001 07:34:18 -0800 (PST)
Received: (from dd@localhost)
by freefall.freebsd.org (8.11.4/8.11.4) id fAOFYI729847;
Sat, 24 Nov 2001 07:34:18 -0800 (PST)
(envelope-from dd)
Message-Id: <200111241534.fAOFYI729847@freefall.freebsd.org>
From: Dima Dorfman
Date: Sat, 24 Nov 2001 07:34:18 -0800 (PST)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/sys/dev/snp snp.c
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
List-ID:
List-Archive: (Web Archive)
List-Help: (List Instructions)
List-Subscribe:
List-Unsubscribe:
X-Loop: FreeBSD.ORG
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