Date: Mon, 14 Jul 2008 10:43:52 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Marcin Cieslak <saper@system.pl> Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation: Preliminary support for more auxvec's [patch] Message-ID: <20080714104352.14951o38351fjnpc@webmail.leidinger.net> In-Reply-To: <4877BAB8.1030804@system.pl> References: <g57h1u$5od$1@ger.gmane.org> <20080711115436.GZ17123@deviant.kiev.zoral.com.ua> <4877BAB8.1030804@system.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Marcin Cieslak <saper@system.pl> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080714104352.14951o38351fjnpc>