chiark / gitweb /
util: reset signals when we fork off agents
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Aug 2014 19:04:21 +0000 (21:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Aug 2014 19:12:47 +0000 (21:12 +0200)
commit1dedb74a2e1d840b531b76b01a76979f3b57456b
tree890e7c07bda38b0395d05fba3a3b4fb79d45eec1
parent24a5d6b04e17d447cf122f02a8a2dedd843cce45
util: reset signals when we fork off agents

If we invoke agents, we should make sure we actually can kill them
again. I mean, it's probably not our job to cleanup the signals if our
tools are invoked in weird contexts, but at least we should make sure,
that the subprocesses we invoke and intend to control work as intended.

Also see:

http://lists.freedesktop.org/archives/systemd-devel/2014-August/022460.html
src/shared/util.c
src/shared/util.h