Files
linux-stable-mirror/include/linux
Roland McGrath 64b1208d5b tracehook: TIF_NOTIFY_RESUME
This adds tracehook.h inlines to enable a new arch feature in support of
user debugging/tracing.  This is not used yet, but it lays the groundwork
for a debugger to be able to wrangle a task that's possibly running,
without interrupting its syscalls in progress.

Each arch should define TIF_NOTIFY_RESUME, and in their entry.S code treat
it much like TIF_SIGPENDING.  That is, it causes you to take the slow path
when returning to user mode, where you get the full user-mode state
accessible as for signal handling or ptrace.  The arch code should check
TIF_NOTIFY_RESUME after handling TIF_SIGPENDING.  When it's set, clear it
and then call tracehook_notify_resume().

In future, tracing code will call set_notify_resume() when it wants to get
a callback in tracehook_notify_resume().

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>
2008-07-26 12:00:09 -07:00
..
2008-07-25 10:53:30 -07:00
2008-07-24 13:32:56 +03:00
2008-07-24 10:47:24 -07:00
2008-07-24 10:47:33 -07:00
2008-07-24 10:47:33 -07:00
2008-07-25 10:53:33 -07:00
2008-07-22 17:30:57 -07:00
2008-07-24 10:47:29 -07:00
2008-07-24 10:47:41 -07:00
2008-07-26 12:00:06 -07:00
2008-07-25 10:53:48 -07:00
2008-07-25 10:53:30 -07:00
2008-07-23 15:25:21 +02:00
2008-07-25 10:53:42 -07:00
2008-07-25 10:53:39 -07:00
2008-07-25 10:53:29 -07:00
2008-07-25 10:53:29 -07:00
2008-07-26 12:00:04 -07:00
2008-07-24 10:47:17 -07:00
2008-07-23 09:49:56 +01:00
2008-07-24 10:47:41 -07:00
2008-07-25 10:53:40 -07:00
2008-07-26 12:00:05 -07:00
2008-07-24 10:47:24 -07:00
2008-07-25 10:53:34 -07:00
2008-07-25 10:53:29 -07:00
2008-07-26 12:00:06 -07:00
2008-07-26 12:00:03 -07:00
2008-07-24 11:50:15 -07:00
2008-07-25 10:53:48 -07:00
2008-07-25 10:53:44 -07:00
2008-07-26 12:00:08 -07:00
2008-07-25 10:53:29 -07:00
2008-07-25 10:53:29 -07:00
2008-07-24 10:47:33 -07:00
2008-07-26 12:00:09 -07:00
2008-07-24 10:47:22 -07:00
2008-07-25 10:53:42 -07:00
2008-07-24 08:31:21 -04:00
2008-07-24 10:47:24 -07:00
2008-07-25 10:53:30 -07:00
2008-07-26 12:00:09 -07:00
2008-07-22 13:03:28 -07:00
2008-07-22 13:03:27 -07:00
2008-07-24 10:47:14 -07:00
2008-07-25 10:53:40 -07:00