procstat -b <PID>
PID COMM PATH
procstat: sysctl: kern.proc.pathname: <PID>: No such file or directory
for any PID
How-To-Repeat: procstat -b <PID>
where PID = some jail process ID
Looks like this has been fixed.
At least I can't reproduce the issue with a system based on 11-STABLE:
privoxy@privoxy-jail / $sysctl security.jail.jailed
privoxy@privoxy-jail / $procstat -b $(pgrep privoxy)
PID COMM OSREL PATH
72460 privoxy 1100509 /usr/local/sbin/privoxy
To submitter: does this problem still persist?
procstat -b <pid> works for me on 11.0p2 inside a jail.