Re: core dump
Kathy Bieltz <[email protected]> Mon, 16 Aug 2004 09:42:33 -0500
| Newsgroups | gmane.linux.redhat.release.valhalla |
|---|---|
| Message-ID | <[email protected]> |
RH linux by default sets the core dump size to zero. To allow core dumps edit your /etc/bashrc file and add: ulimit -c unlimited to the end of the file. Kathy Bieltz rogerwphx wrote: > I was following an example in a book about security and wrote a sample > program for the purpose of overflowing a buffer. When the buffer > overflowed it gave a segmentation fault as it crashed, but failed to > dump core. I didn't see any option in gcc or gdb that would affect > core. How is this enabled?