From: Lennart Poettering Date: Thu, 28 Jan 2010 00:53:39 +0000 (+0100) Subject: when resetting signal handlers, set them to SA_RESTART X-Git-Tag: 0.git+20100605+dfd8ee-1~378 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=431c32bf7976add2297c71f482cb2669765ed616;p=systemd when resetting signal handlers, set them to SA_RESTART --- diff --git a/util.c b/util.c index 38ed74fb..654b93d7 100644 --- a/util.c +++ b/util.c @@ -488,6 +488,7 @@ int reset_all_signal_handlers(void) { zero(sa); sa.sa_handler = SIG_DFL; + sa.sa_flags = SA_RESTART; /* On Linux the first two RT signals are reserved by * glibc, and sigaction() will return EINVAL for them. */