Re: Illegal use of reserved word in system.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux