On Thu, 16 Jul 1998, 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?

Couldn't you send the child a SIGABRT?  Stevens's APUE seems to indicate
this is the way to go, or call the abort() functionB 
-- 
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD 57104
mailto://[EMAIL PROTECTED] http://www.midco.net finger
[EMAIL PROTECTED] for PGP Key: (0xA33B86E9) 
        


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

Reply via email to