userns: Implement sk_user_ns
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 24 May 2012 23:56:43 +0000 (17:56 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 15 Aug 2012 04:49:56 +0000 (21:49 -0700)
commitc336d148adc4181f31741ae066df41429be64b67
treeb1393fa0bd2782c4f41f14c6d1d4390b480057cf
parent3fbc290540a1ed1a8a076ed8f53bee7a38a9f408
userns: Implement sk_user_ns

Add a helper sk_user_ns to make it easy to find the user namespace
of the process that opened a socket.

Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
include/net/sock.h