Subject: Re: kern/4099: Gather coredumps in one place
To: Christoph Badura <firstname.lastname@example.org>
From: Chris G. Demetriou <email@example.com>
Date: 09/08/1997 09:58:01
> Come to think of it, it would be really nice, if I could specify the
> location and filename format for the core dumps in the environment,
> so that it gets inherited by the child processes.
> Something like
> setenv COREDUMPNAME /whereever/%n.%t.%p.core
> Where %n == program name, %p == pid and %t current time.
> The default, if COREDUMPNAME wasn't set, would be "./%n.core".
> And the default should probably be settable via sysctl.
Currently, the only thing that the kernel knows about environment
variables (or at least "most of the kernel," i'm not going to say that
i've looked in all of the machine-dependent nooks and crannies) is
There's this extra argument to execve() which specifies
a program's environment, and which should be plopped into
the newly-created address space.
It's not clear that changing that would be a real feature.