mirror of
https://github.com/torvalds/linux.git
synced 2026-06-30 10:05:51 +02:00
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. The saved_auxv array must be terminated with an AT_NULL entry. Make the size of mm_struct->saved_auxv arch dependend, based on the number of ARCH_DLINFO entries. Signed-off-by: Olaf Hering <olh@suse.de> Cc: Roland McGrath <roland@redhat.com> Cc: Jakub Jelinek <jakub@redhat.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
|---|---|---|
| .. | ||
| cpu-sh2 | ||
| cpu-sh2a | ||
| cpu-sh3 | ||
| cpu-sh4 | ||
| dreamcast | ||
| hd64465 | ||
| landisk | ||
| mpc1211 | ||
| sh03 | ||
| .gitignore | ||
| a.out.h | ||
| adc.h | ||
| addrspace.h | ||
| atomic-irq.h | ||
| atomic-llsc.h | ||
| atomic.h | ||
| auxvec.h | ||
| bitops.h | ||
| bug.h | ||
| bugs.h | ||
| byteorder.h | ||
| cache.h | ||
| cacheflush.h | ||
| checksum.h | ||
| clock.h | ||
| cpu-features.h | ||
| cputime.h | ||
| current.h | ||
| delay.h | ||
| device.h | ||
| div64.h | ||
| dma-mapping.h | ||
| dma.h | ||
| dmabrg.h | ||
| edosk7705.h | ||
| elf.h | ||
| emergency-restart.h | ||
| entry-macros.S | ||
| errno.h | ||
| fb.h | ||
| fcntl.h | ||
| fixmap.h | ||
| flat.h | ||
| floppy.h | ||
| freq.h | ||
| futex-irq.h | ||
| futex.h | ||
| gpio.h | ||
| hardirq.h | ||
| hd64461.h | ||
| heartbeat.h | ||
| hp6xx.h | ||
| hs7751rvoip.h | ||
| hw_irq.h | ||
| ide.h | ||
| ilsel.h | ||
| io_generic.h | ||
| io.h | ||
| ioctl.h | ||
| ioctls.h | ||
| ipcbuf.h | ||
| irq_regs.h | ||
| irq.h | ||
| irqflags.h | ||
| Kbuild | ||
| kdebug.h | ||
| kexec.h | ||
| keyboard.h | ||
| kgdb.h | ||
| kmap_types.h | ||
| lboxre2.h | ||
| linkage.h | ||
| local.h | ||
| machvec.h | ||
| magicpanelr2.h | ||
| mc146818rtc.h | ||
| microdev.h | ||
| mman.h | ||
| mmu_context.h | ||
| mmu.h | ||
| mmzone.h | ||
| module.h | ||
| msgbuf.h | ||
| mutex.h | ||
| namei.h | ||
| page.h | ||
| param.h | ||
| parport.h | ||
| pci.h | ||
| percpu.h | ||
| pgalloc.h | ||
| pgtable.h | ||
| pm.h | ||
| poll.h | ||
| posix_types.h | ||
| processor.h | ||
| ptrace.h | ||
| push-switch.h | ||
| r7780rp.h | ||
| resource.h | ||
| rtc.h | ||
| rts7751r2d.h | ||
| rwsem.h | ||
| scatterlist.h | ||
| sci.h | ||
| se.h | ||
| se7206.h | ||
| se7343.h | ||
| se7722.h | ||
| se7751.h | ||
| se7780.h | ||
| sections.h | ||
| segment.h | ||
| semaphore-helper.h | ||
| semaphore.h | ||
| sembuf.h | ||
| serial.h | ||
| setup.h | ||
| sfp-machine.h | ||
| sh_bios.h | ||
| shmbuf.h | ||
| shmin.h | ||
| shmparam.h | ||
| sigcontext.h | ||
| siginfo.h | ||
| signal.h | ||
| smc37c93x.h | ||
| smp.h | ||
| snapgear.h | ||
| socket.h | ||
| sockios.h | ||
| sparsemem.h | ||
| spinlock_types.h | ||
| spinlock.h | ||
| stat.h | ||
| statfs.h | ||
| string.h | ||
| system.h | ||
| systemh7751.h | ||
| termbits.h | ||
| termios.h | ||
| thread_info.h | ||
| timer.h | ||
| timex.h | ||
| titan.h | ||
| tlb.h | ||
| tlbflush.h | ||
| topology.h | ||
| types.h | ||
| uaccess.h | ||
| ubc.h | ||
| ucontext.h | ||
| unaligned.h | ||
| unistd.h | ||
| user.h | ||
| voyagergx.h | ||
| watchdog.h | ||
| xor.h | ||