[PATCH v2] arm64: signal: Ensure signal delivery failure is recoverable
Mark Brown
broonie at kernel.org
Thu Dec 12 08:47:46 PST 2024
On Tue, Dec 10, 2024 at 04:09:40PM +0000, Kevin Brodsky wrote:
> While at it, also take care of copy_siginfo_to_user(): since it may
> fail, we shouldn't be calling it after setup_return() either. Call
> it before setup_return() instead, and move the setting of X1/X2
> inside setup_return() where it belongs (after the "point of no
> failure").
> Fixes: eaf62ce1563b ("arm64/signal: Set up and restore the GCS context for signal handlers")
Presumably we also need a Fixes for whatever introduced the above copy.
Otherwise
Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- 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/20241212/929a0413/attachment.sig>
More information about the linux-arm-kernel
mailing list