aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sysctl.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-02-24 14:32:53 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-02-24 14:32:53 +0000
commit99ac3bc8daec20f7a937487362d15fdf922d8008 (patch)
tree95dad9b27f9127e83a32836c512b915493b4cd94 /sys/sys/sysctl.h
parentd2165a8da6b2f15a6a8aa3c806e9df076556aa75 (diff)
downloadsrc-99ac3bc8daec20f7a937487362d15fdf922d8008.tar.gz
src-99ac3bc8daec20f7a937487362d15fdf922d8008.zip
Add two sysctl variables that can be read by libutil and libkvm so that
they can adapt to simple kernel VM layout changes.
Notes
Notes: svn path=/head/; revision=14235
Diffstat (limited to 'sys/sys/sysctl.h')
-rw-r--r--sys/sys/sysctl.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index 4d6288797fc6..fc52c899e69c 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)sysctl.h 8.1 (Berkeley) 6/2/93
- * $Id: sysctl.h,v 1.38 1995/12/09 20:46:06 phk Exp $
+ * $Id: sysctl.h,v 1.39 1995/12/17 21:11:12 phk Exp $
*/
#ifndef _SYS_SYSCTL_H_
@@ -221,7 +221,9 @@ int sysctl_handle_opaque SYSCTL_HANDLER_ARGS;
#define KERN_DUMPDEV 29 /* dev_t: device to dump on */
#define KERN_SOMAXCONN 30 /* int: max connections in listen q */
#define KERN_MAXSOCKBUF 31 /* int: max size of a socket buffer */
-#define KERN_MAXID 32 /* number of valid kern ids */
+#define KERN_PS_STRINGS 32 /* int: address of PS_STRINGS */
+#define KERN_USRSTACK 33 /* int: address of USRSTACK */
+#define KERN_MAXID 34 /* number of valid kern ids */
#define CTL_KERN_NAMES { \
{ 0, 0 }, \
@@ -256,6 +258,8 @@ int sysctl_handle_opaque SYSCTL_HANDLER_ARGS;
{ "dumpdev", CTLTYPE_STRUCT }, /* we lie; don't print as int */ \
{ "somaxconn", CTLTYPE_INT }, \
{ "maxsockbuf", CTLTYPE_INT }, \
+ { "ps_strings", CTLTYPE_INT }, \
+ { "usrstack", CTLTYPE_INT }, \
}
/*