diff options
author | Will Deacon <[email protected]> | 2020-04-14 22:22:47 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-04-15 21:36:41 +0100 |
commit | c6a771d932332568df9f46a3b53507c578e8c8e8 (patch) | |
tree | 75d1c03409b023605b61d1e2427479e08f8e302e /tools/perf/scripts/python/syscall-counts.py | |
parent | 9b4fb5cec031f81ef436bf2cfd9fc265e25f6e45 (diff) |
arm64: csum: Disable KASAN for do_csum()
do_csum() over-reads the source buffer and therefore abuses
READ_ONCE_NOCHECK() to avoid tripping up KASAN. In preparation for
READ_ONCE_NOCHECK() becoming a macro, and therefore losing its
'__no_sanitize_address' annotation, just annotate do_csum() explicitly
and fall back to normal loads.
Cc: Mark Rutland <[email protected]>
Cc: Robin Murphy <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions