diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-02 00:25:43 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-13 06:15:21 -0800 |
commit | 90602c7b192fdd3e6b7c7623479f4bc86ed7ee34 (patch) | |
tree | 2f313b2bc00993566af1dd56e854bf319f4c9c55 /virt | |
parent | e572fc739822ad779493b8a72bd27f2101fc3373 (diff) | |
download | op-kernel-dev-90602c7b192fdd3e6b7c7623479f4bc86ed7ee34.zip op-kernel-dev-90602c7b192fdd3e6b7c7623479f4bc86ed7ee34.tar.gz |
sunrpc: Update gss uid to security context mapping.
- Use from_kuid when generating the on the wire uid values.
- Use make_kuid when reading on the wire values.
In gss_encode_v0_msg, since the uid in gss_upcall_msg is now a kuid_t
generate the necessary uid_t value on the stack copy it into
gss_msg->databuf where it can safely live until the message is no
longer needed.
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions