Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Rename DTYPE_SYSTRACE to DTYPE_MISC. DTYPE_MISC can now...
details: https://anonhg.NetBSD.org/src/rev/0c88c54a129f
branches: trunk
changeset: 534100:0c88c54a129f
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Jul 16 16:40:55 2002 +0000
description:
Rename DTYPE_SYSTRACE to DTYPE_MISC. DTYPE_MISC can now be used by
any misc. pseudo-device which requires cloning semantics.
diffstat:
sys/kern/kern_systrace.c | 6 +++---
sys/sys/file.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r a804802e3ed4 -r 0c88c54a129f sys/kern/kern_systrace.c
--- a/sys/kern/kern_systrace.c Tue Jul 16 16:39:12 2002 +0000
+++ b/sys/kern/kern_systrace.c Tue Jul 16 16:40:55 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_systrace.c,v 1.5 2002/07/02 16:22:28 thorpej Exp $ */
+/* $NetBSD: kern_systrace.c,v 1.6 2002/07/16 16:40:56 thorpej Exp $ */
/*
* Copyright 2002 Niels Provos <provos%citi.umich.edu@localhost>
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_systrace.c,v 1.5 2002/07/02 16:22:28 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_systrace.c,v 1.6 2002/07/16 16:40:56 thorpej Exp $");
#include "opt_systrace.h"
@@ -539,7 +539,7 @@
fst->issuser = 1;
fp->f_flag = FREAD | FWRITE;
- fp->f_type = DTYPE_SYSTRACE;
+ fp->f_type = DTYPE_MISC;
fp->f_ops = &systracefops;
fp->f_data = (caddr_t) fst;
diff -r a804802e3ed4 -r 0c88c54a129f sys/sys/file.h
--- a/sys/sys/file.h Tue Jul 16 16:39:12 2002 +0000
+++ b/sys/sys/file.h Tue Jul 16 16:40:55 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: file.h,v 1.32 2002/06/18 01:54:05 thorpej Exp $ */
+/* $NetBSD: file.h,v 1.33 2002/07/16 16:40:55 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -60,7 +60,7 @@
#define DTYPE_VNODE 1 /* file */
#define DTYPE_SOCKET 2 /* communications endpoint */
#define DTYPE_PIPE 3 /* pipe */
-#define DTYPE_SYSTRACE 5 /* systrace(1) communication channel */
+#define DTYPE_MISC 5 /* misc file descriptor type */
int f_type; /* descriptor type */
u_int f_count; /* reference count */
u_int f_msgcount; /* references from message queue */
Home |
Main Index |
Thread Index |
Old Index