trace_signal_generate(9)

trace_signal_generate9

Called when a signal is generated

Usage

void trace_signal_generate(int sig, struct siginfo * info, struct task_struct * task, int group, int result);

Arguments

sig

signal number

info

pointer to struct siginfo

task

pointer to struct task_struct

group

shared or private

result

TRACE_SIGNAL_*

Overview

Current process sends a 'sig' signal to 'task' process with 'info' siginfo. If 'info' is SEND_SIG_NOINFO or SEND_SIG_PRIV, 'info' is not a pointer and you can't access its field. Instead, SEND_SIG_NOINFO means that si_code is SI_USER, and SEND_SIG_PRIV means that si_code is SI_KERNEL.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

Authors

Jason Baron <[email protected]>

Author.

William Cohen <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.