lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 04 Oct 2010 12:07:58 -0700
From: (Eric W. Biederman)
Cc:	Daniel Lezcano <>,
	Pavel Emelyanov <>,,
	Linux Containers <>,,,,
	Linus Torvalds <>,
	Michael Kerrisk <>,
	Ulrich Drepper <>,
	Al Viro <>,
	David Miller <>,
	"Serge E. Hallyn" <>,
	Pavel Emelyanov <>,
	Ben Greear <>,
	Matt Helsley <>,
	Jonathan Corbet <>,
	Sukadev Bhattiprolu <>,
	Jan Engelhardt <>,
	Patrick McHardy <>
Subject: Re: [PATCH 8/8] net: Implement socketat.

jamal <> writes:

> One thing still confuses me...
> The app control point is in namespace0. I still want to be able to
> "boot" namespaces first and maybe a few seconds later do a socketat()...
> and create devices, tcp sockets etc. I suspect create_ns(namespace-name)
> would involve:
>      * open /proc/self/ns/net (namespace-name)
>      * unshare the netns
> Is this correct?


create should be:
        * verify namespace-name is not already in use
        * mkdir -p /var/run/netns/<namespace-name>
	* unshare the netns
        * mount --bind /proc/self/ns/net /var/run/netns/<namespace-name>

Are you talking about an replacing something that used to use the linux
vrf patches that are floating around?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists