commit | 2a71e81d32198785387c8bc0f2cc5d78f84e2e78 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <[email protected]> | Mon Jun 08 21:35:04 2020 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Jun 09 09:39:16 2020 -0700 |
tree | 8fae2ecb69aa0286ab0e2c7fe9e3ca3678f37251 | |
parent | fa94111d94354de76c47fea6e1187d1ee91e23a7 [diff] |
maccess: return -ERANGE when probe_kernel_read() fails Allow the callers to distinguish a real unmapped address vs a range that can't be probed. Suggested-by: Masami Hiramatsu <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Masami Hiramatsu <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>