From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10673 Path: news.gmane.org!.POSTED!not-for-mail From: "LeMay, Michael" Newsgroups: gmane.linux.lib.musl.general Subject: [RFC PATCH v2 0/4] SafeStack support Date: Fri, 28 Oct 2016 12:48:48 -0700 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1477684183 18738 195.159.176.226 (28 Oct 2016 19:49:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2016 19:49:43 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 To: "musl@lists.openwall.com" Original-X-From: musl-return-10686-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 28 21:49:39 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1c0D9C-00005w-6e for gllmg-musl@m.gmane.org; Fri, 28 Oct 2016 21:49:02 +0200 Original-Received: (qmail 1572 invoked by uid 550); 28 Oct 2016 19:49:02 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 1519 invoked from network); 28 Oct 2016 19:49:00 -0000 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,411,1473145200"; d="scan'208";a="1060756026" Xref: news.gmane.org gmane.linux.lib.musl.general:10673 Archived-At: I refactored my patches into two series. This is the first series, which provides architecture-independent support for SafeStack. The second series adds support for segmentation-hardened SafeStack. Michael LeMay (4): disable check for buggy brk implementations when SafeStack is enabled support SafeStack in init and threading support dynamic linking with SafeStack add SafeStack build support Makefile | 42 ++++++++++++++++- configure | 10 ++++ ldso/dynlink.c | 16 +++++++ src/env/__libc_start_main.c | 16 +++++++ src/internal/pthread_impl.h | 13 ++++++ src/internal/safe_stack.c | 109 ++++++++++++++++++++++++++++++++++++++++++++ src/malloc/expand_heap.c | 2 + src/thread/pthread_create.c | 16 ++++++- 8 files changed, 222 insertions(+), 2 deletions(-) create mode 100644 src/internal/safe_stack.c -- 2.7.4