diff options
author | Tobias Klauser <[email protected]> | 2021-02-16 18:33:05 +0100 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-02-22 17:51:23 -0800 |
commit | f3d60f2a25e4417e1676161fe42115de3e3f98a2 (patch) | |
tree | 2dbfc31c8d9bf567bbdb58c8c3a98d628362d2df /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cc937cad14fb219770eb593a3e98b6b0d6fd96fd (diff) |
riscv: Disable KSAN_SANITIZE for vDSO
We use the generic C VDSO implementations of a handful of clock-related
functions. When kasan is enabled this results in asan stub calls that
are unlikely to be resolved by userspace, this just disables KASAN
when building the VDSO.
Verified the fix on a kernel with KASAN enabled using vDSO selftests.
Link: https://lore.kernel.org/lkml/CACT4Y+ZNJBnkKHXUf=tm_yuowvZvHwN=0rmJ=7J+xFd+9r_6pQ@mail.gmail.com/
Tested-by: Tobias Klauser <[email protected]>
Signed-off-by: Tobias Klauser <[email protected]>
Tested-by: Dmitry Vyukov <[email protected]>
[Palmer: commit text]
Fixes: ad5d1122b82f ("riscv: use vDSO common flow to reduce the latency of the time-related functions")
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions