]> err.no Git - linux-2.6/commit
tracehook: tracehook_expect_breakpoints
authorRoland McGrath <roland@redhat.com>
Sat, 26 Jul 2008 02:45:50 +0000 (19:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:09 +0000 (12:00 -0700)
commitfa8e26ccd485216fc45c8c2dd1ec3b7ef1a0a2f8
treeb6c3059593d7d185aaf7f5b69c363a48b18c5bb1
parent0d094efeb1e98010c6b99923f1eb7e17bf1e3a74
tracehook: tracehook_expect_breakpoints

This adds tracehook_expect_breakpoints() as a formal hook for the nommu
code to use for its, "Is text-poking likely?" check at mmap time.  This
names the actual semantics the code means to test, and documents it.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/tracehook.h
mm/nommu.c