lkml.org 
[lkml]   [2011]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 8/9] x86: Implement strict user copy checks for x86_64

* Stephen Boyd <sboyd@codeaurora.org> wrote:

> Strict user copy checks are only really supported on x86_32 even
> though the config option is selectable on x86_64. Add the
> necessary support to the 64 bit code to trigger copy_from_user()
> warnings at compile time.
>
> Cc: x86@kernel.org
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
> arch/x86/include/asm/uaccess_64.h | 12 +++++++++---
> arch/x86/lib/usercopy_64.c | 6 ++++++
> 2 files changed, 15 insertions(+), 3 deletions(-)

Very nice!

Acked-by: Ingo Molnar <mingo@elte.hu>

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-05-13 12:19    [W:0.097 / U:7.804 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site