[PATCH] arm64/gcs: Fix error handling in arch_set_shadow_stack_status()
Mark Brown
broonie at debian.org
Mon Feb 2 05:11:24 PST 2026
On Fri, Jan 30, 2026 at 01:43:09AM -0800, Breno Leitao wrote:
> alloc_gcs() returns an error-encoded pointer on failure, which comes
> from do_mmap(), not NULL.
Good spot, thanks:
Reviewed-by: Mark Brown <broonie at kernel.org>
> PS: This was compiled-tested only, given I unfortunately don't have
> a hardware to test on _yet_.
You can run with the Arm software models, shrinkwrap provides a
convenient way to do that:
https://shrinkwrap.docs.arm.com/en/latest/
or the very latest qemu.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260202/bb2d1e34/attachment.sig>
More information about the linux-arm-kernel
mailing list