lists.openwall.net   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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 12 Mar 2015 09:48:33 -0700
From:	Cong Wang <cwang@...pensource.com>
To:	Vadim Kochan <vadim4j@...il.com>
Cc:	netdev <netdev@...r.kernel.org>
Subject: Re: iproute2: ip netns: Do not delete netns if there any process use it

On Thu, Mar 12, 2015 at 1:31 AM, Vadim Kochan <vadim4j@...il.com> wrote:
> On Wed, Mar 11, 2015 at 10:07:50AM -0700, Cong Wang wrote:
>>
>> It is your responsibility to track the processes you put into the netns.
> Yes.
>
> I just was thinking that there is no reason to delete netns file
> when there are the processes that uses this netns, so some kind of safe
> validation would be helpful.

Deleting that bind mount file is just decreasing the refcount.
Essentially netns doesn't even have a name.

>
> But if no one think that it can be the right think then may be at least
> adding some explanation about this in ip-netns man page would be helpful.
>

Its name is gone, but it still exists as anonymous until the last reference
is gone.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ