[OT] Bonehead question about coredumps

2006-05-01 Thread walt
When a userland program segfaults, what determines whether it also dumps core? Is there something either the programmer or the user can do to force a cordump on segfault? Thanks for any clues!

Re: [OT] Bonehead question about coredumps

2006-05-01 Thread Erik Wikström
On 2006-05-01 20:54, walt wrote: When a userland program segfaults, what determines whether it also dumps core? Is there something either the programmer or the user can do to force a cordump on segfault? Thanks for any clues! You might be interested in core(5), which has a list of criteria

Re: [OT] Bonehead question about coredumps

2006-05-01 Thread Sascha Wildner
walt wrote: When a userland program segfaults, what determines whether it also dumps core? Is there something either the programmer or the user can do to force a cordump on segfault? Thanks for any clues! Erik already mentioned core(5). Additionally, signal(3) will tell you the default

Re: [OT] Bonehead question about coredumps

2006-05-01 Thread Dmitri Nikulin
On 5/2/06, walt [EMAIL PROTECTED] wrote: When a userland program segfaults, what determines whether it also dumps core? Is there something either the programmer or the user can do to force a cordump on segfault? Thanks for any clues! Some security-conscious programs will setrlimit()