Date: Wed, 4 Mar 2009 16:46:39 +0300 From: Chagin Dmitry <dchagin@FreeBSD.org> To: Roman Divacky <rdivacky@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r189362 - in head/sys: amd64/linux32 compat/linux i386/linux Message-ID: <20090304134639.GA5968@dchagin.static.corbina.ru> In-Reply-To: <20090304132306.GA46344@freebsd.org> References: <200903041214.n24CEXmG041836@svn.freebsd.org> <20090304132306.GA46344@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 04, 2009 at 02:23:06PM +0100, Roman Divacky wrote: > On Wed, Mar 04, 2009 at 12:14:33PM +0000, Dmitry Chagin wrote: > > Author: dchagin > > Date: Wed Mar 4 12:14:33 2009 > > New Revision: 189362 > > URL: http://svn.freebsd.org/changeset/base/189362 > >=20 > > Log: > > Add AT_PLATFORM, AT_HWCAP and AT_CLKTCK auxiliary vector entries which > > are used by glibc. This silents the message "2.4+ kernel w/o ELF note= s?" > > from some programs at start, among them are top and pkill. > > =20 > > Do the assignment of the vector entries in elf_linux_fixup() > > as it is done in glibc. > > =20 > > Fix some minor style issues. >=20 > cool! have you tested this works with 2.4 emulation? I think it might > break it as I am quite sure the aux tags changed between 2.4 and 2.6. >=20 > we might need to scrap 2.4 emulation altogether in 8.x >=20 hi Roman! glibc do: for (av =3D _dl_auxv; av->a_type !=3D AT_NULL; set_seen (av++)) switch (av->a_type) { case AT_PHDR: phdr =3D (void *) av->a_un.a_val; break; etc....., and how it can be broken by adding new AT entries? --=20 Have fun! chd --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmuhj4ACgkQ0t2Tb3OO/O0clACeNLlMrVzoKnAAY+eSi/ck4HUi L7kAnjyiLH0BpX6Zi7/o5oXCPWTP7UtB =yJqd -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090304134639.GA5968>