lkml.org 
[lkml]   [2002]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Core dump file control
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
Michael Sinz ---- Worldgate Communications ---- msinz@wgate.com
A master's secrets are only as good as
the master's ability to explain them to others.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.074 / U:9.592 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site