commit | 7b4d5b8b39fd3701ed3693a89f2bd8f6ef49bce2 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Wed Sep 27 01:50:18 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Sep 27 08:26:14 2006 -0700 |
tree | b1741de6753ec41a45a7b69276eeccb1bcb3e46d | |
parent | 910e46da4b4e93d56ffea318c64afa41868d5e6d [diff] |
[PATCH] NOMMU: Check VMA protections Check the VMA protections in get_user_pages() against what's being asked. This checks to see that we don't accidentally write on a non-writable VMA or permit an I/O mapping VMA to be accessed (which may lack page structs). Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>