diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-06-08 23:16:04 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-06-08 23:16:04 +0000 |
commit | bfb4b7b2960e3f22e4c047b03ed3afbb8f9b9d29 (patch) | |
tree | 41765542209558b52c1103f3e75d9f2f76ff1411 /sys | |
parent | 48be54f4363aaba08468ff7558fb78cc8edc2353 (diff) |
Add KERN_NFILES, and procargs entry.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/sysctl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 85a58f1e23e..13adc395d41 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.h,v 1.50 2002/06/08 22:24:47 art Exp $ */ +/* $OpenBSD: sysctl.h,v 1.51 2002/06/08 23:16:03 angelos Exp $ */ /* $NetBSD: sysctl.h,v 1.16 1996/04/09 20:55:36 cgd Exp $ */ /* @@ -169,7 +169,8 @@ struct ctlname { #define KERN_CRYPTODEVALLOWSOFT 53 /* int: cryptodevallowsoft */ #define KERN_SPLASSERT 54 /* int: splassert */ #define KERN_PROC_ARGS 55 /* node: proc args and env */ -#define KERN_MAXID 56 /* number of valid kern ids */ +#define KERN_NFILES 56 /* int: number of open files */ +#define KERN_MAXID 57 /* number of valid kern ids */ #define CTL_KERN_NAMES { \ { 0, 0 }, \ @@ -227,6 +228,8 @@ struct ctlname { { "usercrypto", CTLTYPE_INT }, \ { "cryptodevallowsoft", CTLTYPE_INT }, \ { "splassert", CTLTYPE_INT }, \ + { "procargs", CTLTYPE_NODE }, \ + { "nfiles", CTLTYPE_INT }, \ } /* |