lkml.org 
[lkml]   [1999]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCatching signals in a Kernel Module?
Hello,

I need to catch a signal within a 2.2 kernel module.
Can this be done?

Specifically, I'm writing a driver that allows the
user to read or write the Intel MSRs. I have this part of
my module working. However, when a user tries to read or
write an unsupported MSR, the Intel Pentium II returns with a GP(0).
This causes my module to die with a SEGV.

How can I catch this signal within my module? I have
the Linux Device Drivers book, but it doesn't
appear to cover this type of problem.

Thanks in advance.

Regards,

Steve
--
Stephen Polkowski
Centaur Technology
Austin, TX
(512) 418-5730

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.040 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site