android_kernel_oneplus_msm8998/arch/powerpc
Andrew Donnellan cc5d103da4 powerpc/powernv: Restrict OPAL symbol map to only be readable by root
commit e7de4f7b64c23e503a8c42af98d56f2a7462bd6d upstream.

Currently the OPAL symbol map is globally readable, which seems bad as
it contains physical addresses.

Restrict it to root.

Fixes: c8742f8512 ("powerpc/powernv: Expose OPAL firmware symbol map")
Cc: stable@vger.kernel.org # v3.19+
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190503075253.22798-1-ajd@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-17 13:40:53 -07:00
..
boot powerpc/boot: Fix missing check of lseek() return value 2019-06-11 12:23:54 +02:00
configs powerpc updates for 4.4 2015-11-05 23:38:43 -08:00
crypto crypto: powerpc/md5 - use md5 IV MD5_HX instead of their raw value 2015-05-18 12:20:20 +08:00
include powerpc/futex: Fix warning: 'oldval' may be used uninitialized in this function 2019-10-07 21:01:00 +02:00
kernel powerpc/64s/exception: machine check use correct cfar for late handler 2019-10-07 21:01:01 +02:00
kvm KVM: PPC: Book3S: Use new mutex to synchronize access to rtas token list 2019-06-22 08:18:26 +02:00
lib powerpc/lib: fix book3s/32 boot failure due to code patching 2019-05-16 19:45:18 +02:00
math-emu
mm powerpc/numa: improve control of topology updates 2019-06-11 12:23:58 +02:00
net powerpc/bpf/jit: Fix 32-bit JIT for seccomp_data access 2018-05-30 07:49:00 +02:00
oprofile powerpc: Remove mtmsrd(), use existing mtmsr() 2015-07-13 15:47:28 +10:00
perf powerpc/perf: Fix kernel address leak via sampling registers 2018-05-30 07:49:10 +02:00
platforms powerpc/powernv: Restrict OPAL symbol map to only be readable by root 2019-10-17 13:40:53 -07:00
sysdev powerpc/4xx/uic: clear pending interrupt after irq type/pol change 2019-08-04 09:34:58 +02:00
xmon powerpc/64s: Improve RFI L1-D cache flush fallback 2019-05-16 19:44:44 +02:00
Kconfig powerpc/fsl: Add barrier_nospec implementation for NXP PowerPC Book3E 2019-05-16 19:44:49 +02:00
Kconfig.debug powerpc: Make STRICT_MM_TYPECHECKS a config option 2015-05-11 19:53:59 +10:00
Makefile powerpc/cell: Drop CONFIG_TUNE_CELL in favour of CONFIG_CELL_CPU 2015-10-19 19:51:18 +11:00
relocs_check.sh powerpc: Convert relocs_check to a shell script using grep 2015-03-23 14:47:39 +11:00