diff options
author | 2002-06-08 23:16:03 +0000 | |
---|---|---|
committer | 2002-06-08 23:16:03 +0000 | |
commit | 9c83ab3ffec76c546f1b9131f4ab3b8f0f366aac (patch) | |
tree | 4276687b28eeb4fa790e973b4e90de7681d09d59 | |
parent | use consistent style in function declarations (diff) | |
download | wireguard-openbsd-9c83ab3ffec76c546f1b9131f4ab3b8f0f366aac.tar.xz wireguard-openbsd-9c83ab3ffec76c546f1b9131f4ab3b8f0f366aac.zip |
Add KERN_NFILES, and procargs entry.
-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 }, \ } /* |