diff --git a/src/plugins/auth/auth_munge.c b/src/plugins/auth/auth_munge.c index bff4aa1236b649616d09dff470c6c37f44413792..030af6296a45d8e23ea998e3ec9535b68a387d01 100644 --- a/src/plugins/auth/auth_munge.c +++ b/src/plugins/auth/auth_munge.c @@ -441,7 +441,6 @@ static int _decode_cred(char *m, slurm_auth_credential_t *c) { int retry = 2; - sigset_t set, oset; munge_err_t e; munge_ctx_t ctx; @@ -458,18 +457,6 @@ _decode_cred(char *m, slurm_auth_credential_t *c) return SLURM_ERROR; } - /* - * Block all signals to allow munge_decode() to proceed - * uninterrupted. (Testing for gnats slurm/223) - */ - sigemptyset(&oset); /* for clean valgrind */ - sigfillset(&set); - sigdelset(&set, SIGABRT); - sigdelset(&set, SIGSEGV); - sigdelset(&set, SIGILL); - if (pthread_sigmask(SIG_SETMASK, &set, &oset) < 0) - error("pthread_sigmask: %m"); - again: if ((e = munge_decode(m, ctx, &c->buf, &c->len, &c->uid, &c->gid))) { error ("Munge decode failed: %s %s", @@ -491,9 +478,6 @@ _decode_cred(char *m, slurm_auth_credential_t *c) c->verified = true; done: - if (pthread_sigmask(SIG_SETMASK, &oset, NULL) < 0) - error("pthread_sigmask: %m"); - munge_ctx_destroy(ctx); return e ? SLURM_ERROR : SLURM_SUCCESS;