diff options
author | Marco Elver <elver@google.com> | 2021-03-13 06:08:00 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-03-13 20:27:30 +0100 |
commit | 0aa41cae92c1e2e61ae5b3a2dde8e674172e40ac (patch) | |
tree | ac5e4d06e1703059b8f87899665ebf521fbfdb6d /mm/mempolicy.c | |
parent | kfence, slab: fix cache_alloc_debugcheck_after() for bulk allocations (diff) | |
download | linux-0aa41cae92c1e2e61ae5b3a2dde8e674172e40ac.tar.xz linux-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/mempolicy.c')
0 files changed, 0 insertions, 0 deletions