]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8fe78789ee73bc549eb9ff2584775b2d27558945
tree5cb0782640600a5df5ea067943ce77bffddcecf4
parentd48eacb6cc9546da706ea01026701f7075cbf8da
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