Date: Sat, 24 May 1997 18:50:13 -0700 From: Sean Eric Fagan <sef@Kithrup.COM> To: questions@freebsd.org Subject: Re: execve() and the actual name of the image executed Message-ID: <199705250150.SAA27757@kithrup.com> In-Reply-To: <199705250053.RAA16879.kithrup.freebsd.questions@implode.root.com> References: Your message of "Sat, 24 May 1997 16:01:22 PDT." <199705242301.QAA19073@precipice.shockwave.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <199705250053.RAA16879.kithrup.freebsd.questions@implode.root.com> you write: >>Is there any /absolutely guaranteed/ way to get a pointer to the/a path >>that was actually used to invoke an image from that image? > /proc/<pid>/file is one way. This only works on FreeBSD 2.2+, however. And that is one of the reasons that node is in procfs :). (The *main* reason is so you can get symbols from any process you wish to debug, without knowing the actual name of the file.) Sean.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705250150.SAA27757>
