git: DragonFly_RELEASE_6_4 libkvm(3): clear failed lookups and report lookup errors
Aaron LI
aly at crater.dragonflybsd.org
Thu Nov 12 23:21:42 PST 2026
commit ddb5cfc3c21168a9f6d876b36fe16b397e811f39
Author: David Bidner <david at crap.solutions>
Date: Tue Oct 6 06:32:17 2026 +0200
libkvm(3): clear failed lookups and report lookup errors
Clear requested symbol results before lookup. Keep the live failure
count and continue looking up later entries. Report lookup errors
without relying on the last errno, and preserve table errors in internal
callers.
Bug: https://bugs.dragonflybsd.org/issues/3444
Summary of changes:
lib/libkvm/kvm.c | 49 ++++++++++++++++++++++++++++++++-------------
lib/libkvm/kvm_file.c | 9 ++++++---
lib/libkvm/kvm_getloadavg.c | 17 +++++++++++-----
lib/libkvm/kvm_nlist.3 | 15 ++++++++++++--
lib/libkvm/kvm_proc.c | 20 ++++++++++++------
5 files changed, 80 insertions(+), 30 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ddb5cfc3c21168a9f6d876b36fe16b397e811f39
--
DragonFly BSD source repository
More information about the Commits
mailing list