Address info on SIGSEGV?

From: Chris Quinn (cq@htec.demon.co.uk)
Date: Tue Jul 25 2000 - 03:51:26 EST


Does anyone know if the faulting address related to a SIGSEGV is available? I want to mprotect(PROT_READ) mmap()'ed pages and intercept this signal, record the address and change the protection to allow continuation. The reason I ask here is I don't believe such info is available through a system call and am wondering whether it can be made so via a kernel mod; maybe even the kernel cannot know?

Any suggestions appreciated.
Thanks,
Chris Quinn

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



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:18 EST