patch-2.4.0-test10 linux/net/sunrpc/auth_null.c

Next file: linux/net/sunrpc/svcsock.c
Previous file: linux/net/sunrpc/auth.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/net/sunrpc/auth_null.c linux/net/sunrpc/auth_null.c
@@ -54,6 +54,7 @@
 		return NULL;
 	cred->cr_count = 0;
 	cred->cr_flags = RPCAUTH_CRED_UPTODATE;
+	cred->cr_uid = current->uid;
 
 	return cred;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)