Commit 50a19ad4 authored by Marco Elver's avatar Marco Elver Committed by Paul E. McKenney

objtool, kcsan: Add kcsan_disable_current() and kcsan_enable_current_nowarn()

Both are safe to be called from uaccess contexts.
Signed-off-by: default avatarMarco Elver <elver@google.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 19acd03d
...@@ -472,6 +472,8 @@ static const char *uaccess_safe_builtin[] = { ...@@ -472,6 +472,8 @@ static const char *uaccess_safe_builtin[] = {
"kcsan_found_watchpoint", "kcsan_found_watchpoint",
"kcsan_setup_watchpoint", "kcsan_setup_watchpoint",
"kcsan_check_scoped_accesses", "kcsan_check_scoped_accesses",
"kcsan_disable_current",
"kcsan_enable_current_nowarn",
/* KCSAN/TSAN */ /* KCSAN/TSAN */
"__tsan_func_entry", "__tsan_func_entry",
"__tsan_func_exit", "__tsan_func_exit",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment