[LCP] in SIGSEGV, how to tell whether the offending access is a read-access or write access?

Mark Farnell mark.farnell at gmail.com
Thu Mar 26 14:32:07 EST 2009


I am writing a SIGSEGV handler, in struct, siginfo_t I can tell the
offending address, However can I also find out whether it was a read-
or a write- attempt?  If so, how?

Thanks!

Mark



More information about the linuxCprogramming mailing list