Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24f4ec60 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "llkd: clear PR_SET_DUMPABLE"

parents 16453124 4832a8bd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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());
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
#include "llkd.h"

#include <sched.h>
#include <sys/prctl.h>
#include <unistd.h>

#include <chrono>
@@ -26,6 +27,8 @@
using namespace std::chrono;

int main(int, char**) {
    prctl(PR_SET_DUMPABLE, 0);

    LOG(INFO) << "started";

    bool enabled = llkInit();