1TRACE_SIGNAL_GENERAT(9) SIGNAL TRACE_SIGNAL_GENERAT(9)
2
3
4
6 trace_signal_generate - called when a signal is generated
7
9 void trace_signal_generate(int sig, struct siginfo * info,
10 struct task_struct * task, int group,
11 int result);
12
14 sig
15 signal number
16
17 info
18 pointer to struct siginfo
19
20 task
21 pointer to struct task_struct
22
23 group
24 shared or private
25
26 result
27 TRACE_SIGNAL_*
28
30 Current process sends a ´sig´ signal to ´task´ process with ´info´
31 siginfo. If ´info´ is SEND_SIG_NOINFO or SEND_SIG_PRIV, ´info´ is not a
32 pointer and you can´t access its field. Instead, SEND_SIG_NOINFO means
33 that si_code is SI_USER, and SEND_SIG_PRIV means that si_code is
34 SI_KERNEL.
35
37 Jason Baron <jbaron@redhat.com>
38 Author.
39
41Kernel Hackers Manual 2.6. June 2019 TRACE_SIGNAL_GENERAT(9)