kernel-ark/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
gss_krb5_crypto.c
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
gss_krb5_unseal.c
gss_krb5_wrap.c
gss_mech_switch.c
gss_spkm3_mech.c
gss_spkm3_seal.c
gss_spkm3_token.c
gss_spkm3_unseal.c
Makefile
svcauth_gss.c