diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-01-07 02:16:34 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-01-07 02:16:34 +0000 |
commit | 31eb6c75007077404b61c0f544f4bd8cedbff5bd (patch) | |
tree | 2d56a2fa1d17ca9ca32cf4d2db0df397d5b0d79f /lib/libkvm/kvm_private.h | |
parent | fb432cea5dcf9e2d9074c37ea608738ca2713084 (diff) |
Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that use
the KERN_PROC2 sysctl. Based on changes from NetBSD but uses our
own kvm_arg_sysctl().
Diffstat (limited to 'lib/libkvm/kvm_private.h')
-rw-r--r-- | lib/libkvm/kvm_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_private.h b/lib/libkvm/kvm_private.h index 4b5cf8d262a..b05ac34f944 100644 --- a/lib/libkvm/kvm_private.h +++ b/lib/libkvm/kvm_private.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_private.h,v 1.8 2003/06/02 20:18:41 millert Exp $ */ +/* $OpenBSD: kvm_private.h,v 1.9 2004/01/07 02:16:33 millert Exp $ */ /* $NetBSD: kvm_private.h,v 1.7 1996/05/05 04:32:15 gwr Exp $ */ /*- @@ -51,6 +51,7 @@ struct __kvm { int swfd; /* swap file (e.g., /dev/drum) */ int nlfd; /* namelist file (e.g., /vmunix) */ struct kinfo_proc *procbase; + struct kinfo_proc2 *procbase2; int nbpg; /* page size */ char *swapspc; /* (dynamic) storage for swapped pages */ char *argspc, *argbuf; /* (dynamic) storage for argv strings */ |