]> 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)
commit2361f7655f4e53ed1ababd5a955f07e76f095805
treed0102989aaa56cbd39266f416042df50f754d997
parent8efae1b7bc893305ffbb364087e8edec13e9aa77
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