Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <akpm@...>, <linux-fsdevel@...>, <linux-kernel@...>, <util-linux-ng@...>, <viro@...>, <hch@...>, <a.p.zijlstra@...>
Date: Monday, January 21, 2008 - 3:48 pm

Miklos,

	You have removed the code that checked if the peer or
	master mount was in the same namespace before reporting their
	corresponding mount-ids. One downside of that approach is the
	user will see an mount_id in the output with no corresponding
	line to explain the details of the mount_id.  

	And reporting the mount-id of a mount is some other namespace
	could subtly mean information-leak?


	One other comment I had received offline from Steve French was
	that the patch did not consider the following case:

	"Have you thought about whether this could handle the case in which cifs mounts with 
	a relative path e.g. currently
         	mount -t cifs //server/share /mnt

	can not be distinguished from
        	mount -t cifs //server/share/subdirectory /mnt

	when you run the mount command (ie the cifs "prefixpath" in this case 
	"/subdirectory" is not displayed)"


thanks for driving this patch further and sorry; have not been active on this work for a while,
RP


On Sat, 2008-01-19 at 12:05 +0100, Miklos Szeredi wrote:

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Sat Jan 19, 7:05 am)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo, Ram Pai, (Mon Jan 21, 3:48 pm)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Mon Jan 21, 5:25 pm)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Mon Jan 21, 6:09 pm)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Serge E. Hallyn, (Tue Jan 22, 4:56 pm)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Jan Engelhardt, (Sun Jan 20, 7:20 am)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Sun Jan 20, 8:20 am)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, H. Peter Anvin, (Sun Jan 20, 1:41 am)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Sun Jan 20, 4:23 am)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, H. Peter Anvin, (Wed Jan 23, 3:02 pm)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Wed Jan 23, 3:32 pm)