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

Commit da1da678 authored by Narayan Kamath's avatar Narayan Kamath Committed by Android Git Automerger
Browse files

am 1f7d657b: am 3e809794: am e315feea: Merge "Fix handling of wrapped processes [part 1]."

* commit '1f7d657b':
  Fix handling of wrapped processes [part 1].
parents a2a6a7d2 1f7d657b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.internal.os;

import static android.system.OsConstants.F_SETFD;
import static android.system.OsConstants.O_CLOEXEC;
import static android.system.OsConstants.STDERR_FILENO;
import static android.system.OsConstants.STDIN_FILENO;
@@ -194,6 +195,7 @@ class ZygoteConnection {
                FileDescriptor[] pipeFds = Os.pipe2(O_CLOEXEC);
                childPipeFd = pipeFds[1];
                serverPipeFd = pipeFds[0];
                Os.fcntlInt(childPipeFd, F_SETFD, 0);
            }

            /**