Re: [PATCH 3/4] nsfs: add ioctl to get a parent namespace

2016-09-06 Thread Serge E. Hallyn
Quoting Andrei Vagin (ava...@openvz.org): > From: Andrey Vagin > > Pid and user namepaces are hierarchical. There is no way to discover > parent-child relationships. > > In a future we will use this interface to dump and restore nested > namespaces. > > Signed-off-by: Andrei

Re: [PATCH 3/4] nsfs: add ioctl to get a parent namespace

2016-09-06 Thread Serge E. Hallyn
Quoting Andrei Vagin (ava...@openvz.org): > From: Andrey Vagin > > Pid and user namepaces are hierarchical. There is no way to discover > parent-child relationships. > > In a future we will use this interface to dump and restore nested > namespaces. > > Signed-off-by: Andrei Vagin Acked-by:

[PATCH 3/4] nsfs: add ioctl to get a parent namespace

2016-09-06 Thread Andrei Vagin
From: Andrey Vagin Pid and user namepaces are hierarchical. There is no way to discover parent-child relationships. In a future we will use this interface to dump and restore nested namespaces. Signed-off-by: Andrei Vagin --- fs/nsfs.c |

[PATCH 3/4] nsfs: add ioctl to get a parent namespace

2016-09-06 Thread Andrei Vagin
From: Andrey Vagin Pid and user namepaces are hierarchical. There is no way to discover parent-child relationships. In a future we will use this interface to dump and restore nested namespaces. Signed-off-by: Andrei Vagin --- fs/nsfs.c | 4 include/linux/proc_ns.h |

[PATCH 3/4] nsfs: add ioctl to get a parent namespace

2016-08-26 Thread Andrei Vagin
From: Andrey Vagin Pid and user namepaces are hierarchical. There is no way to discover parent-child relationships. In a future we will use this interface to dump and restore nested namespaces. Signed-off-by: Andrei Vagin --- fs/nsfs.c |

[PATCH 3/4] nsfs: add ioctl to get a parent namespace

2016-08-26 Thread Andrei Vagin
From: Andrey Vagin Pid and user namepaces are hierarchical. There is no way to discover parent-child relationships. In a future we will use this interface to dump and restore nested namespaces. Signed-off-by: Andrei Vagin --- fs/nsfs.c | 4 include/linux/proc_ns.h |