]> git.baikalelectronics.ru Git - kernel.git/commit
maccess: rename strnlen_unsafe_user to strnlen_user_nofault
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Jun 2020 04:34:20 +0000 (21:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jun 2020 16:39:15 +0000 (09:39 -0700)
commit0acd146c185945265efeee6c60ad2c35b0194ea0
tree2ea80889a6ac1af4d7fcf50d11f15a661112d674
parent294b4dcc244fc793312bdfc33ac52f4cc9789e25
maccess: rename strnlen_unsafe_user to strnlen_user_nofault

This matches the naming of strnlen_user, and also makes it more clear
what the function is supposed to do.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.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: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20200521152301.2587579-9-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/uaccess.h
kernel/trace/trace_kprobe.c
mm/maccess.c