perf/x86: Check user address explicitly in copy_from_user_nmi()
authorArun Sharma <asharma@fb.com>
Fri, 20 Apr 2012 22:41:36 +0000 (15:41 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Jun 2012 15:08:04 +0000 (17:08 +0200)
commitdb0dc75d6403b6663c0eab4c6ccb672eb9b2ed72
tree9c23cf7df8683a3c54bd7f074ceef16712aa7272
parentbc6ca7b342d5ae15c3ba3081fd40271b8039fb25
perf/x86: Check user address explicitly in copy_from_user_nmi()

Signed-off-by: Arun Sharma <asharma@fb.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1334961696-19580-5-git-send-email-asharma@fb.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/lib/usercopy.c