commit | 4df493a260d4c1844437b28009013d5dc408d0df | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trondmy@gmail.com> | Tue Apr 09 12:13:37 2019 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Apr 24 09:46:35 2019 -0400 |
tree | 82fe51b97a8743281bbf7d40cdbeef9af50614bf | |
parent | e333f3bbefe3e25e2bcff58063f920a2eaba224b [diff] |
SUNRPC: Cache the process user cred in the RPC server listener In order to be able to interpret uids and gids correctly in knfsd, we should cache the user namespace of the process that created the RPC server's listener. To do so, we refcount the credential of that process. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>