• Martin Schwidefsky's avatar
    [PATCH] signal-race fixes for s390 · 04a73247
    Martin Schwidefsky authored
      Update s30 for the signal race fix
    
    From: Mikael Pettersson <mikpe@csd.uu.se>
    
      The signal-race-fixes patch in 2.6.8-rc2-mm1 appears to be a bit broken on
      s390.
    
      When forcing a SIGSEGV the old code updated "*ka", where ka was a pointer
      to current's k_sigaction for SIGSEGV.  Now "ka_copy" points to a copy of
      that structure, so assigning "*ka_copy" doesn't do what we want.  Instead do
      the assignment via current->...  just like i386 and x86_64 do.
    
      Furthermore, the SA_ONESHOT handling wasn't deleted.  That is now handled
      by generic code in the kernel.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    04a73247
signal.c 14.1 KB