diff options
author | Paul Mackerras <paulus@samba.org> | 2005-04-30 10:01:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-30 10:01:40 -0700 |
commit | 9747dd6fa98f2983f4dd09cd6dad1fa3d2a4c5f2 (patch) | |
tree | f8e191827f6ff913d083a89028b1b732ef56b231 /CREDITS | |
parent | a6ad57fb4b5e9d68553f4440377b99f75588fa88 (diff) | |
download | op-kernel-dev-9747dd6fa98f2983f4dd09cd6dad1fa3d2a4c5f2.zip op-kernel-dev-9747dd6fa98f2983f4dd09cd6dad1fa3d2a4c5f2.tar.gz |
[PATCH] ppc64: fix 32-bit signal frame back link
When the kernel creates a signal frame on the user stack, it puts the
old stack pointer value at the beginning so that the signal frame is
linked into the chain of stack frames like any other frame.
Unfortunately, for 32-bit processes we are writing the old stack
pointer as a 64-bit value rather than a 32-bit value, and the process
sees that as a null pointer, since it only looks at the first 32 bits,
which are zero since ppc is bigendian and the stack pointer is below
4GB. This bug is in SLES9 and RHEL4 too, hence the ccs.
This patch fixes the bug by making the signal code write the old stack
pointer as a u32 instead of an unsigned long.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions