2003-03-12 14:07:50

by Donald Zoch

[permalink] [raw]
Subject: module to detect sigsegv

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


2003-03-12 15:05:07

by Martin Zwickel

[permalink] [raw]
Subject: Re: module to detect sigsegv

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:

> 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/


--
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.


Attachments:
(No filename) (189.00 B)