SUNRPC: Use the client user namespace when encoding creds
authorTrond Myklebust <trondmy@gmail.com>
Wed, 24 Apr 2019 21:46:44 +0000 (17:46 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 26 Apr 2019 20:24:32 +0000 (16:24 -0400)
commit283ebe3ec4157c5cdc2581ed7e5c3764137f8fe5
treec595d3c0e71de0d85f268970a18cc25425fd9b13
parent1a58e8a0e5c1f188a80eb9e505bc77d78a31a4ec
SUNRPC: Use the client user namespace when encoding creds

When encoding AUTH_UNIX creds and AUTH_GSS upcalls, use the user namespace
of the process that created the rpc client.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/auth_unix.c