path: root/mm/maccess.c
diff options
authorChristoph Hellwig <>2020-06-08 21:34:44 -0700
committerLinus Torvalds <>2020-06-09 09:39:15 -0700
commit9de1fec50b23117f0a19f7609cc837ca72e764a6 (patch)
tree067572c59d739d213debb438e5eed52dc3aed4d6 /mm/maccess.c
parent8d92db5c04d10381f4db70ed99b1b576f5db18a7 (diff)
tracing/kprobes: handle mixed kernel/userspace probes better
Instead of using the dangerous probe_kernel_read and strncpy_from_unsafe helpers, rework probes to try a user probe based on the address if the architecture has a common address space for kernel and userspace. [ strncpy_from_kernel_nofault() in fetch_store_string()] Link: Signed-off-by: Christoph Hellwig <> Signed-off-by: Sven Schnelle <> Signed-off-by: Andrew Morton <> Cc: Alexei Starovoitov <> Cc: Daniel Borkmann <> Cc: "H. Peter Anvin" <> Cc: Ingo Molnar <> Cc: Masami Hiramatsu <> Cc: Thomas Gleixner <> Link: Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions