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

Commit ee4af10b authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "libbinder: O_CLOFORK" am: b4d6b90f am: af3f7ebf am: 392640d2

parents f958ed9c 392640d2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -175,6 +175,10 @@ void ProcessState::childPostFork() {
    // the thread handler is installed
    if (gProcess) {
        gProcess->mForked = true;

        // "O_CLOFORK"
        close(gProcess->mDriverFD);
        gProcess->mDriverFD = -1;
    }
    gProcessMutex.unlock();
}