Re: [PATCH review 48/85] sunrpc: Update gss uid to security context mapping.

2013-02-13 Thread J. Bruce Fields
On Wed, Feb 13, 2013 at 01:17:37PM -0800, Eric W. Biederman wrote: > "J. Bruce Fields" writes: > > > On Wed, Feb 13, 2013 at 09:51:37AM -0800, Eric W. Biederman wrote: > >> From: "Eric W. Biederman" > >> > >> - Use from_kuid when generating the on the wire uid values. > >> - Use make_kuid when

Re: [PATCH review 48/85] sunrpc: Update gss uid to security context mapping.

2013-02-13 Thread Eric W. Biederman
"J. Bruce Fields" writes: > On Wed, Feb 13, 2013 at 09:51:37AM -0800, Eric W. Biederman wrote: >> From: "Eric W. Biederman" >> >> - 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_upc

Re: [PATCH review 48/85] sunrpc: Update gss uid to security context mapping.

2013-02-13 Thread J. Bruce Fields
On Wed, Feb 13, 2013 at 09:51:37AM -0800, Eric W. Biederman wrote: > From: "Eric W. Biederman" > > - 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 t

[PATCH review 48/85] sunrpc: Update gss uid to security context mapping.

2013-02-13 Thread Eric W. Biederman
From: "Eric W. Biederman" - 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