mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 16:30:53 +00:00
Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm
Pull ARM fixes from Russell King: "This round of fixes is smaller than previous: a couple more updates for the security fixes, and a one-liner kexec fix" * 'fixes' of git://git.linaro.org/people/rmk/linux-arm: ARM: 7816/1: CONFIG_KUSER_HELPERS: fix help text ARM: 7815/1: kexec: offline non panic CPUs on Kdump panic ARM: 7819/1: fiq: Cast the first argument of flush_icache_range()
This commit is contained in:
commit
1b4757ee6f
@ -89,7 +89,8 @@ void set_fiq_handler(void *start, unsigned int length)
|
|||||||
|
|
||||||
memcpy(base + offset, start, length);
|
memcpy(base + offset, start, length);
|
||||||
if (!cache_is_vipt_nonaliasing())
|
if (!cache_is_vipt_nonaliasing())
|
||||||
flush_icache_range(base + offset, offset + length);
|
flush_icache_range((unsigned long)base + offset, offset +
|
||||||
|
length);
|
||||||
flush_icache_range(0xffff0000 + offset, 0xffff0000 + offset + length);
|
flush_icache_range(0xffff0000 + offset, 0xffff0000 + offset + length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,6 +82,7 @@ void machine_crash_nonpanic_core(void *unused)
|
|||||||
crash_save_cpu(®s, smp_processor_id());
|
crash_save_cpu(®s, smp_processor_id());
|
||||||
flush_cache_all();
|
flush_cache_all();
|
||||||
|
|
||||||
|
set_cpu_online(smp_processor_id(), false);
|
||||||
atomic_dec(&waiting_for_crash_ipi);
|
atomic_dec(&waiting_for_crash_ipi);
|
||||||
while (1)
|
while (1)
|
||||||
cpu_relax();
|
cpu_relax();
|
||||||
|
@ -809,15 +809,18 @@ config KUSER_HELPERS
|
|||||||
the CPU type fitted to the system. This permits binaries to be
|
the CPU type fitted to the system. This permits binaries to be
|
||||||
run on ARMv4 through to ARMv7 without modification.
|
run on ARMv4 through to ARMv7 without modification.
|
||||||
|
|
||||||
|
See Documentation/arm/kernel_user_helpers.txt for details.
|
||||||
|
|
||||||
However, the fixed address nature of these helpers can be used
|
However, the fixed address nature of these helpers can be used
|
||||||
by ROP (return orientated programming) authors when creating
|
by ROP (return orientated programming) authors when creating
|
||||||
exploits.
|
exploits.
|
||||||
|
|
||||||
If all of the binaries and libraries which run on your platform
|
If all of the binaries and libraries which run on your platform
|
||||||
are built specifically for your platform, and make no use of
|
are built specifically for your platform, and make no use of
|
||||||
these helpers, then you can turn this option off. However,
|
these helpers, then you can turn this option off to hinder
|
||||||
when such an binary or library is run, it will receive a SIGILL
|
such exploits. However, in that case, if a binary or library
|
||||||
signal, which will terminate the program.
|
relying on those helpers is run, it will receive a SIGILL signal,
|
||||||
|
which will terminate the program.
|
||||||
|
|
||||||
Say N here only if you are absolutely certain that you do not
|
Say N here only if you are absolutely certain that you do not
|
||||||
need these helpers; otherwise, the safe option is to say Y.
|
need these helpers; otherwise, the safe option is to say Y.
|
||||||
|
Loading…
Reference in New Issue
Block a user