diff options
author | David Howells <dhowells@redhat.com> | 2006-09-27 01:50:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 08:26:14 -0700 |
commit | 7b4d5b8b39fd3701ed3693a89f2bd8f6ef49bce2 (patch) | |
tree | b1741de6753ec41a45a7b69276eeccb1bcb3e46d /mm/page_io.c | |
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>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions