Re: [PATCH] x86_32, entry: store badsys error code in %eax

From: Andy Lutomirski
Date: Mon Jul 21 2014 - 13:23:51 EST


On Mon, Jul 21, 2014 at 10:20 AM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 07/21/2014 09:53 AM, Andy Lutomirski wrote:
>> On Sun, Jul 20, 2014 at 3:07 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>>> This is not a subtle regression at all. It is in fact a very very serious one.
>>
>> Indeed.
>>
>> Does this really work correctly on sysenter? It sure looks like the
>> sysenter path has the same problem.
>>
>> Grr. I'm not set up to properly test 32-bit kernels. The patch looks
>> correct, but I'm obviously not an infallible authority on "looking
>> correct" when it comes to entry_32.S.
>>
>> --Andy
>>
>
> KVM is great for that sort of things.

This may finally inspire me to teach virtme how to boot an alternate
root. I got sick of dealing with VM images awhile ago.

--Andy

>
> -hpa
>
>



--
Andy Lutomirski
AMA Capital Management, LLC
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/