Re: [PATCH v2] MIPS: Reduce _NSIG from 128 to 127 to avoid BUG_ON

From: Oleg Nesterov
Date: Fri Jun 14 2013 - 12:29:30 EST

On 06/14, James Hogan wrote:
> However do_group_exit() checks for the core dump bit (0x80) in the exit
> code which matches in this particular case and the kernel panics:
> BUG_ON(exit_code & 0x80); /* core dumps don't get here */
> Lets avoid this by changing the ABI by reducing the number of signals to
> 127 (so that the maximum signal number is 127).


Of course I can't ack the change in arch/mips, but to me this looks
like a best solution.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at