git: Check required kvm(3) symbols before reading

Aaron LI aly at crater.dragonflybsd.org
Mon Oct 19 20:33:43 PDT 2026


commit 9f9d82be00ec9170de0a1cbfdbcc8da14d45fce4
Author: David Bidner <david at crap.solutions>
Date:   Tue Oct 6 06:32:17 2026 +0200

    Check required kvm(3) symbols before reading
    
    Check required symbols in dconschat, ipcs, netstat and legacy pstat TTY
    paths. Keep optional IPC subsystems usable. Check IPC reads and
    allocations before using their data.
    
    Use buffered IPC errors and report short reads explicitly instead of
    relying on an error buffer that may not describe the incomplete read.
    
    Bug: https://bugs.dragonflybsd.org/issues/3444

Summary of changes:
 usr.bin/ipcs/ipcs.c            | 67 ++++++++++++++++++++++++++++++++----------
 usr.bin/netstat/if.c           |  4 +++
 usr.bin/netstat/main.c         | 14 +++++++--
 usr.sbin/dconschat/dconschat.c |  2 +-
 usr.sbin/pstat/pstat.c         |  4 +++
 5 files changed, 72 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9f9d82be00ec9170de0a1cbfdbcc8da14d45fce4


-- 
DragonFly BSD source repository


More information about the Commits mailing list