Thread (2 messages) flat view 2 messages, 2 authors, 2003-08-12
STALE8414d

[PATCH] Duplicate access_ok in sunrpc

From: <hidden>
Date: 2003-08-11 16:48:57

Already checked some lines above.

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/net/sunrpc/sysctl.c linux-2.5/net/sunrpc/sysctl.c
--- bk-linus/net/sunrpc/sysctl.c	2003-06-30 14:01:04.000000000 +0100
+++ linux-2.5/net/sunrpc/sysctl.c	2003-06-30 16:04:03.000000000 +0100
@@ -102,7 +102,7 @@ proc_dodebug(ctl_table *table, int write
 		len = sprintf(tmpbuf, "%d", *(unsigned int *) table->data);
 		if (len > left)
 			len = left;
-		copy_to_user(buffer, tmpbuf, len);
+		__copy_to_user(buffer, tmpbuf, len);
 		if ((left -= len) > 0) {
 			put_user('\n', (char *)buffer + len);
 			left--;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help