Date: Tue, 25 Jul 2023 15:08:02 +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-RnlJPauZKp@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 --- Comment #4 from Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.u= k> --- (In reply to Andrew "RhodiumToad" Gierth from comment #3) I think I figured this one out, it happens when nullmounts are involved, ev= en if the jail's root directory is not itself the mountpoint of a nullmount. e.g. mkdir /some/dir mount -t nullfs /path/to/real/jail/tree /some/dir jail -c path=3D/some/dir/somejail at this point, executing procstat (or possibly other vn_fullpath clients) inside the jail returns paths based on /path/to/real/jail/tree/somejail (and not /some/dir/somejail). --=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-RnlJPauZKp>