Skip to contentSkip to conversation

module to detect sigsegv

DISCUSSION Donald Zoch 2 participants 2 messages Mar 12, 2003

lore
Share & tools
lore
#0 lore raw

I'm new to kernel programming and have set the goal of writing a kernel module to detect signal 11 errors and log them. My question is what is the best way to attack this in a module? I've figured out how to write a basic module, but I'm having a hard time figuring out how to do the checking.
How can I look at every signal that the kernel sends to processes and pick out those that I want to report on?

Apologies for sending this to the main list. kernelnewbies doesn't seem to be working any longer.

Thanks,

Donald

#1 lore raw

Hi Donald!

Hope this helps a little bit:
http://www.kyuzz.org/antirez/sigsegv/

Regards,
Martin

On Wed, 12 Mar 2003 08:18:21 -0600
"Donald Zoch" <[email protected]> bubbled:

Quoted 20 lines

I'm new to kernel programming and have set the goal of writing a kernel module to detect signal 11 errors and log them. My question is what is the best way to attack this in a module? I've figured out how to write a basic module, but I'm having a hard time figuring out how to do the checking.
How can I look at every signal that the kernel sends to processes and pick out those that I want to report on?

Apologies for sending this to the main list. kernelnewbies doesn't seem to be working any longer.

Thanks,

Donald

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 17 lines
Martin Zwickel <[email protected]>

Research & Development

TechnoTrend AG <http://www.technotrend.de>
Werner-von-Siemens-Str. 6
86159 Augsburg

Tel: [+49-821-450448-16] <---> Fax: [+49-821-450448-11]

--------------------------------------------------------------------
This email, together with any attachments,  is for the exclusive and
confidential use of the addressee(s). Any other distribution, use or
reproduction without the sender's prior consent is  unauthorised and
strictly  prohibited.  If  you have received this message  in error,
please notify the sender by email immediately and delete the message
from your computer without making copies.