Subject: changing libgtop2 to use kvm_getproc2()
To: None <pkgsrc-users@netbsd.org>
From: Blair Sadewitz <blair.sadewitz@gmail.com>
List: pkgsrc-users
Date: 02/11/2007 21:30:06
With the newlock2 merge, there are longer all of the needed data in
kinfo_proc.  I got it to build by using kvm_getproc2 instead in
sysdepds/freebsd/procsignal.c.  From reading the manpages, it seems
like kvm_getproc2 is intended to be used in this type of situation;
would it be a good idea to change all of sysdeps/freebsd to use it?

Regards,

--Blair

--
Support WFMU-FM: free-form radio for the masses!
<http://www.wfmu.org/>

"The frivolity and boredom which unsettle the established order, the
vague foreboding of something unknown, these are the heralds of
approaching change.  The gradual crumbling that left unaltered the the
face of the whole is cut short by a sunburst which, in one flash,
illuminates the features of the new world."  --G.W.F. Hegel,
_Phenomenology of Spirit_ 5:11