[RFC PATCH v3 00/22] arm64: livepatch: Use ORC for dynamic frame pointer validation

Madhavan T. Venkataraman madvenka at linux.microsoft.com
Fri Apr 7 20:41:40 PDT 2023


Sorry for the delay. Someone else also pointed out the same thing. I just have not
had the chance to look at this. I plan to soon.

Thanks.

Madhavan

On 4/3/23 17:26, Dylan Hatch wrote:
>> Then, I noticed that invoke_syscall generates instructions to add random offset
>> in sp when RANDOMIZE_KSTACK_OFFSET=y, which is true in the above case.
> 
> I'm also seeing this behavior when compiling with
> RANDOMIZE_KSTACK_OFFSET=y. I wonder if a special hint type
> could/should be added to allow for skipping the reliability check for
> stack frames with this randomized offset? Forgive me if this is a
> naive suggestion.
> 
> Thanks,
> Dylan



More information about the linux-arm-kernel mailing list