• Jesper Nilsson's avatar
    CRIS v32: Update signal handling in kernel/signal.c · 574852a2
    Jesper Nilsson authored
    - do_signal now returns void, and does not have the previous signal set
      as a parameter.
    - Remove sys_rt_sigsuspend, we can use the common one instead.
    - Change sys_sigsuspend to be more like x86, don't call do_signal here.
    - handle_signal, setup_frame and setup_rt_frame now return -EFAULT
      if we've delivered a segfault, which is used by callers to perform
      necessary cleanup.
    - Break long lines, correct whitespace and formatting errors.
    574852a2
signal.c 17.4 KB