summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2025-08-20 14:28:34 +0200
committerPeter Zijlstra <peterz@infradead.org>2025-08-21 20:09:22 +0200
commitf349ec80865dfeaf8a33feae6b4a500db039c69c (patch)
treea106ea4718a82888f61572181ca4d74a54769558 /tools/perf/scripts/python/libxed.py
parent7c2bfc183b05103287cc32ad68184f7d4312c06d (diff)
downloadkernel-f349ec80865dfeaf8a33feae6b4a500db039c69c.tar.gz
uprobes/x86: Fix uprobe syscall vs shadow stack
The uprobe syscall stores and strips the trampoline stack frame from the user context, to make it appear similar to an exception at the original instruction. It then restores the trampoline stack when it can exit using sysexit. Make sure to match the regular stack manipulation with shadow stack operations such that regular and shadow stack don't get out of sync and causes trouble. This enables using the optimization when shadow stack is in use. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20250821123657.055790090@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
ge from CODEC driversMark Brown 2012-02-04ASoC: core: Add support for DAI and machine kcontrols.Liam Girdwood 2012-01-02ASoC: Convert tlv320aic26 to devm_kzalloc()Axel Lin