]> git.ipfire.org Git - thirdparty/systemd.git/commit
nss: block various signals while running NSS lookups
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2016 21:34:46 +0000 (22:34 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 27 Jan 2016 01:22:58 +0000 (02:22 +0100)
commit0c5eb0562abec6f845f07c30b2ad2515900ec1e5
tree10a05b9191642ce96812a96ed53031b9338f3528
parentfccd4b67b5fd296cb5840d1b8e0ea8455cb6a1ed
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
.gitignore
Makefile.am
src/basic/nss-util.h
src/basic/signal-util.h
src/nss-myhostname/nss-myhostname.c
src/nss-mymachines/nss-mymachines.c
src/nss-resolve/nss-resolve.c
src/test/test-signal-util.c [new file with mode: 0644]