NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/45700: /chroot/proc/mounts exposes out-of-chroot pathnames
The following reply was made to PR kern/45700; it has been noted by GNATS.
From: Taylor R Campbell <campbell%mumble.net@localhost>
To: matthew green <mrg%eterna.com.au@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, Taylor R Campbell
<campbell+netbsd%mumble.net@localhost>
Subject: Re: kern/45700: /chroot/proc/mounts exposes out-of-chroot pathnames
Date: Fri, 9 Dec 2011 09:54:36 +0000
Date: Fri, 9 Dec 2011 09:05:04 +0000 (UTC)
From: matthew green <mrg%eterna.com.au@localhost>
df(1) gets this right. hopefully we can use what ever it does
to fix this one...
Might work just to make procfs_domounts use dostatvfs rather than
reading from mp->mnt_stat directly. I'll look into this at some point
if nobody beats me to it.
Home |
Main Index |
Thread Index |
Old Index