Re: [RFC PATCH] x86: Make sure verify_cpu has a good stack

From: Borislav Petkov
Date: Wed Mar 02 2016 - 17:28:53 EST


On Wed, Mar 02, 2016 at 02:11:51PM -0800, H. Peter Anvin wrote:
> Not sure if we need a reference to _text here.

Ah, so stack_start is in .ref.data, I guess we can add a __ref_data
marker in vmlinux.lds.S to denote the start of the .ref.data section and
use that for calculating the delta...

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.