[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Re: [PATCH] xen: Disable stack protector for irq helper
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |