From: Sonic Zhang Date: Wed, 27 Sep 2006 08:50:17 +0000 (-0700) Subject: [PATCH] Check if start address is in vma region in NOMMU function get_user_pages() X-Git-Tag: v2.6.19-rc1~955 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=910e46da4b4e93d56ffea318c64afa41868d5e6d;p=pandora-kernel.git [PATCH] Check if start address is in vma region in NOMMU function get_user_pages() In NOMMU arch, if run "cat /proc/self/mem", data from physical address 0 are read. This behavior is different from MMU arch. In IA32, message "cat: /proc/self/mem: Input/output error" is reported. This issue is rootcaused by not validate the start address in NOMMU function get_user_pages(). Following patch solves this issue. Signed-off-by: Sonic Zhang Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed