Re: Dumping Core on Purpose
>
>
> 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?
> >
> There remains the issue of if one cannot fork a child process ... this
> seems more likely than not being able do dump.
What about the `files' in /proc/<pid>? Aren't any of those core images?
Eric
--
E.L. Meijer (tgakem@chem.tue.nl) | tel. office +31 40 2472189
Eindhoven Univ. of Technology | tel. lab. +31 40 2475032
Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: