[PATCH][BZ #18080] S390: Fix setcontext/swapcontext which are not restoring sigmask.
Florian Weimer
fweimer@redhat.com
Wed Mar 4 11:49:00 GMT 2015
On 03/04/2015 12:26 PM, Stefan Liebler wrote:
> +volatile int handlerCalled;
I think this should use sigatomic_t.
There are a few missing spaces in function calls:
> +check(const char *funcName)
> + sigprocmask(SIG_BLOCK, NULL, &set);
> + if (sigismember(&set, SIGUSR2) != 0)
> + if (sigismember(&set, SIGUSR1) == 0)
> + if (sigismember(&set, SIGUSR2) == 0)
> + if (sigismember(&oldctx.uc_sigmask, SIGUSR2) == 0)
> + if (sigismember(&oldctx.uc_sigmask, SIGUSR1) == 0)
Sorry, no other comments at this time.
--
Florian Weimer / Red Hat Product Security
More information about the Libc-alpha
mailing list