Date: Tue, 25 Jul 2023 11:19:41 +0000 From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 272706] procstat(1): procstat vm in jails shows host paths of binaries and shared libraries from outside prison Message-ID: <bug-272706-29815-5ykyCi4u3X@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-272706-29815@https.bugs.freebsd.org/bugzilla/> References: <bug-272706-29815@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272706 Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@tao11.riddles.org.uk --- Comment #3 from Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.u= k> --- (In reply to Elizabeth Myers from comment #2) Wait, are you saying that procstat executed from *outside* the jail shows t= he full paths (which is expected), or that procstat executed *inside* the jail shows the full paths (which I can't reproduce)? The code path at issue uses vn_fullpath which is sensitive to the root directory of the invoking process, i.e. procstat, not to that of the process being examined. If you're finding that procstat from *inside* the jail is showing the full path, can you show a complete session transcript including the jail creation and execution of the procstat command? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272706-29815-5ykyCi4u3X>