aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/snoop.h
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2005-09-18 19:23:35 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2005-09-18 19:23:35 +0000
commit30ce1aad9c81e2886a6132006530020c87c41484 (patch)
tree9f6a6a0b8d2efe149ceb2ecc351359fe24ba972b /sys/sys/snoop.h
parent323d07b497f1f4cc43a82df650248db73797cc85 (diff)
downloadsrc-30ce1aad9c81e2886a6132006530020c87c41484.tar.gz
src-30ce1aad9c81e2886a6132006530020c87c41484.zip
Slightly change the API for the SNPSTTY ioctl so that the userland now
provides a file descriptor instead of a dev_t. Discussed with: phk MFC after: 3 days
Notes
Notes: svn path=/head/; revision=150298
Diffstat (limited to 'sys/sys/snoop.h')
-rw-r--r--sys/sys/snoop.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/sys/snoop.h b/sys/sys/snoop.h
index 5c9b8bec4b0a..b25aa494ff8e 100644
--- a/sys/sys/snoop.h
+++ b/sys/sys/snoop.h
@@ -25,12 +25,10 @@
/*
* These are snoop io controls
- * SNPSTTY accepts 'struct snptty' as input.
- * If ever type or unit set to -1,snoop device
- * detached from its current tty.
+ * SNPSTTY accepts a file descriptor as input.
*/
-#define SNPSTTY _IOW('T', 90, dev_t)
+#define SNPSTTY _IOW('T', 90, int)
#define SNPGTTY _IOR('T', 89, dev_t)
/*