Date: Sun, 18 Jan 1998 08:14:22 +1100 (EST) From: John Birrell <jb@cimlogic.com.au> To: jdp@polstra.com (John Polstra) Cc: hasty@rah.star-gate.com, hackers@FreeBSD.ORG Subject: Re: dladdr hax Message-ID: <199801172114.IAA15682@freebsd1.cimlogic.com.au> In-Reply-To: <199801172050.MAA07904@austin.polstra.com> from John Polstra at "Jan 17, 98 12:50:21 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra wrote: > If you will come up with (or suggest) a solution to finding the > pathname of the main program, then I will add that into my version and > commit it. And puhleeeze, don't suggest the hack of searching each of > the directories in $PATH for argv[0]. What about adding some code to the namei() interface and set aside a copy of the path in execve() (in kern_exec.c)? Regards, -- John Birrell - jb@cimlogic.com.au; jb@netbsd.org; jb@freebsd.org CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801172114.IAA15682>