diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-21 18:55:59 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-21 18:55:59 +0100 |
commit | 5db88229d1d1d727ee1e60de583cedc6c6aa6d73 (patch) | |
tree | 54fa6f14bdaba2c33e8d6ec98d9e5f5765770fe8 /udev | |
parent | 6469c77216f02c53faeeb397e44c041d6ff57b82 (diff) |
udevd: add back SA_RESTART
<Keybuk> poll, select, ppoll, pselect, epoll, etc. are *explicitly* NOT restarted in case of signal
<kay> ok
Diffstat (limited to 'udev')
-rw-r--r-- | udev/udevd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index 7e87068068..d08cf30f29 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -831,6 +831,7 @@ int main(int argc, char *argv[]) memset(&act, 0x00, sizeof(struct sigaction)); act.sa_handler = (void (*)(int)) sig_handler; sigemptyset(&act.sa_mask); + act.sa_flags = SA_RESTART; sigaction(SIGINT, &act, NULL); sigaction(SIGTERM, &act, NULL); sigaction(SIGCHLD, &act, NULL); |