On Mon, Apr 23, 2012 at 08:28:43AM +0200, Guillem Jover wrote:
> If outside a chroot both mountinfo files will be equal and as such the
> / mount ID will be equal, if inside a chroot /proc/self/mountinfo will
> either have no entry for / or will have an entry (if it's a distinct
> mount point) but will have a different mount ID from the one in PID 1.

Great, so we can compare those two and fall back to needing root
if /proc isn't mounted within the chrot.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to