diff --git a/llkd/libllkd.cpp b/llkd/libllkd.cpp index 48551f2648..bb55d1fee5 100644 --- a/llkd/libllkd.cpp +++ b/llkd/libllkd.cpp @@ -738,6 +738,8 @@ void llkLogConfig(void) { } void* llkThread(void* obj) { + prctl(PR_SET_DUMPABLE, 0); + LOG(INFO) << "started"; std::string name = std::to_string(::gettid()); diff --git a/llkd/llkd.cpp b/llkd/llkd.cpp index f10253d455..1920198a3e 100644 --- a/llkd/llkd.cpp +++ b/llkd/llkd.cpp @@ -17,6 +17,7 @@ #include "llkd.h" #include +#include #include #include @@ -26,6 +27,8 @@ using namespace std::chrono; int main(int, char**) { + prctl(PR_SET_DUMPABLE, 0); + LOG(INFO) << "started"; bool enabled = llkInit();