diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-26 21:04:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-26 21:12:47 +0200 |
commit | 1dedb74a2e1d840b531b76b01a76979f3b57456b (patch) | |
tree | 890e7c07bda38b0395d05fba3a3b4fb79d45eec1 /src/shared/util.h | |
parent | 24a5d6b04e17d447cf122f02a8a2dedd843cce45 (diff) |
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
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index cd947dbbef..ea87c96956 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -274,6 +274,7 @@ int readlink_and_make_absolute(const char *p, char **r); int readlink_and_canonicalize(const char *p, char **r); int reset_all_signal_handlers(void); +int reset_signal_mask(void); char *strstrip(char *s); char *delete_chars(char *s, const char *bad); |