remove implementation-reserved bits when saving signal mask
authorRich Felker <dalias@aerifal.cx>
Sun, 3 Jun 2012 00:04:27 +0000 (20:04 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 3 Jun 2012 00:04:27 +0000 (20:04 -0400)
this fix is necessary because a program could be started with some of
the implementation-reserved signals masked (e.g. due to exec having
been called from a signal handler, or from a non-musl program) and
then could obtain an invalid-to-use-later sigset_t as the old/saved
signal mask.


No differences found