Skip to content
  • David Howells's avatar
    [PATCH] frv: fix signal handling · 8efc0ab5
    David Howells authored
    
    
    The attached patch makes FRV signal handling work properly:
    
     (1) After do_notify_resume() has been called, the work flags must be checked
         again (there may be another signal to deliver or the process might require
         rescheduling for instance).
    
     (2) After the signal frame is set up on the userspace stack, ptrace() should
         be given an opportunity to single-step into the signal handler.
    
     (3) The error state from setting up a signal frame should be passed back up
         the call chain.
    
     (4) The segfault handler shouldn't be preemptively reset in the arch if we
         fail to deliver a SEGV signal: force_sig() will take care of that.
    
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    8efc0ab5