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

Commit ca3515f6 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:...

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

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2100002



Change-Id: Ib231f1bca4420a727184673f862f3dcfec1a314c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 26a13e2f c1e05d17
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();
}