[PATCH] uml: __user annotation in arch_prctl
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 4 Jun 2006 09:51:47 +0000 (02:51 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 5 Jun 2006 19:29:17 +0000 (12:29 -0700)
commitca34fb1a8786af43457ec4f1bfc101a66d1160e0
tree25f1dab28aac5ef132e8f35ac9cca940eb89d2bc
parentf218312582350900443125137e6c5fc484dc1de1
[PATCH] uml: __user annotation in arch_prctl

From: Al Viro <viro@zeniv.linux.org.uk>

fix uml/amd64 prctl()

put_user() there should go to (long __user *)addr, not &addr

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/sys-x86_64/syscalls.c