]> git.baikalelectronics.ru Git - kernel.git/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)
commitf1967b464a2b177a72c21db87b39052422afe0bf
tree3ed8de0ea6869fe17bec7689c493a2db02f73f4a
parent35660e2c4d96fd605207fa1618d13ac61a598e73
[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