]> err.no Git - linux-2.6/commit
[PATCH] NOMMU: Check that access_process_vm() has a valid target
authorDavid Howells <dhowells@redhat.com>
Wed, 27 Sep 2006 08:50:15 +0000 (01:50 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Sep 2006 15:26:14 +0000 (08:26 -0700)
commit0ec76a110f432e98277e464b82ace8dd66571689
tree3ed8de0ea6869fe17bec7689c493a2db02f73f4a
parent361f6ed1d00f666a1a7c33f3e9aaccb713f9b9e4
[PATCH] NOMMU: Check that access_process_vm() has a valid target

Check that access_process_vm() is accessing a valid mapping in the target
process.

This limits ptrace() accesses and accesses through /proc/<pid>/maps to only
those regions actually mapped by a program.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/ptrace.c
mm/memory.c
mm/nommu.c