Re: [PATCH] x86: Get the previous shadow stack pointer from the restore token

2023-12-16 Thread H.J. Lu
On Sat, Dec 16, 2023 at 8:41 AM Richard Biener wrote: > > > > > Am 16.12.2023 um 16:56 schrieb H.J. Lu : > > > > Linux CET kernel places a restore token on shadow stack followed by > > optional additional information for signal handler to enhance security. > > The restore token is the previous sh

Re: [PATCH] x86: Get the previous shadow stack pointer from the restore token

2023-12-16 Thread Richard Biener
> Am 16.12.2023 um 16:56 schrieb H.J. Lu : > > Linux CET kernel places a restore token on shadow stack followed by > optional additional information for signal handler to enhance security. > The restore token is the previous shadow stack pointer with bit 63 set. > It is usually transparent to