[PATCH v2 2/4] arm64/signal: Include TPIDR2 in the signal context

Mark Brown broonie at kernel.org
Fri Nov 18 06:04:16 PST 2022


On Fri, Nov 18, 2022 at 01:53:43PM +0000, Will Deacon wrote:
> On Tue, Nov 15, 2022 at 05:13:39PM +0000, Mark Brown wrote:

> > Context switch is handled, part of context switch is to restore
> > the value from the task struct, but other cases aren't AFAICT.
> > This is in general an oversight in our signal testing framework,
> > it does not have a pattern of validating values set in signals.

> Right, but my question is about going to userspace _before_ we context
> switch, so I think there's an issue here.

Yes - like I say "other cases aren't AFAICT".
-------------- 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/20221118/d2d12d06/attachment-0001.sig>


More information about the linux-arm-kernel mailing list