usercopy: reimplement arch_within_stack_frames
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 0 repliesNew
- v33 patches 2 repliesSuperseded
- v23 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 12 replies | Superseded |
Changes in v4 from the cover letter
- Fix build problem caused by page_ext.h change
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | stacktrace: move arch_within_stack_frames from thread_info.harch/ arch/ arch/ +3 more | +76 | 0 replies | |
| 2/3 | arm64: usercopy: implement arch_within_stack_framesarch/ arch/ | +77 | 0 replies | |
| 3/3 | x86: usercopy: reimplement arch_within_stack_frames with unwinderarch/ arch/ arch/ | +57 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Kees Cook | Sahara |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/3] usercopy: reimplement arch_within_stack_frames
From: Sahara <[email protected]>
This series of patches introduce the arm64 arch_within_stack_frames implementation using stacktrace functions. Also the base code is moved from thread_info.h to stacktrace.h. x86 code is reimplemented to use frame pointer unwinder functions.
Note: The code is still missing in case of using x86 ORC unwinder and guess unwinder.
v2 changes:
- Remove 'arm64: usercopy: consider dynamic array stack variable'
- minor fix in x86 arch_within_stack_frames code.
v3 changes:
- Fix build problem caused by circular inclusion of header in x86 UP config
v4 changes:
- Fix build problem caused by page_ext.h change
James Morse (1):
arm64: usercopy: implement arch_within_stack_frames
Sahara (2):
stacktrace: move arch_within_stack_frames from thread_info.h
x86: usercopy: reimplement arch_within_stack_frames with unwinder
arch/arm64/Kconfig | 1 + arch/arm64/kernel/stacktrace.c | 76 +++++++++++++++++++++++++++++++++ arch/x86/include/asm/thread_info.h | 51 +--------------------- arch/x86/include/asm/unwind.h | 5 +++ arch/x86/kernel/Makefile | 2 +- arch/x86/kernel/stacktrace.c | 87 ++++++++++++++++++++++++++++++++++++++ arch/x86/kernel/unwind_frame.c | 4 +- include/linux/stacktrace.h | 24 +++++++++++ include/linux/thread_info.h | 21 --------- mm/usercopy.c | 2 +- 10 files changed, 197 insertions(+), 76 deletions(-)
Signature · 1 line
2.7.4