• Paul Mackerras's avatar
    [PATCH] fix create_elf_tables on PPC · 6860f192
    Paul Mackerras authored
    create_elf_tables in fs/binfmt_elf.c now sets up the list of aux table
    entries in a buffer on the kernel stack before copying it to the user
    stack.
    
    Unfortunately, while the buffer is big enough for most architectures, it
    isn't big enough on PPC, which uses 5 extra aux table entries (put on
    with ARCH_DLINFO).  The following patch increases the buffer to be big
    enough for PPC.  (Note that each aux table entry uses two elements of
    the elf_info array.)
    6860f192
binfmt_elf.c 34.2 KB