aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDmitry Vyukov <[email protected]>2018-01-29 18:26:06 +0100
committerIngo Molnar <[email protected]>2018-03-12 12:15:35 +0100
commita35353bb9eb1990a44a0d7585f99e9589bcdb682 (patch)
tree1e9d221ae599ad730cb047c4e1b99b45bbaba011 /tools/perf/util/scripting-engines/trace-event-python.c
parent8bf705d130396e69c04cd8e6e010244ad2ce71f4 (diff)
locking/atomic, asm-generic: Add KASAN instrumentation to atomic operations
KASAN uses compiler instrumentation to intercept all memory accesses. But it does not see memory accesses done in assembly code. One notable user of assembly code is atomic operations. Frequently, for example, an atomic reference decrement is the last access to an object and a good candidate for a racy use-after-free. Add manual KASAN checks to atomic operations. Signed-off-by: Dmitry Vyukov <[email protected]> Cc: Andrew Morton <[email protected]>, Cc: Andrey Ryabinin <[email protected]>, Cc: Linus Torvalds <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Will Deacon <[email protected]>, Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/2fa6e7f0210fd20fe404e5b67e6e9213af2b69a1.1517246437.git.dvyukov@google.com Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions