summaryrefslogtreecommitdiffstats
path: root/mm/mincore.c
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2021-03-12 21:08:00 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2021-03-13 11:27:30 -0800
commit0aa41cae92c1e2e61ae5b3a2dde8e674172e40ac (patch)
treeac5e4d06e1703059b8f87899665ebf521fbfdb6d /mm/mincore.c
parentdf3ae2c9941d38106afd67d7816b58f6dc7405e8 (diff)
downloadlinux-stable-0aa41cae92c1e2e61ae5b3a2dde8e674172e40ac.tar.gz
linux-stable-0aa41cae92c1e2e61ae5b3a2dde8e674172e40ac.tar.bz2
linux-stable-0aa41cae92c1e2e61ae5b3a2dde8e674172e40ac.zip
kfence: fix reports if constant function prefixes exist
Some architectures prefix all functions with a constant string ('.' on ppc64). Add ARCH_FUNC_PREFIX, which may optionally be defined in <asm/kfence.h>, so that get_stack_skipnr() can work properly. Link: https://lkml.kernel.org/r/f036c53d-7e81-763c-47f4-6024c6c5f058@csgroup.eu Link: https://lkml.kernel.org/r/20210304144000.1148590-1-elver@google.com Signed-off-by: Marco Elver <elver@google.com> Reported-by: Christophe Leroy <christophe.leroy@csgroup.eu> Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: Alexander Potapenko <glider@google.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Andrey Konovalov <andreyknvl@google.com> Cc: Jann Horn <jannh@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions