summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_private.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-09 04:42:51 +0000
committerpeter <peter@FreeBSD.org>1995-12-09 04:42:51 +0000
commit2e32505a556a745cfb1b3072490b507b550da5fa (patch)
treef2f4183cdba6f1c7f3d0312078ca00e799ab97b1 /lib/libkvm/kvm_private.h
parentf525350c683a3b2d7ea7efd96f6ed5f5a2cb5699 (diff)
downloadFreeBSD-src-2e32505a556a745cfb1b3072490b507b550da5fa.zip
FreeBSD-src-2e32505a556a745cfb1b3072490b507b550da5fa.tar.gz
Updates to read the extra indirection in ps_strings. Note that any
static executables that depend on this will need to be relinked (ie: do this before 'ps'), but the dynamic linked stuff should be OK (ie: 'w') Obtained from: NetBSD (not much point reinventing the wheel.. :-)
Diffstat (limited to 'lib/libkvm/kvm_private.h')
-rw-r--r--lib/libkvm/kvm_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libkvm/kvm_private.h b/lib/libkvm/kvm_private.h
index 5df73eb..92ab146 100644
--- a/lib/libkvm/kvm_private.h
+++ b/lib/libkvm/kvm_private.h
@@ -57,6 +57,7 @@ struct __kvm {
int arglen; /* length of the above */
char **argv; /* (dynamic) storage for argv pointers */
int argc; /* length of above (not actual # present) */
+ char *argbuf; /* (dynamic) temporary storage */
/*
* Kernel virtual address translation state. This only gets filled
* in for dead kernels; otherwise, the running kernel (i.e. kmem)
OpenPOWER on IntegriCloud