Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2026 18:40:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 295893] "procstat binary <pid>" returns 0 despite file not found after replacing binary
Message-ID:  <bug-295893-227-vOHNGGuOCI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295893-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295893

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
> Am I wrong in assuming this can be considered a bug?

I'd say the behaviour prior to kib's patch in D57493 is indeed a bug: the
program failed but did not return an error code. With the change exit probably
should be 0: `procstat binary` does report details about the binary, and that
the path is not available.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295893-227-vOHNGGuOCI>