From mboxrd@z Thu Jan 1 00:00:00 1970 From: levonshe@yandex.com (Lev Olshvang) Date: Thu, 16 Mar 2017 09:23:17 +0300 Subject: monitor of SEGFAULT processes Message-ID: <1351991489645397@web55g.yandex.ru> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Thank you Greg and others advising on my first question. I am writing monitor sybsytem, abd here the question : Is it possible from kernel module or user space to monitor which processes were terminated abnormally ? I understand that trap gates are initialized to handle it , fill trap_info, then sig_info and send signal to faulting process. Is it correct to place a hook in these chain? probably in signal.c : next_signal()? If so what is the proper method, ex jprobe? ThanX