aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tracehook.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tracehook.h')
-rw-r--r--include/linux/tracehook.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/tracehook.h b/include/linux/tracehook.h
index 4c50e1b57349..43bc51b6bd33 100644
--- a/include/linux/tracehook.h
+++ b/include/linux/tracehook.h
@@ -423,6 +423,20 @@ static inline int tracehook_consider_fatal_signal(struct task_struct *task,
423} 423}
424 424
425/** 425/**
426 * tracehook_force_sigpending - let tracing force signal_pending(current) on
427 *
428 * Called when recomputing our signal_pending() flag. Return nonzero
429 * to force the signal_pending() flag on, so that tracehook_get_signal()
430 * will be called before the next return to user mode.
431 *
432 * Called with @current->sighand->siglock held.
433 */
434static inline int tracehook_force_sigpending(void)
435{
436 return 0;
437}
438
439/**
426 * tracehook_get_signal - deliver synthetic signal to traced task 440 * tracehook_get_signal - deliver synthetic signal to traced task
427 * @task: @current 441 * @task: @current
428 * @regs: task_pt_regs(@current) 442 * @regs: task_pt_regs(@current)