prevent kprobes from catching spurious page faults
authorMasami Hiramatsu <mhiramat@redhat.com>
Thu, 5 Feb 2009 22:12:39 +0000 (17:12 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Feb 2009 01:01:50 +0000 (17:01 -0800)
commit9be260a646bf76fa418ee519afa10196b3164681
tree8d829aa2c36cc81b62f9fbe36da83a3f89626db5
parent767b5828ad9a1b435488b5d39b5a66aeef4d25e4
prevent kprobes from catching spurious page faults

Prevent kprobes from catching spurious faults which will cause infinite
recursive page-fault and memory corruption by stack overflow.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: <stable@kernel.org> [2.6.28.x]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/fault.c