kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: levonshe@yandex.com (Lev Olshvang)
To: kernelnewbies@lists.kernelnewbies.org
Subject: monitor of SEGFAULT processes
Date: Thu, 16 Mar 2017 09:23:17 +0300	[thread overview]
Message-ID: <1351991489645397@web55g.yandex.ru> (raw)


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

             reply	other threads:[~2017-03-16  6:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16  6:23 Lev Olshvang [this message]
2017-03-16 14:55 ` monitor of SEGFAULT processes Frank Ch. Eigler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351991489645397@web55g.yandex.ru \
    --to=levonshe@yandex.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).