I'm looking for a signals logger for the Linux kernel, without patching of kernel.
I found many articles with patching, but I am not interested in that.
I'm running default Ubuntu 13.04.
# uname -a
Linux bt 3.8.0-26-lowlatency #18-Ubuntu SMP PREEMPT Tue Jun 25 22:36:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I need: pid, comm (sender) -> SIGNAL (number 0-31) -> pid, comm (catcher)
Would be great too:
pidtree of sender ----- - - - - - receiver(cmd) ---- child1 of receiver, etc
/ \----child2---child1 of child2(cmd)
ppid(+cmd) ----child3(+cmd)
/ \__child4(+cmd)
ppid of ppid(cmd)
....
/
init
And the same for catcher. + timestamps.
What I have already found:
grsecurity patch has similar realization.
I need light and easy way to achieve this on Ubuntu.