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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 13 Jun 2026 01:04:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295893

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

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

commit b7280eba6324c203b5aeb87827ffcf7e9da7e467
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-07 07:28:29 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-06-13 00:58:38 +0000

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

    PR:     295893

    (cherry picked from commit 9f378397ee89044a4faec522916b50f0a164d62e)

 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.