Thread (110 messages) 110 messages, 6 authors, 2024-08-21

Re: [PATCH v10 23/40] arm64/signal: Set up and restore the GCS context for signal handlers

From: Dave Martin <Dave.Martin@arm.com>
Date: 2024-08-15 16:31:58
Also in: kvmarm, linux-arch, linux-doc, linux-fsdevel, linux-kselftest, linux-mm, linux-riscv, lkml

On Thu, Aug 15, 2024 at 04:29:54PM +0100, Mark Brown wrote:
On Thu, Aug 15, 2024 at 04:11:56PM +0100, Dave Martin wrote:
quoted
On Thu, Aug 15, 2024 at 03:45:45PM +0100, Mark Brown wrote:
quoted
On Thu, Aug 15, 2024 at 02:37:22PM +0100, Dave Martin wrote:
quoted
quoted
quoted
Is there a test for taking and returning from a signal on an alternate
(main) stack, when a shadow stack is in use?  Sounds like something
that would be good to check if not.
quoted
quoted
Not specifically for any of the architectures.
quoted
Can you see any reason why this shouldn't work?
No, it's expected to work - I'm just not specifically aware of an
explicit test for it.  Possibly some of the userspace bringup work
might've covered it?  Any libc tests for altstack support should've
exercised it for example.
That's true; if libc is built to use shadow stack, generic API tests
ought to cover this.
quoted
Maybe I'll hacking up a test if I get around to it, but don't take this
as a promise!
Thanks for your firm commitment!  :P
No problem...

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