android_kernel_xiaomi_sm8350/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 [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
gss_krb5_unseal.c
gss_krb5_wrap.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
gss_mech_switch.c
gss_spkm3_mech.c
gss_spkm3_seal.c [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
gss_spkm3_token.c
gss_spkm3_unseal.c
Makefile
svcauth_gss.c svcgss: move init code into separate function 2007-10-09 18:31:57 -04:00