Re: Illegal use of reserved word in system.h

From: Maciej W. Rozycki
Date: Thu May 19 2005 - 09:47:08 EST


On Thu, 19 May 2005, Steven Rostedt wrote:

> > 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.

Well, AT_PAGESZ is specified as "system page size". If we pass something
else, then it's asking for troubles. What comes from AT_PAGESZ is used by
userland for stuff like masking arguments for mmap() and mprotect() so
it'd better be the right value.

Maciej
-
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/