diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-28 01:53:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-28 01:53:39 +0100 |
commit | 431c32bf7976add2297c71f482cb2669765ed616 (patch) | |
tree | ebcbdbb471bb0d600b9848554ad859db12711abf | |
parent | 85f136b5d09168a7e4fd2ad27ef81dbe2d356c07 (diff) |
when resetting signal handlers, set them to SA_RESTART
-rw-r--r-- | util.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. */ |