lkml.org 
[lkml]   [2005]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Illegal use of reserved word in system.h
    From
    Date
    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@analogic.com> 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-05-19 16:59    [W:0.031 / U:92.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site