---
name: "trace_signal_generate"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/trace_signal_generate"
---

# trace\_signal\_generate(9)

called when a signal is generated

## NAME

trace\_signal\_generate - called when a signal is generated

## SYNOPSIS

**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\_\*

## DESCRIPTION

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.

## AUTHORS

**Jason Baron** \<jbaron@redhat.com\>

Author.

**William Cohen** \<wcohen@redhat.com\>

Author.

## COPYRIGHT
