[PATCH] Tolerate signal > 32 in sig_fatal (apparent bug detected by UBSAN)

2016-04-29 Thread Adam Richter
siginmask already have the check, so I propose the following patch, which moves that test into the siginmask macro and removes it from the callers of siginmask. Signed-off-by: Adam Richter <adamricht...@gmail.com> --- diff --git a/include/linux/signal.h b/include/linux/signal.h

[PATCH] Tolerate signal > 32 in sig_fatal (apparent bug detected by UBSAN)

2016-04-29 Thread Adam Richter
siginmask already have the check, so I propose the following patch, which moves that test into the siginmask macro and removes it from the callers of siginmask. Signed-off-by: Adam Richter --- diff --git a/include/linux/signal.h b/include/linux/signal.h index 92557bb..332aa2a 100644 --- a/inclu