mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 08:46:49 +07:00
204db6ed17
The arch_randomize_brk() function is used on several architectures, even those that don't support ET_DYN ASLR. To avoid bulky extern/#define tricks, consolidate the support under CONFIG_ARCH_HAS_ELF_RANDOMIZE for the architectures that support it, while still handling CONFIG_COMPAT_BRK. Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Hector Marco-Gisbert <hecmargi@upv.es> Cc: Russell King <linux@arm.linux.org.uk> Reviewed-by: Ingo Molnar <mingo@kernel.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: "David A. Long" <dave.long@linaro.org> Cc: Andrey Ryabinin <a.ryabinin@samsung.com> Cc: Arun Chandran <achandran@mvista.com> Cc: Yann Droneaud <ydroneaud@opteya.com> Cc: Min-Hua Chen <orca.chen@gmail.com> Cc: Paul Burton <paul.burton@imgtec.com> Cc: Alex Smith <alex@alex-smith.me.uk> Cc: Markos Chandras <markos.chandras@imgtec.com> Cc: Vineeth Vijayan <vvijayan@mvista.com> Cc: Jeff Bailey <jeffbailey@google.com> Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com> Cc: Ben Hutchings <ben@decadent.org.uk> Cc: Behan Webster <behanw@converseincode.com> Cc: Ismael Ripoll <iripoll@upv.es> Cc: Jan-Simon Mller <dl9pf@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
crypto | ||
hardware | ||
mach | ||
xen | ||
arch_timer.h | ||
asm-offsets.h | ||
assembler.h | ||
atomic.h | ||
barrier.h | ||
bitops.h | ||
bitrev.h | ||
bL_switcher.h | ||
bug.h | ||
bugs.h | ||
cache.h | ||
cacheflush.h | ||
cachetype.h | ||
checksum.h | ||
clkdev.h | ||
cmpxchg.h | ||
compiler.h | ||
cp15.h | ||
cpu.h | ||
cpuidle.h | ||
cputype.h | ||
cti.h | ||
dcc.h | ||
delay.h | ||
device.h | ||
div64.h | ||
dma-contiguous.h | ||
dma-iommu.h | ||
dma-mapping.h | ||
dma.h | ||
domain.h | ||
ecard.h | ||
edac.h | ||
elf.h | ||
entry-macro-multi.S | ||
exception.h | ||
fb.h | ||
fiq.h | ||
firmware.h | ||
fixmap.h | ||
flat.h | ||
floppy.h | ||
fncpy.h | ||
fpstate.h | ||
ftrace.h | ||
futex.h | ||
glue-cache.h | ||
glue-df.h | ||
glue-pf.h | ||
glue-proc.h | ||
glue.h | ||
gpio.h | ||
hardirq.h | ||
highmem.h | ||
hugetlb-3level.h | ||
hugetlb.h | ||
hw_breakpoint.h | ||
hw_irq.h | ||
hwcap.h | ||
hypervisor.h | ||
ide.h | ||
idmap.h | ||
insn.h | ||
io.h | ||
irq_work.h | ||
irq.h | ||
irqflags.h | ||
jump_label.h | ||
Kbuild | ||
kexec.h | ||
kgdb.h | ||
kmap_types.h | ||
kprobes.h | ||
kvm_arm.h | ||
kvm_asm.h | ||
kvm_coproc.h | ||
kvm_emulate.h | ||
kvm_host.h | ||
kvm_mmio.h | ||
kvm_mmu.h | ||
kvm_psci.h | ||
limits.h | ||
linkage.h | ||
mach-types.h | ||
mc146818rtc.h | ||
mcpm.h | ||
mcs_spinlock.h | ||
memblock.h | ||
memory.h | ||
mmu_context.h | ||
mmu.h | ||
module.h | ||
mpu.h | ||
mtd-xip.h | ||
mutex.h | ||
neon.h | ||
nwflash.h | ||
opcodes-sec.h | ||
opcodes-virt.h | ||
opcodes.h | ||
outercache.h | ||
page-nommu.h | ||
page.h | ||
patch.h | ||
pci.h | ||
percpu.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable-2level-hwdef.h | ||
pgtable-2level-types.h | ||
pgtable-2level.h | ||
pgtable-3level-hwdef.h | ||
pgtable-3level-types.h | ||
pgtable-3level.h | ||
pgtable-hwdef.h | ||
pgtable-nommu.h | ||
pgtable.h | ||
pmu.h | ||
probes.h | ||
proc-fns.h | ||
processor.h | ||
procinfo.h | ||
prom.h | ||
psci.h | ||
ptrace.h | ||
seccomp.h | ||
setup.h | ||
shmparam.h | ||
signal.h | ||
smp_plat.h | ||
smp_scu.h | ||
smp_twd.h | ||
smp.h | ||
sparsemem.h | ||
spinlock_types.h | ||
spinlock.h | ||
stackprotector.h | ||
stacktrace.h | ||
string.h | ||
suspend.h | ||
swab.h | ||
switch_to.h | ||
sync_bitops.h | ||
syscall.h | ||
system_info.h | ||
system_misc.h | ||
tcm.h | ||
therm.h | ||
thread_info.h | ||
thread_notify.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
tls.h | ||
topology.h | ||
traps.h | ||
trusted_foundations.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
unified.h | ||
unistd.h | ||
unwind.h | ||
uprobes.h | ||
user.h | ||
v7m.h | ||
vfp.h | ||
vfpmacros.h | ||
vga.h | ||
virt.h | ||
word-at-a-time.h | ||
xor.h |