1. 30 Apr, 2005 1 commit
    • Paul Mackerras's avatar
      [PATCH] ppc64: fix 32-bit signal frame back link · 9747dd6f
      Paul Mackerras authored
      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: default avatarPaul Mackerras <paulus@samba.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      9747dd6f
  2. 29 Apr, 2005 39 commits