]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: Properly encode kuids and kgids in RPC_AUTH_UNIX credentials
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 2 Feb 2013 10:45:08 +0000 (02:45 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Feb 2013 14:15:24 +0000 (06:15 -0800)
commit0ef49743909214719cdfdd0ba3bdc2e1dd92e739
treed0102989aaa56cbd39266f416042df50f754d997
parentbe4deca29c80f69459d3a4e593a371839f1e54a8
sunrpc: Properly encode kuids and kgids in RPC_AUTH_UNIX credentials

When writing kuids onto the wire first map them into the initial user
namespace.

When writing kgids onto the wire first map them into the initial user
namespace.

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/auth_unix.c