2003-11-21 13:58:40

by Breno

[permalink] [raw]
Subject: Core file

Hi ,

I?d like to know where i can find the source code that create filename.core
when some memory fault happen.

thanks
Breno


2003-11-21 14:21:49

by Måns Rullgård

[permalink] [raw]
Subject: Re: Core file

"Breno" <[email protected]> writes:

> I?d like to know where i can find the source code that create filename.core
> when some memory fault happen.

In linux 2.6 it's in fs/exec.c. Look for format_corename.

--
M?ns Rullg?rd
[email protected]