]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: execute: fix regression in pam_setup() 251/head
authorDaniel Mack <daniel@zonque.org>
Wed, 17 Jun 2015 12:31:49 +0000 (14:31 +0200)
committerDaniel Mack <daniel@zonque.org>
Wed, 17 Jun 2015 12:43:11 +0000 (14:43 +0200)
commitd6e5f3ad1fdb7964d843c86f86d4ee7d806a0f93
treec9c76e0a52079260f010c9ef09cfd6a332ce97bf
parent9d8a5fd3e62ee89073364a3f7fa95c50dc85d890
core: execute: fix regression in pam_setup()

Commit 72c0a2c25 ("everywhere: port everything to sigprocmask_many()
and friends") reworked code tree-wide to use the new sigprocmask_many()
helper. In this, it caused a regression in pam_setup, because it
dropped a line to initialize the 'ss' signal mask which is later used
in sigwait().

While at it, move the variable declaration to an inner scope.
src/core/execute.c