chiark / gitweb /
nss: block various signals while running NSS lookups
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2016 21:34:46 +0000 (22:34 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:15 +0000 (15:22 +0200)
commitc5fcd473c6f0a74a6f8d408b0d0f3fc2df02eb1c
treeead7570995e70da21762d33454c98668206c81f6
parent935ee8fca4987ead1c3afd657e8da4acbb0a45ce
nss: block various signals while running NSS lookups

Let's make sure our poll() calls don't get interrupted where they shouldn't (SIGALRM, ...), but allow them to be
interrupted where they should (SIGINT, ...).

Fixes #1965
src/test/test-signal-util.c [new file with mode: 0644]