* [tip: locking/kcsan] objtool, kcsan: Add explicit check functions to uaccess whitelist
@ 2020-05-08 13:46 tip-bot2 for Marco Elver
0 siblings, 0 replies; only message in thread
From: tip-bot2 for Marco Elver @ 2020-05-08 13:46 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Marco Elver, Paul E. McKenney, x86, LKML
The following commit has been merged into the locking/kcsan branch of tip:
Commit-ID: 9967683ce5d4ce21829bbc807e006ee33cc68725
Gitweb: https://git.kernel.org/tip/9967683ce5d4ce21829bbc807e006ee33cc68725
Author: Marco Elver <elver@google.com>
AuthorDate: Wed, 25 Mar 2020 17:41:57 +01:00
Committer: Paul E. McKenney <paulmck@kernel.org>
CommitterDate: Mon, 13 Apr 2020 17:18:12 -07:00
objtool, kcsan: Add explicit check functions to uaccess whitelist
Add explicitly invoked KCSAN check functions to objtool's uaccess
whitelist. This is needed in order to permit calling into
kcsan_check_scoped_accesses() from the fast-path, which in turn calls
__kcsan_check_access(). __kcsan_check_access() is the generic variant
of the already whitelisted specializations __tsan_{read,write}N.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
---
tools/objtool/check.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index b6da413..b6a573d 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -468,8 +468,10 @@ static const char *uaccess_safe_builtin[] = {
"__asan_report_store8_noabort",
"__asan_report_store16_noabort",
/* KCSAN */
+ "__kcsan_check_access",
"kcsan_found_watchpoint",
"kcsan_setup_watchpoint",
+ "kcsan_check_scoped_accesses",
/* KCSAN/TSAN */
"__tsan_func_entry",
"__tsan_func_exit",
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-08 13:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 13:46 [tip: locking/kcsan] objtool, kcsan: Add explicit check functions to uaccess whitelist tip-bot2 for Marco Elver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).