diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-17 09:37:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-17 19:57:41 +0200 |
commit | c0ee37e85e0e47402b8bbe35b6cec8e06937ca58 (patch) | |
tree | 76c302de27669f5fe8d4494ce584379d7278c59d /kernel/trace/trace_kprobe.c | |
parent | maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault (diff) | |
download | linux-c0ee37e85e0e47402b8bbe35b6cec8e06937ca58.tar.xz linux-c0ee37e85e0e47402b8bbe35b6cec8e06937ca58.zip |
maccess: rename probe_user_{read,write} to copy_{from,to}_user_nofault
Better describe what these functions do.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/trace/trace_kprobe.c')
-rw-r--r-- | kernel/trace/trace_kprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index 841c74863ff8..aefb6065b508 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c @@ -1290,7 +1290,7 @@ probe_mem_read_user(void *dest, void *src, size_t size) { const void __user *uaddr = (__force const void __user *)src; - return probe_user_read(dest, uaddr, size); + return copy_from_user_nofault(dest, uaddr, size); } static nokprobe_inline int |