[PATCH] arm64/signal: Don't assume that TIF_SVE means we saved SVE state

Mark Brown broonie at kernel.org
Tue Jan 30 07:42:01 PST 2024


On Tue, Jan 30, 2024 at 02:44:51PM +0000, Dave Martin wrote:

> I think the logic is that any ptrace call that can access or manipulate
> the state of a task is gated on the task being ptrace-stopped.  Once we
> have committed to deliveing a signal, we have obviously run past the
> opportunity to stop (and hence be ptraced) on that signal.

This seems to be all there, the core ptrace and the signal handling code
talk to each other and ensure that we won't try to rewrite the state in
the middle of signal handling so we should be safe here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240130/08d9c407/attachment-0001.sig>


More information about the linux-arm-kernel mailing list