diff options
author | Chris Paulson-Ellis <chris@edesix.com> | 2012-02-02 17:32:05 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-02-02 19:11:16 +0100 |
commit | ec3f9b53f882623e6572258ba15234b1ee108b7f (patch) | |
tree | 72454c354db8af33dd719c263558ab703b2fb98a /src/service.h | |
parent | ce095579172778ebde6a20176875ee2702ec3340 (diff) |
util: prevent daemon-reload from reaping service processes.
The reaping of generator processes run as part of a daemon-reload should not
call waitid(PID_ALL). The waitid() call in execute_directory() is intended only
to reap the executed processes, but if a service process exits at about the
same time as a daemon-reload, then that service process is reaped as well,
preventing it from being reaped in the proper place in
manager_dispatch_sigchld().
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=43625
Diffstat (limited to 'src/service.h')
0 files changed, 0 insertions, 0 deletions