Linux-kernel mailing list archive 1998-10,: Re: [?] Find the address of a segfault in userland

# Re: [?] Find the address of a segfault in userland

Raja R Harinath (harinath@cs.umn.edu)
12 Mar 1998 18:47:04 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Rob Hagopian: "Re: [OFFTOPIC]: Linux is losing to Macs in the RC5 effort!"
- Previous message: Liem Bahneman: "SYN flood = VFS: No free inodes - contact Linus?"

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

- Next message: Rob Hagopian: "Re: [OFFTOPIC]: Linux is losing to Macs in the RC5 effort!"
- Previous message: Liem Bahneman: "SYN flood = VFS: No free inodes - contact Linus?"