tracehook_consider_fatal_signal

Langue: en

Autres versions - même langue

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

tracehook_consider_fatal_signal - suppress special handling of fatal signal

SYNOPSIS

int tracehook_consider_fatal_signal(struct task_struct * task, int sig, void __user * handler);

ARGUMENTS

task

task receiving the signal

sig

signal number being sent

handler


SIG_DFL or SIG_IGN

DESCRIPTION

Return nonzero to prevent special handling of this termination signal. Normally handler is SIG_DFL. It can be SIG_IGN if sig is ignored, in which case force_sig is about to reset it to SIG_DFL. When this returns zero, this signal might cause a quick termination that does not give the debugger a chance to intercept the signal.

Called with or without task->sighand->siglock held.