From owner-svn-src-all@FreeBSD.ORG Fri Jan 7 17:26:08 2011 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 BE416106566B; Fri, 7 Jan 2011 17:26:08 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2518FC08; Fri, 7 Jan 2011 17:26:07 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p07HQ46E000696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Jan 2011 19:26:04 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p07HQ4fL034862; Fri, 7 Jan 2011 19:26:04 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p07HQ49i034861; Fri, 7 Jan 2011 19:26:04 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 7 Jan 2011 19:26:04 +0200 From: Kostik Belousov To: Ben Kaduk Message-ID: <20110107172604.GC12599@deviant.kiev.zoral.com.ua> References: <201101071422.p07EMYlP055071@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nG7dHWd/DOCuxGWF" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r217097 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include 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: Fri, 07 Jan 2011 17:26:08 -0000 --nG7dHWd/DOCuxGWF Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 07, 2011 at 12:02:55PM -0500, Ben Kaduk wrote: > On Fri, Jan 7, 2011 at 9:22 AM, Konstantin Belousov wro= te: > > Author: kib > > Date: Fri Jan =9A7 14:22:34 2011 > > New Revision: 217097 > > URL: http://svn.freebsd.org/changeset/base/217097 > > > > Log: > > =9AAdd AT_STACKPROT elf aux vector. Will be used to inform rtld about t= he > > =9Ainitial stack protection set by the kernel image activator. > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > --- head/sys/amd64/include/elf.h =9A =9A =9A =9AFri Jan =9A7 14:17:29 2= 011 =9A =9A =9A =9A(r217096) > > +++ head/sys/amd64/include/elf.h =9A =9A =9A =9AFri Jan =9A7 14:22:34 2= 011 =9A =9A =9A =9A(r217097) > > @@ -94,8 +94,9 @@ __ElfType(Auxinfo); > > =9A#define =9A =9A =9A =9AAT_NCPUS =9A =9A =9A =9A19 =9A =9A =9A/* Numb= er of CPUs. */ > > =9A#define =9A =9A =9A =9AAT_PAGESIZES =9A =9A20 =9A =9A =9A/* Pagesize= s. */ > > =9A#define =9A =9A =9A =9AAT_PAGESIZESLEN 21 =9A =9A =9A/* Number of pa= gesizes. */ > > +#define =9A =9A =9A =9AAT_STACKPROT =9A =9A23 =9A =9A =9A/* Initial st= ack protection. */ > > > > -#define =9A =9A =9A =9AAT_COUNT =9A =9A =9A =9A22 =9A =9A =9A/* Count = of defined aux entry types. */ > > +#define =9A =9A =9A =9AAT_COUNT =9A =9A =9A =9A24 =9A =9A =9A/* Count = of defined aux entry types. */ >=20 >=20 > Is there a reason to skip 22? Yes, I can swear that I saw the reference that stated that even aux vector types are used for Elf_Auxinfo.a_un.a_ptr, and odd are for a_val. I already received a private inquiry about the same issue, probably had to note this in the commit message. --nG7dHWd/DOCuxGWF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk0nTKsACgkQC3+MBN1Mb4i1RgCg3dyYIrpd6/gjKcqNEAQOZoKD g/kAoKsfMgou+N9neVYekaMg8c9X/i/L =Aas4 -----END PGP SIGNATURE----- --nG7dHWd/DOCuxGWF--