[PATCH] Duplicate access_ok in sunrpc

STALE8413d

2 messages, 2 authors, 2003-08-12 · open the first message on its own page

[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--;

Re: [PATCH] Duplicate access_ok in sunrpc

From: David S. Miller <hidden>
Date: 2003-08-12 05:30:36

On Mon, 11 Aug 2003 17:48:57 +0100
davej@redhat.com wrote:
Already checked some lines above.
Applied, thanks David.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help