Re: Illegal use of reserved word in system.h

From: Arjan van de Ven
Date: Thu May 19 2005 - 09:56:44 EST


On Thu, 2005-05-19 at 10:15 -0400, Steven Rostedt wrote:
> On Thu, 2005-05-19 at 16:06 +0200, Andreas Schwab wrote:
> > "Richard B. Johnson" <linux-os@xxxxxxxxxxxx> writes:
> >
> > > Now, where is that 'auxiliary vevtor'??? I got a pointer to
> > > something to be executed before calling exit, I have an
> > > argument count, then a bunch of pointers (argv), terminating
> > > with a NULL, then another bunch of pointers (envp) terminating
> > > with a NULL. Is there something after that??? If so, what's
> > > the contents of this thing?
> >
> > See create_elf_tables. The aux table comes after the environment.
>
> As I stated earlier, the page size passed in there is ELF_EXEC_PAGESIZE
> which may not be the same as PAGE_SIZE.

and that is good!
Some architectures have different page sizes for different
personalities, eg ia64 has 16Kb for ia64 binaries but 4kb for x86
binaries. "kernel" PAGE_SIZE would be wrong to give to x86 userspace
there.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/