Messages in this thread | | | Subject | Re: [RFC PATCH] x86: Make sure verify_cpu has a good stack | From | "H. Peter Anvin" <> | Date | Thu, 3 Mar 2016 13:22:59 -0800 |
| |
On 03/03/16 12:54, Borislav Petkov wrote: > On Thu, Mar 03, 2016 at 12:22:06PM -0800, H. Peter Anvin wrote: >> The only thing I can think of is that the -8 creates a null pointer that >> terminates a stack trace. > > Probably not needed anymore as print_context_stack()->valid_stack_ptr() > in dumpstack.c look at the stack boundaries instead of checking for > NULL... >
Sure, but it could still affect kgdb or what not. That's the only reason I can see for -8 though.
-hpa
| |