On 12/18/2017 01:25 PM, H.J. Lu wrote: > If we don't restore shadow stack pointer, when we jump back to tst-foo.c:45, > shadow stack won't match call stack when threadfunc () returns. But threadfunc never returns if the thread is canceled, so I'm still as puzzled as before. Sorry. Florian