[Bug 272706] procstat(1): procstat vm in jails shows host paths of binaries and shared libraries from outside prison
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jul 2023 11:19:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272706 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.uk> --- (In reply to Elizabeth Myers from comment #2) Wait, are you saying that procstat executed from *outside* the jail shows the 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? -- You are receiving this mail because: You are the assignee for the bug.