android_kernel_motorola_sm6225/net/sunrpc/auth_gss
Chuck Lever 7df089952f SUNRPC: Fix use of copy_to_user() in gss_pipe_upcall()
The gss_pipe_upcall() function expects the copy_to_user() function to
return a negative error value if the call fails, but copy_to_user()
returns an unsigned long number of bytes that couldn't be copied.

Can rpc_pipefs actually retry a partially completed upcall read?  If
not, then gss_pipe_upcall() should punt any partial read, just like the
upcall logic in net/sunrpc/cache.c.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-01-30 02:06:00 -05:00
..
auth_gss.c SUNRPC: Fix use of copy_to_user() in gss_pipe_upcall() 2008-01-30 02:06:00 -05:00
gss_generic_token.c [NET] SUNRPC: Fix whitespace errors. 2007-02-10 23:20:13 -08:00
gss_krb5_crypto.c [SG] Get rid of __sg_mark_end() 2007-11-02 08:47:06 +01:00
gss_krb5_mech.c sunrpc: return error if unsupported enctype or cksumtype is encountered 2007-11-17 13:08:46 -05:00
gss_krb5_seal.c sunrpc: return error if unsupported enctype or cksumtype is encountered 2007-11-17 13:08:46 -05:00
gss_krb5_seqnum.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
gss_krb5_unseal.c SUNRPC: fix print format for tk_pid in auth_gss support 2007-02-03 15:35:09 -08:00
gss_krb5_wrap.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
gss_mech_switch.c knfsd: nfsd4: store pseudoflavor in request 2007-07-17 10:23:07 -07:00
gss_spkm3_mech.c knfsd: rpc: add gss krb5 and spkm3 oid values 2007-07-17 10:23:08 -07:00
gss_spkm3_seal.c [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
gss_spkm3_token.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
gss_spkm3_unseal.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
Makefile RPCSEC_GSS: Add support for privacy to krb5 rpcsec_gss mechanism. 2005-10-18 23:19:46 -07:00
svcauth_gss.c svcgss: move init code into separate function 2007-10-09 18:31:57 -04:00