summaryrefslogtreecommitdiffstats
path: root/scripts/module-common.lds
diff options
context:
space:
mode:
authorVincent Li2009-09-23 01:45:36 +0200
committerLinus Torvalds2009-09-23 16:39:40 +0200
commitfb92a4b068be96799da3748c11cbd69760e44d7b (patch)
treeda10040b94e5a0b83de42008c369aa7c3242c333 /scripts/module-common.lds
parentkcore: fix /proc/kcore's stat.st_size (diff)
downloadkernel-qcow2-linux-fb92a4b068be96799da3748c11cbd69760e44d7b.tar.gz
kernel-qcow2-linux-fb92a4b068be96799da3748c11cbd69760e44d7b.tar.xz
kernel-qcow2-linux-fb92a4b068be96799da3748c11cbd69760e44d7b.zip
fs/proc/task_mmu.c v1: fix clear_refs_write() input sanity check
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. Signed-off-by: Vincent Li <macli@brc.ubc.ca> Acked-by: David Rientjes <rientjes@google.com> Cc: Matt Mackall <mpm@selenic.com> Cc: Amerigo Wang <xiyou.wangcong@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/module-common.lds')
0 files changed, 0 insertions, 0 deletions