[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141129111851.6945913b@urahara>
Date: Sat, 29 Nov 2014 11:18:51 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Vadim Kochan <vadim4j@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] ip netns: Identify netns for the current
process
On Fri, 7 Nov 2014 18:25:30 +0200
Vadim Kochan <vadim4j@...il.com> wrote:
> As 'ip' util will share the same netns from the caller
> process then we can just look at /proc/self/.. to show
> the netns of the current process by:
>
> ip netns id
>
> Signed-off-by: Vadim Kochan <vadim4j@...il.com>
Useful, applied.
--
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