]> 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)
commitfdc4495ec515eec29f35188d05b7e03b169ba8c3
treec595d3c0e71de0d85f268970a18cc25425fd9b13
parent616aedaf3f877e3060861adfd0c728f3cdaa420b
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