Re: increase AT_VECTOR_SIZE to terminate saved_auxv properly

2007-09-17 Thread Olaf Hering
On Sat, Sep 15, Jakub Jelinek wrote: > > If AT_NULL is required, AT_VECTOR_SIZE should be changed from 44 to 46. > > No, it should be computed instead from the number of target independent aux > vector pairs and then from an per-arch macro which says how many arch > specific aux vector pairs are

Re: increase AT_VECTOR_SIZE to terminate saved_auxv properly

2007-09-15 Thread Jakub Jelinek
On Fri, Sep 14, 2007 at 01:00:57PM +0200, Olaf Hering wrote: > include/asm-powerpc/elf.h has 6 entries in ARCH_DLINFO. > fs/binfmt_elf.c has 14 unconditional NEW_AUX_ENT entries and 2 > conditional NEW_AUX_ENT entries. > So in the worst case, saved_auxv does not get an AT_NULL entry at the > end. >