aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/snoop.h
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-07-18 13:39:43 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-07-18 13:39:43 +0000
commitac60b28d35889001b743fba44384be56f581f7fe (patch)
tree9d5c8e3ec0a54addc372cb70d2590ef38d8f610f /sys/sys/snoop.h
parent10b0e058bbc6bfa10b0ff2816637b0bbd1f3c658 (diff)
downloadsrc-ac60b28d35889001b743fba44384be56f581f7fe.tar.gz
src-ac60b28d35889001b743fba44384be56f581f7fe.zip
Keep track of all "struct snoop"'s so that snp_modevent can fail with
EBUSY if there's a device still open.
Notes
Notes: svn path=/head/; revision=79864
Diffstat (limited to 'sys/sys/snoop.h')
-rw-r--r--sys/sys/snoop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/snoop.h b/sys/sys/snoop.h
index fe2779f96ebc..1f72c60a93aa 100644
--- a/sys/sys/snoop.h
+++ b/sys/sys/snoop.h
@@ -41,6 +41,7 @@
*/
struct snoop {
+ LIST_ENTRY(snoop) snp_list;
dev_t snp_target; /* major/minor number of device*/
struct tty *snp_tty; /* tty device pointer */
u_long snp_len; /* buffer data length */