diff options
author | Daniel Axtens <[email protected]> | 2021-06-28 19:40:42 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-06-29 10:53:53 -0700 |
commit | af3751f3c2b6282bebcb56c35bbe4c8b671f80aa (patch) | |
tree | 1bfdeaffdc16132fe926773b99edee86bb4e99fc /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 158f25522ca8cc87f512a03ed5e2a5923bd37eb3 (diff) |
kasan: allow architectures to provide an outline readiness check
Allow architectures to define a kasan_arch_is_ready() hook that bails out
of any function that's about to touch the shadow unless the arch says that
it is ready for the memory to be accessed. This is fairly uninvasive and
should have a negligible performance penalty.
This will only work in outline mode, so an arch must specify
ARCH_DISABLE_KASAN_INLINE if it requires this.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Daniel Axtens <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Suggested-by: Christophe Leroy <[email protected]>
Reviewed-by: Andrey Konovalov <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions