From 7b8f56d2688ca7ca4b158e9a17f62de24249d3c2 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Thu, 29 Jul 2010 14:51:44 +0300 Subject: [PATCH] Changes: Set dumpable flag so that launched applications are able to core dump RevBy: Jussi Lind --- src/launcher/daemon.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/launcher/daemon.cpp b/src/launcher/daemon.cpp index c9a9670..7a0db1c 100644 --- a/src/launcher/daemon.cpp +++ b/src/launcher/daemon.cpp @@ -244,6 +244,9 @@ bool Daemon::forkBooster(char type, int pipefd[2]) // Don't care about fate of parent applauncherd process any more prctl(PR_SET_PDEATHSIG, 0); + // Set dumpable flag + prctl(PR_SET_DUMPABLE, 1); + // Run the current Booster booster->run();