android_kernel_xiaomi_sm8350/include/asm-sh
Olaf Hering 4f9a58d75b increase AT_VECTOR_SIZE to terminate saved_auxv properly
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>
2007-10-17 08:43:00 -07:00
..
cpu-sh2 sh: Kill off dead SH7604 support. 2007-06-08 11:55:28 +09:00
cpu-sh2a
cpu-sh3 sh: dma: Fix up build for SH7709 support. 2007-09-21 11:57:53 +09:00
cpu-sh4 sh: Fix SH-4 DMAC CHCR masking. 2007-10-08 05:19:36 +09:00
dreamcast sh: Add maple bus support for the SEGA Dreamcast. 2007-09-21 15:55:55 +09:00
hd64465
landisk sh: landisk: Header cleanups. 2007-05-14 09:18:35 +09:00
mpc1211 i386/x86_64: move headers to include/asm-x86 2007-10-11 11:20:03 +02:00
sh03 sh: intc - remove redundant irq code for sh03, snapgear and titan 2007-09-21 11:57:47 +09:00
.gitignore
a.out.h arch: personality independent stack top 2007-07-19 10:04:45 -07:00
adc.h
addrspace.h
atomic-irq.h
atomic-llsc.h
atomic.h
auxvec.h
bitops.h
bug.h Fix WARN_ON() on bitfield ops for all other archs 2007-08-01 20:45:38 -07:00
bugs.h sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
byteorder.h
cache.h sh: Tidy up dependencies for SH-2 build. 2007-06-11 15:32:07 +09:00
cacheflush.h sh: Support explicit L1 cache disabling. 2007-09-21 11:57:46 +09:00
checksum.h
clock.h sh: Implement clk_round_rate() in the clock framework. 2007-07-20 13:29:09 +09:00
cpu-features.h sh: Add 32-bit opcode feature CPU flag. 2007-05-09 01:35:01 +00:00
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h sh: Add missing dma_sync_single_range_for_*(). 2007-08-10 02:37:01 +09:00
dma.h sh: dma: Fix CONFIG_SYSFS=n build. 2007-09-21 11:57:53 +09:00
dmabrg.h sh: SH7760 DMABRG support. 2007-05-09 17:36:15 +09:00
edosk7705.h fix file specification in comments 2007-05-09 08:58:16 +02:00
elf.h increase AT_VECTOR_SIZE to terminate saved_auxv properly 2007-10-17 08:43:00 -07:00
emergency-restart.h
entry-macros.S
errno.h
fb.h fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
fcntl.h
fixmap.h sh: Add kmap_coherent()/kunmap_coherent() interface for SH-4. 2007-07-24 13:28:26 +09:00
flat.h Binfmt_flat: Add minimum support for the Blackfin relocations 2007-10-03 23:41:43 +08:00
floppy.h Remove dma_cache_(wback|inv|wback_inv) functions 2007-10-17 08:42:57 -07:00
freq.h
futex-irq.h sh: Fix up futex implementation. 2007-06-18 13:58:32 +09:00
futex.h sh: Fix up futex implementation. 2007-06-18 13:58:32 +09:00
gpio.h sh: Add gpio.h stubs for PFC definitions. 2007-09-21 11:57:49 +09:00
hardirq.h
hd64461.h sh: Fix OFFCHIP_IRQ_BASE compile error. 2007-09-21 11:57:52 +09:00
heartbeat.h sh: heartbeat driver update. 2007-09-21 11:57:51 +09:00
hp6xx.h sh: Trivial fix for hp6xx build. 2007-03-28 19:45:59 +09:00
hs7751rvoip.h
hw_irq.h sh: intc - initial SMP support. 2007-09-21 18:16:42 +09:00
ide.h
ilsel.h sh: x3proto: ILSEL IRQ support. 2007-09-21 11:57:48 +09:00
io_generic.h
io.h Remove dma_cache_(wback|inv|wback_inv) functions 2007-10-17 08:42:57 -07:00
ioctl.h
ioctls.h sh: Convert struct ioctls to static defines. 2007-03-12 16:12:45 +09:00
ipcbuf.h
irq_regs.h
irq.h sh: rework ipr code 2007-06-15 18:56:19 +09:00
irqflags.h
Kbuild sh: Add cpu-features header to asm/Kbuild. 2007-02-13 10:54:46 +09:00
kdebug.h x86: optimize page faults like all other achitectures and kill notifier cruft 2007-10-16 09:42:50 -07:00
kexec.h kdump/kexec: calculate note size at compile time 2007-05-08 11:15:07 -07:00
keyboard.h
kgdb.h sh: Make kgdb i-cache flushing less inept. 2007-10-03 17:21:10 +09:00
kmap_types.h
lboxre2.h sh: Tidy up L-BOX area5 addresses. 2007-05-07 02:11:55 +00:00
linkage.h
local.h
machvec.h sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
magicpanelr2.h sh: Magic Panel R2 board support. 2007-09-21 11:57:54 +09:00
mc146818rtc.h
microdev.h
mman.h
mmu_context.h sh: bootmem tidying for discontig/sparsemem preparation. 2007-05-07 02:10:54 +00:00
mmu.h sh: Use a per-cpu ASID cache. 2007-02-13 10:54:45 +09:00
mmzone.h sh: Support for multiple nodes. 2007-06-08 02:43:49 +00:00
module.h
msgbuf.h
mutex.h
namei.h
page.h sh: Fix up extended mode TLB for SH-X2+ cores. 2007-09-21 11:57:55 +09:00
param.h sh: Obey CONFIG_HZ for HZ definition. 2007-05-07 02:11:56 +00:00
parport.h sh: Add parport stub for SuperIO ports. 2007-07-07 07:28:11 +09:00
pci.h PCI: remove pci_dac_dma_... APIs 2007-07-11 16:02:11 -07:00
percpu.h
pgalloc.h sh: __GFP_REPEAT for pte allocations, too. 2007-05-09 01:35:01 +00:00
pgtable.h sh: Fix up extended mode TLB for SH-X2+ cores. 2007-09-21 11:57:55 +09:00
pm.h
poll.h Consolidate asm/poll.h 2007-05-11 08:29:34 -07:00
posix_types.h
processor.h sh: Use boot_cpu_data for CPU probe. 2007-09-27 18:18:39 +09:00
ptrace.h
push-switch.h
r7780rp.h sh: intc - rework higlander irq code for r7780mp and r7785rp 2007-09-21 11:57:52 +09:00
resource.h
rtc.h rtc: rtc-sh: Support 4-digit year on SH7705/SH7710/SH7712. 2007-09-21 11:57:47 +09:00
rts7751r2d.h sh: intc - convert board specific r2d code 2007-09-21 11:57:50 +09:00
rwsem.h sh: Warn against direct inclusion of <asm/rwsem.h>. 2007-06-08 11:56:31 +09:00
scatterlist.h PCI: scatterlist.h needs types.h 2007-05-02 19:02:34 -07:00
sci.h
se7206.h
se7343.h
se7722.h sh: clean up interrupt code for solution engine 7722 board 2007-07-20 12:18:20 +09:00
se7751.h sh: Bring kgdb back from the dead. 2007-05-07 02:10:51 +00:00
se7780.h sh: SH7780 Solution Engine board support. 2007-05-07 02:11:55 +00:00
se.h sh: Solution Engine SH7705 board and CPU updates. 2007-05-07 02:11:56 +00:00
sections.h sh: Define _ebss for uClinux MTD map driver. 2007-09-24 18:11:27 +09:00
segment.h
semaphore-helper.h
semaphore.h kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
sembuf.h
serial.h sh: rts7751r2d board updates. 2007-02-15 18:20:52 +09:00
setup.h sh: Fixup machvec support. 2007-06-08 02:43:37 +00:00
sfp-machine.h
sh_bios.h
shmbuf.h
shmin.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smc37c93x.h
smp.h sh: Bring SMP support back from the dead. 2007-09-21 18:32:32 +09:00
snapgear.h sh: intc - remove redundant irq code for sh03, snapgear and titan 2007-09-21 11:57:47 +09:00
socket.h [NET]: Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support 2007-04-25 22:24:21 -07:00
sockios.h [NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution 2007-04-25 22:24:04 -07:00
sparsemem.h sh: sparsemem support. 2007-06-08 02:43:43 +00:00
spinlock_types.h sh: Overhaul spinlocks and rwlocks for SH-4A SMP. 2007-09-21 11:57:51 +09:00
spinlock.h sh: Overhaul spinlocks and rwlocks for SH-4A SMP. 2007-09-21 11:57:51 +09:00
stat.h sh: Fix fstatat64() syscall. 2007-05-07 02:11:55 +00:00
statfs.h
string.h [STRING]: Move strcasecmp/strncasecmp to lib/string.c 2007-04-26 01:54:39 -07:00
system.h increase AT_VECTOR_SIZE to terminate saved_auxv properly 2007-10-17 08:43:00 -07:00
systemh7751.h
termbits.h lots-of-architectures: enable arbitary speed tty support 2007-07-10 17:51:13 -07:00
termios.h
thread_info.h remove unused TIF_NOTIFY_RESUME flag 2007-07-31 15:39:38 -07:00
timer.h sh: clockevent/clocksource/hrtimers/nohz TMU support. 2007-05-09 17:33:24 +09:00
timex.h
titan.h
tlb.h
tlbflush.h sh: Local TLB flushing variants for SMP prep. 2007-02-13 10:54:45 +09:00
topology.h sh: Support for multiple nodes. 2007-06-08 02:43:49 +00:00
types.h remove strict ansi check from __u64 in asm/types.h 2007-10-17 08:42:53 -07:00
uaccess.h sh: __user annotations for __get/__put_user(). 2007-06-08 02:43:36 +00:00
ubc.h sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
ucontext.h
unaligned.h
unistd.h sh: Wire up fallocate() syscall. 2007-07-20 12:27:09 +09:00
user.h
voyagergx.h sh: intc - convert voyagergx code 2007-09-21 11:57:48 +09:00
watchdog.h
xor.h