Re: Private namespaces

From: Florin Iucha (florin@iucha.net)
Date: Sat Apr 19 2003 - 09:52:39 EST


On Wed, Apr 16, 2003 at 03:23:24PM +0200, Andries Brouwer wrote:
> On Mon, May 05, 2003 at 10:23:56AM -0300, Adrian Etchevarne wrote:
>
> > I've been looking for instructions to use private namespaces in Linux,
> > without results. Can anyone tell where is the documentation about it?
> > (I'm not refering to chroot(), but to /proc/<pid>/mounts). Or the proper
> > files in the kernel sources?
>
> A tiny demo program is given in
> http://www.win.tue.nl/~aeb/linux/lk/lk-6.html#ss6.3.3
>
> In the kernel source, grep for CLONE_NEWNS.

I have compiled the sample program on 2.5.67-pre6 and it fails with
   clone: Cannot allocate memory
when run as a regular user. Is there a workaround?

Thank you,
florin

-- 

"NT is to UNIX what a doughnut is to a particle accelerator."


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:25 EST