Staging
v0.5.1
https://github.com/torvalds/linux
Revision d347f372273c2b3d86a66e2e1c94c790c208e166 authored by Markus F.X.J. Oberhumer on 09 October 2005, 16:54:23 UTC, committed by Linus Torvalds on 10 October 2005, 15:45:06 UTC
This fixes the setup of the alignment of the signal frame, so that all
signal handlers are run with a properly aligned stack frame.

The current code "over-aligns" the stack pointer so that the stack frame
is effectively always mis-aligned by 4 bytes.  But what we really want
is that on function entry ((sp + 4) & 15) == 0, which matches what would
happen if the stack were aligned before a "call" instruction.

Signed-off-by: Markus F.X.J. Oberhumer <markus@oberhumer.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 867f8b4
History
Tip revision: d347f372273c2b3d86a66e2e1c94c790c208e166 authored by Markus F.X.J. Oberhumer on 09 October 2005, 16:54:23 UTC
[PATCH] i386: fix stack alignment for signal handlers
Tip revision: d347f37
File Mode Size
Documentation
arch
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.1 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 59.4 KB
Makefile -rw-r--r-- 42.4 KB
README -rw-r--r-- 14.4 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top