lkml.org 
[lkml]   [1998]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [?] Find the address of a segfault in userland
From
Date
David Mentre <David.Mentre@irisa.fr> writes:
> Related question: in the 2.1.x saga, how to do the same thing ?

With Linux 2.1.x, and a recent glibc, you should be able to use
sigaction/siginfo_t approach. I found the best docs for this in the
Solaris manpages (sigaction(2), siginfo(5)). The glibc manual doesn't
appear to have been updated with this info.

Note that this is based only on scanning of Linux 2.1.x and glibc
snapshot source code; I haven't run any test programs yet.

- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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