From owner-svn-src-all@FreeBSD.ORG Wed Mar 4 13:46:49 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FC97106564A; Wed, 4 Mar 2009 13:46:49 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id B7DC68FC1B; Wed, 4 Mar 2009 13:46:48 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id D3E2065E42; Wed, 4 Mar 2009 16:46:46 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1659931457; Wed, 04 Mar 2009 16:46:46 +0300 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n24Dki3u006129; Wed, 4 Mar 2009 16:46:44 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n24DkdKB006128; Wed, 4 Mar 2009 16:46:39 +0300 (MSK) (envelope-from dchagin) Date: Wed, 4 Mar 2009 16:46:39 +0300 From: Chagin Dmitry To: Roman Divacky Message-ID: <20090304134639.GA5968@dchagin.static.corbina.ru> References: <200903041214.n24CEXmG041836@svn.freebsd.org> <20090304132306.GA46344@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <20090304132306.GA46344@freebsd.org> User-Agent: Mutt/1.5.19 (2009-01-05) 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 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 13:46:51 -0000 --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--