mailing list of musl libc
 help / color / mirror / code / Atom feed
* [RFC PATCH 0/7] Segmentation-hardened SafeStack support
@ 2016-09-27 22:33 LeMay, Michael
  0 siblings, 0 replies; only message in thread
From: LeMay, Michael @ 2016-09-27 22:33 UTC (permalink / raw)
  To: musl

Here is the current revision of my patches for providing 
segmentation-hardened SafeStack support.

See http://lists.llvm.org/pipermail/llvm-dev/2016-May/100346.html for 
information on the corresponding compiler patches.

Comments appreciated.

Michael LeMay (7):
   add --enable-safe-stack configuration option
   avoid invoking the vDSO when SafeStack is enabled
   disable check for buggy brk implementations when SafeStack is enabled
   add stack segment override prefix to i386 __clone
   support SafeStack in init and threading
   support dynamic linking with segmentation-hardened SafeStack
   add compiler flags to enable SafeStack

  Makefile                    |   8 ++
  arch/i386/syscall_arch.h    |  13 +++
  configure                   |   5 +
  ldso/dlstart.c              |  23 ++++-
  ldso/dynlink.c              |  44 ++++++--
  src/env/__libc_start_main.c |  19 ++++
  src/env/__safestack.c       | 241 
++++++++++++++++++++++++++++++++++++++++++++
  src/internal/pthread_impl.h |   4 +
  src/malloc/expand_heap.c    |   2 +
  src/thread/i386/clone.s     |   2 +-
  src/thread/pthread_create.c |  72 ++++++++++++-
  11 files changed, 420 insertions(+), 13 deletions(-)
  create mode 100644 src/env/__safestack.c

-- 
2.7.4



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-27 22:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-27 22:33 [RFC PATCH 0/7] Segmentation-hardened SafeStack support LeMay, Michael

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).