From mboxrd@z Thu Jan 1 00:00:00 1970 From: michi1@michaelblizek.twilightparadox.com (michi1 at michaelblizek.twilightparadox.com) Date: Tue, 13 May 2014 17:29:38 +0200 Subject: hook SIGSEGV In-Reply-To: References: Message-ID: <20140513152938.GA4835@grml> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi! On 21:46 Sat 10 May , net.study.sea at gmail.com wrote: > > Hi all : > I want to know is it possible to hook SIGSEGV to restart the thread which the signal is sent to,without restart the whole process? And record the place where has caused this signal? > > Thanks! Yes, you can hook SIGSEGV like a normal signal. However, I have never tried to do so... -Michi -- programing a layer 3+4 network protocol for mesh networks see http://michaelblizek.twilightparadox.com