Re: [PATCH v21 06/26] x86/cet: Add control-protection fault handler

From
Borislav Petkov <bp@alien8.de>
Date
2021-02-24 19:21:59
Also in
linux-api, linux-arch, linux-mm, lkml
Reply to
Yu, Yu-cheng, 2021-02-24
On Wed, Feb 24, 2021 at 09:56:13AM -0800, Yu, Yu-cheng wrote:
No.  Maybe I am doing too much.  The GP fault sets si_addr to zero, for
example.  So maybe do the same here?
No, you're looking at this from the wrong angle. This is going to be
user-visible and the moment it gets upstream, it is cast in stone.

So the whole use case of what luserspace needs to do or is going to do
or wants to do on a SEGV_CPERR, needs to be described, agreed upon by
people etc before it goes out. And thus clarified whether the address
gets copied out or not.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Thread (44 messages) 44 messages, 3 authors, last reply 2021-03-08
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