This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] Linux/x86: Update cancel_jmp_buf to match __jmp_buf_tag [BZ #22563]


On Mon, Dec 18, 2017 at 6:48 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Mon, Dec 18, 2017 at 6:44 AM, Andreas Schwab <schwab@suse.de> wrote:
>> On Dez 18 2017, "H.J. Lu" <hjl.tools@gmail.com> wrote:
>>
>>> This patch adds bits/types/__cancel_jmp_buf_tag.h to define struct
>>> __cancel_jmp_buf_tag so that Linux/x86 can add saved_mask to
>>> cancel_jmp_buf.
>>
>> Isn't that an ABI change?
>>
>
> Yes, this change is exposed to application via <phread.h>.  The backward
> binary compatibility is provided by
>
> https://sourceware.org/ml/libc-alpha/2017-12/msg00208.html
>

Here is the patch of shadow stack enabled setjmp/longjmp:

https://sourceware.org/ml/libc-alpha/2017-12/msg00559.html

which is backward binary compatible with existing binaries.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]