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

Commit c1e05d17 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 am: ee4af10b

parents d99e3537 ee4af10b
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();
}