Scroll to navigation

ENUM UTRACE_SIGNAL_A(9) utrace core API ENUM UTRACE_SIGNAL_A(9)

NAME

enum_utrace_signal_action - disposition of signal

SYNOPSIS

enum utrace_signal_action {

UTRACE_SIGNAL_DELIVER,
UTRACE_SIGNAL_IGN,
UTRACE_SIGNAL_TERM,
UTRACE_SIGNAL_CORE,
UTRACE_SIGNAL_STOP,
UTRACE_SIGNAL_TSTP,
UTRACE_SIGNAL_REPORT,
UTRACE_SIGNAL_HANDLER };

CONSTANTS

UTRACE_SIGNAL_DELIVER

Deliver according to sigaction.

UTRACE_SIGNAL_IGN

Ignore the signal.

UTRACE_SIGNAL_TERM

Terminate the process.

UTRACE_SIGNAL_CORE

Terminate with core dump.

UTRACE_SIGNAL_STOP

Deliver as absolute stop.

UTRACE_SIGNAL_TSTP

Deliver as job control stop.

UTRACE_SIGNAL_REPORT

Reporting before pending signals.

UTRACE_SIGNAL_HANDLER

Reporting after signal handler setup.

DESCRIPTION

This is encoded in the action argument and the return value for a report_signal() callback. It says what will happen to the signal described by the siginfo_t parameter to the callback.

The UTRACE_SIGNAL_REPORT value is used in an action argument when a tracing report is being made before dequeuing any pending signal. If this is immediately after a signal handler has been set up, then UTRACE_SIGNAL_HANDLER is used instead. A report_signal callback that uses UTRACE_SIGNAL_DELIVER|UTRACE_SINGLESTEP will ensure it sees a UTRACE_SIGNAL_HANDLER report.

April 2023 Kernel Hackers Manual 2.6.