Brian White wrote:

> > Assuming that forking a "kamakazi" child is not an acceptable
> > solution, is there some way of capturing the image of the process from
> > the kernal?
>
> Hmmm...  That's interesting.  Assuming there is no library/system call
> to force a core dump, I could fork a child and then make the child access
> mem at 0xFFFFFFFF to cause a segfault and dump core.  Would that work?

There is a library call which forces a core dump, it's abort().

--
Jens B. Jorgensen
[EMAIL PROTECTED]



--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to