chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85f136b
)
when resetting signal handlers, set them to SA_RESTART
author
Lennart Poettering
<lennart@poettering.net>
Thu, 28 Jan 2010 00:53:39 +0000
(
01:53
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 28 Jan 2010 00:53:39 +0000
(
01:53
+0100)
util.c
patch
|
blob
|
history
diff --git
a/util.c
b/util.c
index 38ed74fbcb531a170a7dfd06bd11960b13bffe37..654b93d79c084ceb25b944aa3e62a1112204303a 100644
(file)
--- 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. */