Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add sysctl for generic properties.
details: https://anonhg.NetBSD.org/src/rev/a98b28b1a4b2
branches: trunk
changeset: 515785:a98b28b1a4b2
user: eeh <eeh%NetBSD.org@localhost>
date: Thu Oct 04 19:03:59 2001 +0000
description:
Add sysctl for generic properties.
diffstat:
sys/sys/sysctl.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 8fa36fdea463 -r a98b28b1a4b2 sys/sys/sysctl.h
--- a/sys/sys/sysctl.h Thu Oct 04 19:00:44 2001 +0000
+++ b/sys/sys/sysctl.h Thu Oct 04 19:03:59 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysctl.h,v 1.67 2001/07/27 21:19:09 thorpej Exp $ */
+/* $NetBSD: sysctl.h,v 1.68 2001/10/04 19:03:59 eeh Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -176,7 +176,8 @@
#define KERN_PIPE 56 /* node: pipe limits */
#define KERN_MAXPHYS 57 /* int: kernel value of MAXPHYS */
#define KERN_SBMAX 58 /* int: max socket buffer size */
-#define KERN_MAXID 59 /* number of valid kern ids */
+#define KERN_DB 59 /* node: kernel database */
+#define KERN_MAXID 60 /* number of valid kern ids */
#define CTL_KERN_NAMES { \
{ 0, 0 }, \
@@ -238,6 +239,7 @@
{ "pipe", CTLTYPE_NODE }, \
{ "maxphys", CTLTYPE_INT }, \
{ "sbmax", CTLTYPE_INT }, \
+ { "db", CLTYPE_NODE }, \
}
/*
Home |
Main Index |
Thread Index |
Old Index