Date: Fri, 14 Apr 2000 08:42:02 +0700 (ALMST) From: Boris Popov <bp@butya.kz> To: Murray Stokely <murray@cdrom.com> Cc: freebsd-hackers@freebsd.org Subject: Re: image_params.fname Message-ID: <Pine.BSF.4.10.10004140840020.39697-100000@lion.butya.kz> In-Reply-To: <Pine.BSF.4.10.10004130728300.23566-100000@pike.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Apr 2000, Murray Stokely wrote: > I'm having trouble displaying the value of image_params->fname in > this small snippet of code from imgact_elf.c. When the system execs > an unbranded elf binary it doesn't tell you the name of the actual > file that you tried to exec, which can be very annoying when you run > an obfuscated shell-installer for a Linux application. Anyway this > code always ends up with nonsense in the path; what am I doing wrong? fname field is never filled in the code. Field 'uap' can be more useful. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10004140840020.39697-100000>