From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 14 08:44:12 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A64F1065677 for ; Mon, 14 Jul 2008 08:44:12 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id BEF9C8FC16 for ; Mon, 14 Jul 2008 08:44:11 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A567AD.dip.t-dialin.net [84.165.103.173]) by redbull.bpaserver.net (Postfix) with ESMTP id 8B2112E2E0; Mon, 14 Jul 2008 10:44:05 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 7749E1306D8; Mon, 14 Jul 2008 10:43:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1216025033; bh=awzFPNOF4rbZUtAeWLsq4Yt1oRD0R1D9q 3hOgFWM/ng=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ryGyHMYNYZaI+w0MNzgsc5bepM7glEfBpk27UME3IOcskvhUt/UELkRlwH6ZN7Px0 fJ4F+2cLyGa6AgvO2GyCdIqQhLFwJ/iz/GYBOR3o1v04He3Xir5L6SAtElyoAn8rGip ysTyOfntke3Nii3p6hKMCra51Vfp3iucGDE8qh7IquDhPpQ0loQuHNDm8YMW+vjycCu hAD7YOphYi6IcdzhSEhlyODCEkfPbOizB5Hojc6HwUpTLdskj+iqBh7kYXBQVtbfWLU XnZBY9DJOOnOf4nrl6ObKMz+9J7n5gJK64KF0m/Mcwex4mYpIxL3QiaYip0Nt2vRyzI JkyJKUOXQ== Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m6E8hqJm034404; Mon, 14 Jul 2008 10:43:52 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 14 Jul 2008 10:43:52 +0200 Message-ID: <20080714104352.14951o38351fjnpc@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 14 Jul 2008 10:43:52 +0200 From: Alexander Leidinger To: Marcin Cieslak References: <20080711115436.GZ17123@deviant.kiev.zoral.com.ua> <4877BAB8.1030804@system.pl> In-Reply-To: <4877BAB8.1030804@system.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation: Preliminary support for more auxvec's [patch] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2008 08:44:12 -0000 Quoting Marcin Cieslak (from Fri, 11 Jul 2008 =20 21:55:36 +0200): > The patch is here: > > http://akson.sgh.waw.pl/~saper/FreeBSD/linux/auxvec.diff I'm a little bit worried about this: ---snip--- --- sys/i386/include/elf.h=094 Oct 2006 21:37:09 -0000=091.17 +++ sys/i386/include/elf.h=0911 Jul 2008 11:20:03 -0000 @@ -104,8 +104,12 @@ #define=09AT_EUID=09=0912=09/* Effective uid. */ #define=09AT_GID=09=0913=09/* Real gid. */ #define=09AT_EGID=09=0914=09/* Effective gid. */ +#define=09AT_PLATFORM=0915=09/* CPU identification string. */ +#define=09AT_HWCAP=0916=09/* CPU capabilities (arch dependent). */ +#define=09AT_CLKTCK=0917=09/* Frequency at which times() increments */ +#define=09AT_SECURE=0923=09/* Secure mode */ -#define=09AT_COUNT=0915=09/* Count of defined aux entry types. */ +#define=09AT_COUNT=0918=09/* Count of defined aux entry types. */ ---snip--- I would expect that count is 24, not 18. But what happens if we =20 increase it to 24, is it expected to have some valid data by some =20 automatism based upon AT_COUNT then? What's in 18-22? Bye, Alexander. --=20 Only kings, presidents, editors, and people with tapeworms have the right to use the editorial "we". http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137