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 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 4 Oct 2006 21:37:09 -0000 1.17 +++ sys/i386/include/elf.h 11 Jul 2008 11:20:03 -0000 @@ -104,8 +104,12 @@ #define AT_EUID 12 /* Effective uid. */ #define AT_GID 13 /* Real gid. */ #define AT_EGID 14 /* Effective gid. */ +#define AT_PLATFORM 15 /* CPU identification string. */ +#define AT_HWCAP 16 /* CPU capabilities (arch dependent). */ +#define AT_CLKTCK 17 /* Frequency at which times() increments */ +#define AT_SECURE 23 /* Secure mode */ -#define AT_COUNT 15 /* Count of defined aux entry types. */ +#define AT_COUNT 18 /* Count of defined aux entry types. */ ---snip--- I would expect that count is 24, not 18. But what happens if we increase it to 24, is it expected to have some valid data by some automatism based upon AT_COUNT then? What's in 18-22? Bye, Alexander. -- 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 = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080714104352.14951o38351fjnpc>
