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