summaryrefslogtreecommitdiffstats
path: root/mm/page_counter.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-08 21:35:04 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-09 09:39:16 -0700
commit2a71e81d32198785387c8bc0f2cc5d78f84e2e78 (patch)
tree8fae2ecb69aa0286ab0e2c7fe9e3ca3678f37251 /mm/page_counter.c
parentfa94111d94354de76c47fea6e1187d1ee91e23a7 (diff)
downloadlinux-2a71e81d32198785387c8bc0f2cc5d78f84e2e78.tar.bz2
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 <mhiramat@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Masami Hiramatsu <mhiramat@kernel.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: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20200521152301.2587579-24-hch@lst.de Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_counter.c')
0 files changed, 0 insertions, 0 deletions