commit | b58294ead14cde8081853487929adca821ed630d | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <[email protected]> | Mon Jun 08 21:34:58 2020 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Jun 09 09:39:15 2020 -0700 |
tree | d32cbda4b476af7f21cca50c4eb58aee375bbbc1 | |
parent | fc3562d79456bf1740b44d84b8726d20de8d39bd [diff] |
maccess: allow architectures to provide kernel probing directly Provide alternative versions of probe_kernel_read, probe_kernel_write and strncpy_from_kernel_unsafe that don't need set_fs magic, but instead use arch hooks that are modelled after unsafe_{get,put}_user to access kernel memory in an exception safe way. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>