]> git.baikalelectronics.ru Git - kernel.git/commit
maccess: rename strncpy_from_unsafe_strict to strncpy_from_kernel_nofault
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Jun 2020 04:34:17 +0000 (21:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jun 2020 16:39:15 +0000 (09:39 -0700)
commit06119dc82ba17ff6fb7f6c2524f9de85778cf741
treebec4ea8f9f94a2fdf67880b1e950abe55bf2cbb2
parente022d09c32b22885e90c0580d51a62f08e207640
maccess: rename strncpy_from_unsafe_strict to strncpy_from_kernel_nofault

This matches the naming of strncpy_from_user_nofault, 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-8-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/maccess.c
include/linux/uaccess.h
kernel/trace/bpf_trace.c
mm/maccess.c