diff options
author | dd <dd@FreeBSD.org> | 2001-07-18 13:39:43 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-07-18 13:39:43 +0000 |
commit | f582e5317af61ae719057941e212adf06edb05f2 (patch) | |
tree | 9d5c8e3ec0a54addc372cb70d2590ef38d8f610f /sys/sys/snoop.h | |
parent | 896862fbe23c6710637724ffc27258bf2dbf9421 (diff) | |
download | FreeBSD-src-f582e5317af61ae719057941e212adf06edb05f2.zip FreeBSD-src-f582e5317af61ae719057941e212adf06edb05f2.tar.gz |
Keep track of all "struct snoop"'s so that snp_modevent can fail with
EBUSY if there's a device still open.
Diffstat (limited to 'sys/sys/snoop.h')
-rw-r--r-- | sys/sys/snoop.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/snoop.h b/sys/sys/snoop.h index fe2779f..1f72c60 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 */ |