'\" t .\" Title: trace_signal_generate .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: SIGNAL .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "TRACE_SIGNAL_GENERAT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "SIGNAL" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" trace_signal_generate \- called when a signal is generated .SH "SYNOPSIS" .HP \w'void\ trace_signal_generate('u .BI "void trace_signal_generate(int\ " "sig" ", struct\ siginfo\ *\ " "info" ", struct\ task_struct\ *\ " "task" ", int\ " "group" ", int\ " "result" ");" .SH "ARGUMENTS" .PP \fIsig\fR .RS 4 signal number .RE .PP \fIinfo\fR .RS 4 pointer to struct siginfo .RE .PP \fItask\fR .RS 4 pointer to struct task_struct .RE .PP \fIgroup\fR .RS 4 shared or private .RE .PP \fIresult\fR .RS 4 TRACE_SIGNAL_* .RE .SH "DESCRIPTION" .PP Current process sends a \*(Aqsig\*(Aq signal to \*(Aqtask\*(Aq process with \*(Aqinfo\*(Aq siginfo\&. If \*(Aqinfo\*(Aq is SEND_SIG_NOINFO or SEND_SIG_PRIV, \*(Aqinfo\*(Aq is not a pointer and you can\*(Aqt 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\&. .SH "AUTHORS" .PP \fBJason Baron\fR <\&jbaron@redhat.com\&> .RS 4 Author. .RE .PP \fBWilliam Cohen\fR <\&wcohen@redhat.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br