From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 23 13:01:50 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC1C716A4DA for ; Wed, 23 Aug 2006 13:01:50 +0000 (UTC) (envelope-from ssedov@mbsd.msk.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F7E243D5A for ; Wed, 23 Aug 2006 13:01:44 +0000 (GMT) (envelope-from ssedov@mbsd.msk.ru) Received: from [213.87.86.31] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1GFsMX-0004O1-LI; Wed, 23 Aug 2006 17:01:42 +0400 Received: from localhost (localhost [127.0.0.1]) by fonon.realnet (Postfix) with ESMTP id 1E7FE1146F; Wed, 23 Aug 2006 17:01:19 +0600 (YEKST) Date: Wed, 23 Aug 2006 17:01:18 +0600 From: Stanislav Sedov To: freebsd-hackers@freebsd.org Message-ID: <20060823170118.66903ab9@localhost> In-Reply-To: <16315800.1957801156269547401.JavaMail.root@vms062.mailsrvcs.net> References: <16315800.1957801156269547401.JavaMail.root@vms062.mailsrvcs.net> Organization: MBSD labs, Inc. X-Operating-System: FreeBSD X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_beQVN5vlh0HIVt=8DitL_tF"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.6.0 Cc: babkin@users.sf.net Subject: Re: Aqcuiring full path to running process from outside the kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2006 13:01:51 -0000 --Sig_beQVN5vlh0HIVt=8DitL_tF Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On Tue, 22 Aug 2006 12:59:07 -0500 (CDT) Sergey Babkin mentioned: > If we get back to the question of why we need the file, > we might not need it at all. As far as I understand, > the problem is that the Watcom compiler works by > sticking a set of messages into the executable files > and then later reading them out of the file, and the > point is to adapt the compiler to work on FreeBSD. Furthermore, reading additional sections after file load isn't very correct due to executable file itself could be unlinked after exec. So, putting it into DATA sections, as proposed by Sergey, is=20 much more correct.=20 --=20 Stanislav Sedov MBSD labs, Inc. =F2=CF=D3=D3=C9=D1, =ED=CF=D3=CB=D7=C1 http://mbsd.msk.ru -------------------------------------------------------------------- If the facts don't fit the theory, change the facts. -- A. Einstein -------------------------------------------------------------------- PGP fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 --Sig_beQVN5vlh0HIVt=8DitL_tF Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFE7DV+K/VZk+smlYERAvXhAJ0W/PpNh1HS9YQg4oEUeuo5qWj8OQCePv0V 9l0Q9FXSB+t8Kb6wyOc1DjA= =r5no -----END PGP SIGNATURE----- --Sig_beQVN5vlh0HIVt=8DitL_tF--