diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/subsys.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init/subsys.c b/init/subsys.c index 3db2cb5..c3fe903 100644 --- a/init/subsys.c +++ b/init/subsys.c @@ -41,6 +41,10 @@ static int __subsystem_entry(struct subsystem_info *info) prctl(PR_SET_NAME, name); free(name); + /* clear signal handlers so SIGTERM is no longer caught */ + static sigset_t set; + sigprocmask(SIG_SETMASK, &set, NULL); + print(LOG_DEBUG "subsys: starting subsystem %s (%d)", info->fn_name, getpid()); |