Re: [RFC PATCH v6 00/26] Control-flow Enforcement: Shadow Stack

2018-11-26 Thread Andy Lutomirski
On Mon, Nov 26, 2018 at 9:44 AM Yu-cheng Yu wrote: > > On Thu, 2018-11-22 at 08:53 -0800, Andy Lutomirski wrote: > > [cc some more libc folks] > > > > > 2. I want to be able to modify the signal context from a signal > > handler such that, when the signal handler returns, it will return to > > a

Re: [RFC PATCH v6 00/26] Control-flow Enforcement: Shadow Stack

2018-11-26 Thread Yu-cheng Yu
On Thu, 2018-11-22 at 08:53 -0800, Andy Lutomirski wrote: > [cc some more libc folks] > > I have a general question about this patch set: > > If I'm writing a user program, and I write a signal handler, there are > two things I want to make sure I can still do: > > 1. I want to be able to unwind

Re: [RFC PATCH v6 00/26] Control-flow Enforcement: Shadow Stack

2018-11-22 Thread Andy Lutomirski
[cc some more libc folks] I have a general question about this patch set: If I'm writing a user program, and I write a signal handler, there are two things I want to make sure I can still do: 1. I want to be able to unwind directly from the signal handler without involving sigreturn() -- that is