[Bug 295893] "procstat binary <pid>" returns 0 despite file not found after replacing binary

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Jun 2026 20:15:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295893

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=9f378397ee89044a4faec522916b50f0a164d62e

commit 9f378397ee89044a4faec522916b50f0a164d62e
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-07 07:28:29 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-06-08 20:14:20 +0000

    procstat binary: do not skip pid if either path or osrel sysctls failed

    PR:     295893
    Reviewed by:    emaste
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D57493

 usr.bin/procstat/procstat_bin.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.