diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2025-10-24 13:31:10 +0300 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-12 14:09:28 +0300 |
| commit | f7df71d26b308a3588e240300740e11e844845cf (patch) | |
| tree | 38a72a15179179d4b28d969ba07bee084c89ed84 /include/linux | |
| parent | b9537a51b65af020c44a33247fa81a5702b43446 (diff) | |
| download | linux-f7df71d26b308a3588e240300740e11e844845cf.tar.xz | |
unwind_user/x86: Teach FP unwind about start of function
[ Upstream commit ae25884ad749e7f6e0c3565513bdc8aa2554a425 ]
When userspace is interrupted at the start of a function, before we
get a chance to complete the frame, unwind will miss one caller.
X86 has a uprobe specific fixup for this, add bits to the generic
unwinder to support this.
Suggested-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251024145156.GM4068168@noisy.programming.kicks-ass.net
Stable-dep-of: d55c571e4333 ("x86/uprobes: Fix XOL allocation failure for 32-bit tasks")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/unwind_user_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/unwind_user_types.h b/include/linux/unwind_user_types.h index 938f7e623332..412729a269bc 100644 --- a/include/linux/unwind_user_types.h +++ b/include/linux/unwind_user_types.h @@ -39,6 +39,7 @@ struct unwind_user_state { unsigned int ws; enum unwind_user_type current_type; unsigned int available_types; + bool topmost; bool done; }; |
