Re: [PATCH 3/4] x86/rust: depend on !RETHUNK

From: Martin Rodriguez Reboredo
Date: Tue Oct 24 2023 - 14:48:46 EST


On 10/23/23 19:15, Miguel Ojeda wrote:
On Mon, Oct 23, 2023 at 8:43 PM Martin Rodriguez Reboredo
<yakoyoku@xxxxxxxxx> wrote:

I'll mention that I've tested boots, both in bare metal and QEMU, with
`RUST=y` and `RETHUNK=y` and they were alright regardless of `objtool`
warnings. Although, if you had an issue in the past then I'd like to know
about it.

These are mitigations -- things do functionally work if they are not
applied, but you would be vulnerable.

In other words, it is not like e.g. IBT where you could have noticed
it breaking by running it normally if you happened to have a supported
platform.

Cheers,
Miguel

'Guess you have a point...

Acked-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx>