This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: Shadow Stack support in glibc
- From: Florian Weimer <fweimer at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Cc: Igor Tsimbalist <tigor dot tools at gmail dot com>, vedvyas dot shanbhogue at intel dot com, yu-cheng dot yu at intel dot com
- Date: Tue, 6 Jun 2017 08:18:49 +0200
- Subject: Re: RFC: Shadow Stack support in glibc
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 55C1280B29
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 55C1280B29
- References: <CAMe9rOqN7oNWWmbw_NmaP=TpBDY7jh=MNbJQNaiOR901Rs7bcw@mail.gmail.com>
On 06/05/2017 11:36 PM, H.J. Lu wrote:
> Most of glibc functions are compatible with Shadow Stack, except for
>
> 1. setjmp/longjmp need to be extended to support Shadow Stack.
> 2. getcontext/setcontext may be extended to support Shadow Stack.
> 3. makecontext/swapcontext are hard to support Shadow Stack.
What about these?
clone
sigaltstack
pthread_attr_setstack
pthread_attr_setstackaddr
pthread_attr_setstacksize
Thanks,
Florian