Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2008 21:55:36 +0200
From:      Marcin Cieslak <saper@system.pl>
To:        freebsd-emulation@freebsd.org
Subject:   Re: linux emulation: Preliminary support for more auxvec's [patch]
Message-ID:  <4877BAB8.1030804@system.pl>
In-Reply-To: <20080711115436.GZ17123@deviant.kiev.zoral.com.ua>
References:  <g57h1u$5od$1@ger.gmane.org> <20080711115436.GZ17123@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA19EF0E5CE03EC51E963D795
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: quoted-printable

Kostik Belousov wrote:
> On Fri, Jul 11, 2008 at 01:43:55PM +0200, Marcin Cieslak wrote:
>> Hello,
>>
>> Attached please find a simple diff to implement additional loader=20
>> information (for background please see:=20
>> http://lists.freebsd.org/pipermail/freebsd-emulation/2006-September/00=
2591.html)
> Namely, AT_EXECPATH (somewhat similar to the Solaris auxvec of the same=

> name) provides (might be relative) path for the binary being executed.

Thank you very much.

I have implemented the AT_PLATFORM, therefore all 2.6.16 (and later)=20
i386/amd64 auxvecs are implemented, except for AT_SYSINFO and=20
AT_SYSINFO_EHDR that are i386-specific and provide optional way of=20
invoking linux syscalls (using so-called virtual dynamic shared object).

I think we don't need those.

The code is completely untested on i386. My first attempts show that=20
skype and acroread8 launch faster (probably due to the "hz" effect).

The patch is here:

http://akson.sgh.waw.pl/~saper/FreeBSD/linux/auxvec.diff

This was made against 7-STABLE, but there no major differences in=20
-current. It is also trivial to port to 64-bit amd64 emulation.

--Marcin



--------------enigA19EF0E5CE03EC51E963D795
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQCVAwUBSHe6uz2W2v2wY27ZAQNH1wQAk4BD1WAcfGJV/BQmNIR6GKniI5gF0CrI
vaVwJCv2HKHvhqY51yf5Rbzxni3Dshye/2ozaS6nozNIJn79XZ7oCv4Wn95YllNW
dZ6ocli+so6XUT2hUXrjE9raE9mqGVcgRqcdI1WZj6rPh58B1hqbvIHomUoHDk7q
x0wo7VV8TH0=
=hlz7
-----END PGP SIGNATURE-----

--------------enigA19EF0E5CE03EC51E963D795--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4877BAB8.1030804>