|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper
To: |
Bastian Blank <bastian@xxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, the arch/x86 maintainers <x86@xxxxxxxxxx>, Stable Kernel <stable@xxxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Subject: |
Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper |
From: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Date: |
Mon, 12 Oct 2009 15:20:14 -0700 |
Cc: |
|
Delivery-date: |
Mon, 12 Oct 2009 15:20:36 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<20091012211258.GA21213@xxxxxxxxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<4AC92A65.40806@xxxxxxxx> <20091005013517.GA6081@xxxxxxxxxxxxxxxxxxxxxxx> <4ACA2AFD.4080305@xxxxxxxx> <20091005224310.GA32144@xxxxxxxxxxxxxxxxxxxxxxx> <4ACA90F2.1060909@xxxxxxxx> <20091006033050.GA6332@xxxxxxxxxxxxxxxxxxxxxxx> <4ACB93F8.5010900@xxxxxxxx> <20091007163521.GA17998@xxxxxxxxxxxxxxxxxxxxxxx> <4ACD3346.3010307@xxxxxxxx> <20091012205208.GE17163@xxxxxxx> <20091012211258.GA21213@xxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-2.7.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
On 10/12/09 14:12, Bastian Blank wrote:
> On Mon, Oct 12, 2009 at 10:52:08PM +0200, Ingo Molnar wrote:
>
>> ping - any update about this fix? Since it fixes a real crash it would
>> be nice to fix this for .32.
>>
> It works nicely.
>
> But IMHO this whole infrastructure should go for now, at least until gcc
> is able to produce functions with this call convention on its own. Or it
> needs to be restricted to only assembler functions. The other users of
> this may only work because the stack protector is already disabled for
> arch/x86/xen/mmu.o.
>
No, the infrastructure is fine and completely compliant with the ABI
(which doesn't change with stackprotector). But there were a couple of
interrupt-related calls which didn't use the infrastructure properly,
and failed to preserve edx properly; we'd gotten away with it until now
because the called functions were very simple and didn't end up using
edx - until stackprotector.
The fix is to use the infrastructure consistently.
I'll put together a suitable patch.
J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, (continued)
- [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Bastian Blank
- [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Jeremy Fitzhardinge
- Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Bastian Blank
- Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Jeremy Fitzhardinge
- Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Bastian Blank
- Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Jeremy Fitzhardinge
- Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Bastian Blank
- Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Jeremy Fitzhardinge
- Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Ingo Molnar
- Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Bastian Blank
- Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper,
Jeremy Fitzhardinge <=
- Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper, Jeremy Fitzhardinge
- [Xen-devel] [tip:x86/urgent] x86/paravirt: Use normal calling sequences for irq enable/disable, tip-bot for Jeremy Fitzhardinge
[Xen-devel] [PATCH] xen: fbdev frontend needs xenbus frontend, Bastian Blank
|
|
|
|
|