All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] usercopy: reimplement arch_within_stack_frames
@ 2018-04-10  7:30 kpark3469
  2018-04-10  7:30 ` [PATCH v4 1/3] stacktrace: move arch_within_stack_frames from thread_info.h kpark3469
  0 siblings, 1 reply; 4+ messages in thread
From: kpark3469 @ 2018-04-10  7:30 UTC (permalink / raw)
  To: kernel-hardening
  Cc: catalin.marinas, keescook, will.deacon, mark.rutland,
	james.morse, panand, keun-o.park, psodagud, jpoimboe, mingo,
	linux-kernel

From: Sahara <keun-o.park@darkmatter.ae>

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(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-10  7:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-10  7:30 [PATCH v4 0/3] usercopy: reimplement arch_within_stack_frames kpark3469
2018-04-10  7:30 ` [PATCH v4 1/3] stacktrace: move arch_within_stack_frames from thread_info.h kpark3469
2018-04-10  7:30   ` [PATCH v4 2/3] arm64: usercopy: implement arch_within_stack_frames kpark3469
2018-04-10  7:30     ` [PATCH v4 3/3] x86: usercopy: reimplement arch_within_stack_frames with unwinder kpark3469

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.