lkml.org 
[lkml]   [2009]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fs/proc/task_mmu.c v1: fix clear_refs_write() input sanity check
On Wed, 12 Aug 2009, Vincent Li wrote:

> v1 fix the compiling errors and keep the type variable name.
>
> Andrew Morton pointed out similar string hacking and obfuscated check for zero-length input
> at the end of the function, David Rientjes suggested to use strict_strtol to replace
> simple_strtol, this patch cover above suggestions, add removing of leading and trailing
> whitespace from user input. It does not change function behavious.
>
> This patch is rebased on mmotm-2009-08-04-14-22.
>
> Signed-off-by: Vincent Li <macli@brc.ubc.ca>

Acked-by: David Rientjes <rientjes@google.com>


\
 
 \ /
  Last update: 2009-08-13 10:39    [W:0.049 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site