Clean up the kvm process code. This is only used when trying to get a
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 15 Aug 2007 19:37:52 +0000 (19:37 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 15 Aug 2007 19:37:52 +0000 (19:37 +0000)
commite42f5937defff1ae9a9744d9765364f4f9815739
tree797c99dff5a9f2b4cf1940c01407fe108031d9cb
parent38379828927a377ada85cd6b09f159934a2b7d1f
Clean up the kvm process code.  This is only used when trying to get a
process list out of a kernel core with 'ps'.  Many things had gone stale.

Also adjust the code to traverse the new LWP list.
lib/libkvm/kvm_proc.c