Re: [PATCH] Core dump file control

Michael Sinz
2002-02-17T14:36:35Z

Horst von Brand wrote:
>
> Michael Sinz <msinz@wgate.com> said:
> > I have, for a long time, wished that Linux had a way to specify where
> > core dumps are stored
>
> CWD (chdir(2))

So, all of my applications and support programs should run with their
CWD set to /coredumps? I don't want to flame here, but "get real".

That is almost as good as saying that to get security you just need to
make sure no one bad is using your system.

> > and what the name of the core dump is.
>
> /proc/sys/kernel/core_uses_pid

Well, this does make unique file names, almost. But it does not really
identify the file. Plus, in a cluster of machines, many of them have
the same PIDs. (Say, 100 machines, you get 100 of each PID)

--
Michael Sinz ---- Blackdown Java -- http://www.sinz.org/Michael.Sinz