objtool: mem*() are not uaccess safe
authorPeter Zijlstra <peterz@infradead.org>
Mon, 30 Jan 2023 14:21:02 +0000 (15:21 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 11 Feb 2023 10:18:08 +0000 (11:18 +0100)
commit443ed4c302fff6a26af980300463343a7adc9ee8
treeeefe3cc25998b96ac4b321a1d943b4db006a6d95
parent4d627628d7584f3d3add1d53342d0f01aa878e04
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
tools/objtool/check.c