sunrpc: Properly decode kuids and kgids in RPC_AUTH_UNIX credentials
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 2 Feb 2013 11:03:04 +0000 (03:03 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:26 +0000 (06:15 -0800)
commitf025adf191924e3a75ce80e130afcd2485b53bb8
tree5cb0782640600a5df5ea067943ce77bffddcecf4
parent25da9263710ec94c964259c79fa9a3a635cd3a50
sunrpc: Properly decode kuids and kgids in RPC_AUTH_UNIX credentials

When reading kuids from the wire map them into the initial user
namespace, and validate the mapping succeded.

When reading kgids from the wire map them into the initial user
namespace, and validate the mapping succeded.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
net/sunrpc/svcauth_unix.c