Web lists-archives.com

[GIT PULL] signal fixes for v5.0-rc6


Please pull the for-linus branch from the git tree:

   git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus

   HEAD:7146db3317c67b517258cb5e1b08af387da0618b signal: Better detection of synchronous signals

This contains 4 small fixes for signal handling.  A missing range check,
a regression fix, prioritizing signals we have already started a signal
group exit for, and better detection of synchronous signals.

The confused decision of which signals to handle failed spectacularly
when a timer was pointed at SIGBUS and the stack overflowed.  Resulting
in an unkillable process in an infinite loop instead of a SIGSEGV and
core dump.

Eric W. Biederman (4):
      signal: Make siginmask safe when passed a signal of 0
      signal: Always attempt to allocate siginfo for SIGSTOP
      signal: Always notice exiting tasks
      signal: Better detection of synchronous signals

 include/linux/signal.h |  2 +-
 kernel/signal.c        | 63 ++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 60 insertions(+), 5 deletions(-)