diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-01-30 15:21:02 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-02-11 11:18:08 +0100 |
commit | 443ed4c302fff6a26af980300463343a7adc9ee8 (patch) | |
tree | eefe3cc25998b96ac4b321a1d943b4db006a6d95 /tools/objtool | |
parent | 4d627628d7584f3d3add1d53342d0f01aa878e04 (diff) |
objtool: mem*() are not uaccess safe
For mysterious raisins I listed the new __asan_mem*() functions as
being uaccess safe, this is giving objtool fails on KASAN builds
because these functions call out to the actual __mem*() functions
which are not marked uaccess safe.
Removing it doesn't make the robots unhappy.
Fixes: 69d4c0d32186 ("entry, kasan, x86: Disallow overriding mem*() functions")
Reported-by: "Paul E. McKenney" <paulmck@kernel.org>
Bisected-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20230126182302.GA687063@paulmck-ThinkPad-P17-Gen-1
Diffstat (limited to 'tools/objtool')
-rw-r--r-- | tools/objtool/check.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 10b5bb4b7886..b118f588cd2b 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -1083,9 +1083,6 @@ static const char *uaccess_safe_builtin[] = { "__asan_store16_noabort", "__kasan_check_read", "__kasan_check_write", - "__asan_memset", - "__asan_memmove", - "__asan_memcpy", /* KASAN in-line */ "__asan_report_load_n_noabort", "__asan_report_load1_noabort", |