linux_dsm_epyc7002/arch
Christoph Hellwig 98a23609b1 maccess: always use strict semantics for probe_kernel_read
Except for historical confusion in the kprobes/uprobes and bpf tracers,
which has been fixed now, there is no good reason to ever allow user
memory accesses from probe_kernel_read.  Switch probe_kernel_read to only
read from kernel memory.

[akpm@linux-foundation.org: update it for "mm, dump_page(): do not crash with invalid mapping pointer"]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20200521152301.2587579-17-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-09 09:39:15 -07:00
..
alpha mmap locking API: convert mmap_sem API comments 2020-06-09 09:39:14 -07:00
arc mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
arm mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
arm64 mmap locking API: convert mmap_sem call sites missed by coccinelle 2020-06-09 09:39:14 -07:00
c6x mm: consolidate pte_index() and pte_offset_*() definitions 2020-06-09 09:39:14 -07:00
csky mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
h8300 mm: introduce include/linux/pgtable.h 2020-06-09 09:39:13 -07:00
hexagon mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
ia64 mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
m68k mmap locking API: convert mmap_sem API comments 2020-06-09 09:39:14 -07:00
microblaze mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
mips mmap locking API: convert mmap_sem API comments 2020-06-09 09:39:14 -07:00
nds32 mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
nios2 mmap locking API: convert mmap_sem API comments 2020-06-09 09:39:14 -07:00
openrisc mmap locking API: convert mmap_sem API comments 2020-06-09 09:39:14 -07:00
parisc maccess: always use strict semantics for probe_kernel_read 2020-06-09 09:39:15 -07:00
powerpc mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
riscv mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
s390 mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
sh mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
sparc mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
um maccess: always use strict semantics for probe_kernel_read 2020-06-09 09:39:15 -07:00
unicore32 mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
x86 maccess: always use strict semantics for probe_kernel_read 2020-06-09 09:39:15 -07:00
xtensa mmap locking API: convert mmap_sem API comments 2020-06-09 09:39:14 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig scs: Remove references to asm/scs.h from core code 2020-05-18 17:47:45 +01:00