[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1JfAQk-0000fo-Mi@pomaz-ex.szeredi.hu>
Date: Fri, 28 Mar 2008 09:59:22 +0100
From: Miklos Szeredi <miklos@...redi.hu>
To: viro@...IV.linux.org.uk
CC: miklos@...redi.hu, akpm@...ux-foundation.org, linuxram@...ibm.com,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [patch 5/7] vfs: mountinfo: allow using process root
> On Thu, Mar 27, 2008 at 01:06:24PM +0100, Miklos Szeredi wrote:
> > From: Miklos Szeredi <mszeredi@...e.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists