Re: [PATCH] i386: fix stack alignment for signal handlers

From: Markus F.X.J. Oberhumer
Date: Sun Oct 09 2005 - 12:15:09 EST


Andi Kleen wrote:
On Sunday 09 October 2005 18:54, Markus F.X.J. Oberhumer wrote:


Here is a somewhat simplified version of my previous patch with
updated comments.

Attached is also a new small user-space test program which does not
depend on any special gcc features and should trigger the problem on all
machines.


I already have a version of the patch in my queue, but it's not a strict bugfix so it's only for after 2.6.14.

I see, many thanks.

Please note that your current version could waste 16-bytes for unneeded alignment, while my new version does not. Not a real problem, but still things like these should be done right.

~Markus


-Andi

ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt-current/patches/sigframe-alignment



--
Markus Oberhumer, <markus@xxxxxxxxxxxxx>, http://www.oberhumer.com/
-
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/