[klibc] Signal masks are 1-based, not 0-based

Signal masks are apparently 1-based (signal 0 is not in the set.)
Fix that, and add test code for it in sigint.c.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2 files changed