Re: [PATCH v29 23/32] x86/cet/shstk: Add user-mode shadow stack support

From
Borislav Petkov <bp@alien8.de>
Date
2021-08-27 18:20:30
Also in
linux-api, linux-arch, linux-doc, lkml
Reply to
Yu, Yu-cheng, 2021-08-27
On Fri, Aug 27, 2021 at 11:10:31AM -0700, Yu, Yu-cheng wrote:
Because on context switches the whole xstates are switched together,
we need to make sure all are in registers.
There's context switch code which does that already.

Why would shstk_setup() be responsible for switching the whole extended
states buffer instead of only the shadow stack stuff only?

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Thread (51 messages) 51 messages, 5 authors, last reply 2021-09-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help