Thread (13 messages) 13 messages, 3 authors, 2008-03-30

Re: [patch 5/7] vfs: mountinfo: allow using process root

From: Al Viro <viro@ZenIV.linux.org.uk>
Date: 2008-03-28 02:09:16
Also in: lkml

On Thu, Mar 27, 2008 at 01:06:24PM +0100, Miklos Szeredi wrote:
From: Miklos Szeredi <redacted>

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help