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/
This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:14 EST