Aqcuiring full path to running process from outside the kernel
Stanislav Sedov
ssedov at mbsd.msk.ru
Wed Aug 23 13:01:51 UTC 2006
On Tue, 22 Aug 2006 12:59:07 -0500 (CDT)
Sergey Babkin <babkin at verizon.net> 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
much more correct.
--
Stanislav Sedov MBSD labs, Inc. <ssedov at mbsd.msk.ru>
Россия, Москва 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060823/4c62f9a6/signature.pgp
More information about the freebsd-hackers
mailing list