* [tip: locking/core] objtool: whitelist __sanitizer_cov_trace_switch()
@ 2020-03-28 11:06 tip-bot2 for Al Viro
0 siblings, 0 replies; only message in thread
From: tip-bot2 for Al Viro @ 2020-03-28 11:06 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Al Viro, x86, LKML
The following commit has been merged into the locking/core branch of tip:
Commit-ID: 36b1c7006736517f5a9d86eb6f8d5930a2aa64bf
Gitweb: https://git.kernel.org/tip/36b1c7006736517f5a9d86eb6f8d5930a2aa64bf
Author: Al Viro <viro@zeniv.linux.org.uk>
AuthorDate: Sun, 16 Feb 2020 13:07:49 -05:00
Committer: Al Viro <viro@zeniv.linux.org.uk>
CommitterDate: Fri, 27 Mar 2020 23:58:53 -04:00
objtool: whitelist __sanitizer_cov_trace_switch()
it's not really different from e.g. __sanitizer_cov_trace_cmp4();
as it is, the switches that generate an array of labels get
rejected by objtool, while slightly different set of cases
that gets compiled into a series of comparisons is accepted.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
tools/objtool/check.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index 4768d91..3667c5d 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -478,6 +478,7 @@ static const char *uaccess_safe_builtin[] = {
"__sanitizer_cov_trace_cmp2",
"__sanitizer_cov_trace_cmp4",
"__sanitizer_cov_trace_cmp8",
+ "__sanitizer_cov_trace_switch",
/* UBSAN */
"ubsan_type_mismatch_common",
"__ubsan_handle_type_mismatch",
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-28 11:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-28 11:06 [tip: locking/core] objtool: whitelist __sanitizer_cov_trace_switch() tip-bot2 for Al Viro
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).