lkml.org 
[lkml]   [2008]   [Mar]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 5/7] vfs: mountinfo: allow using process root
FromMiklos Szeredi <>
DateFri, 28 Mar 2008 09:59:22 +0100
> On Thu, Mar 27, 2008 at 01:06:24PM +0100, Miklos Szeredi wrote:
> > From: Miklos Szeredi <mszeredi@suse.cz>
> > 
> > Allow /proc/<pid>/mountinfo to use the root of <pid> to calculate
> > mountpoints.
> > 
> >  - move definition of 'struct proc_mounts' to <linux/mnt_namespace.h>
> >  - add the process's namespace and root to this structure
> >  - pass a pointer to 'struct proc_mounts' into seq_operations
> 
> NB: we might want to collect that stuff in one place.  Sharing details
> between proc/base and namespace is not nice and it just got more hairy.

OK.  It needs to be in namespace.c because of namespace_sem.

Miklos


\
 
 \ /
  Last update: 2008-03-28 10:01    [from the cache]
©2003-2008