This is the mail archive of the
mailing list for the glibc project.
Re: RFC: Shadow Stack support in glibc
On Fri, Jun 9, 2017 at 4:32 AM, Florian Weimer <email@example.com> wrote:
> On 06/09/2017 01:28 PM, H.J. Lu wrote:
>> Yes, 99% of codes just need to recompile. If context functions
>> are used or jmpbuf is used independently of setjmp/longjmp,
>> enabling is needed.
> Would you please clarify if the size of the type jmp_buf changes in the
> new compilation mode?
jmp_buf size will be increased unconditionally in glibc whose <setjmp.h>
#if shadow stack is enabled
asm ("Turn on shadow stack in program property"):
The old setjmp/longjuimp only use the old jmp_buf size and the new
setjmp/longjuimp use the new jmp_buf size. The new setjmp/longjmp
are used only if all input object files have shadow stack enabled in