Re: [PATCHv5 bpf-next 6/8] x86/shstk: Add return uprobe support

From
Edgecombe, Rick P <rick.p.edgecombe@intel.com>
Date
2024-05-15 15:31:40
Also in
bpf, linux-man, linux-trace-kernel, lkml
Reply to
Oleg Nesterov, 2024-05-15
On Wed, 2024-05-15 at 17:26 +0200, Oleg Nesterov wrote:
quoted
I think it will crash, there's explanation in the comment in
tools/testing/selftests/x86/test_shadow_stack.c test
OK, thanks...

But test_shadow_stack.c doesn't do ARCH_PRCTL(ARCH_SHSTK_DISABLE) if
all the tests succeed ? Confused but nevermind.
The last test disables shadow stack as part of the test. So if it succeeds it
doesn't need to disable the shadow stack to prevent underflow.
Thread (32 messages) 32 messages, 7 authors, last reply 2024-05-21
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