]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14815cb6dfaba13be6d2bab7c3a69b3cd54e6a27
treec595d3c0e71de0d85f268970a18cc25425fd9b13
parentf7ef0e19d65a482a2f3546087474ea3d3e0cc6bd
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