Thread (23 messages) 23 messages, 3 authors, 2024-08-07

Re: [PATCH RFT v7 9/9] selftests/clone3: Test shadow stack support

flat view

From: Mark Brown <broonie@kernel.org>
Date: 2024-08-07 22:03:30
Also in: linux-kselftest, lkml

On Wed, Aug 07, 2024 at 12:23:01PM -0700, Kees Cook wrote:
On Wed, Aug 07, 2024 at 01:39:27PM +0100, Mark Brown wrote:
quoted
 		size = args->shadow_stack_size;
+		shstk->base = 0;
+		shstk->size = 0;
Yup, that fixes it!
  # Totals: pass:23 fail:0 xfail:0 xpass:0 skip:1 error:0
(The skip is "Shadow stack on system without shadow stack")
Excellent, thanks!  It's amazing how many dumb mistakes you can find if
you actually try running the code :/ .

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help