Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2026 19:05:31 +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-vDcm98dMuj@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

--- Comment #3 from Eirik Oeverby <ltning-freebsd@anduin.net> ---
(In reply to Ed Maste from comment #2)

Thanks, I had not had time to see/comment on the review.

I'm relying on the (old) behaviour in order to detect whether a running process
matches the on-disk binary. With this change, can I still do so (i.e. if the
binary is `-`)? Is there a better way to achieve what I am after, preferably
something that gives a non-zero exit code if the two don't match?

-- 
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-vDcm98dMuj>