diff options
author | Sonic Zhang <sonic.adi@gmail.com> | 2006-09-27 01:50:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 08:26:14 -0700 |
commit | 910e46da4b4e93d56ffea318c64afa41868d5e6d (patch) | |
tree | 67f7dd9086dcf456101c843a1e310e7090a590db /Makefile | |
parent | [PATCH] NOMMU: Use find_vma() rather than reimplementing a VMA search (diff) | |
download | linux-dev-910e46da4b4e93d56ffea318c64afa41868d5e6d.tar.xz linux-dev-910e46da4b4e93d56ffea318c64afa41868d5e6d.zip |
[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 <sonic.adi@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions