mirror of https://gitee.com/openkylin/linux.git
objtool, kcsan: Add __tsan_read_write to uaccess whitelist
Adds the new __tsan_read_write compound instrumentation to objtool's uaccess whitelist. Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
14e2ac8de0
commit
a81b37590f
|
@ -528,6 +528,11 @@ static const char *uaccess_safe_builtin[] = {
|
||||||
"__tsan_write4",
|
"__tsan_write4",
|
||||||
"__tsan_write8",
|
"__tsan_write8",
|
||||||
"__tsan_write16",
|
"__tsan_write16",
|
||||||
|
"__tsan_read_write1",
|
||||||
|
"__tsan_read_write2",
|
||||||
|
"__tsan_read_write4",
|
||||||
|
"__tsan_read_write8",
|
||||||
|
"__tsan_read_write16",
|
||||||
"__tsan_atomic8_load",
|
"__tsan_atomic8_load",
|
||||||
"__tsan_atomic16_load",
|
"__tsan_atomic16_load",
|
||||||
"__tsan_atomic32_load",
|
"__tsan_atomic32_load",
|
||||||
|
|
Loading…
Reference in New Issue