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.