Searched refs:fdFlags (Results 1 – 1 of 1) sorted by relevance
137 int fdFlags; in com_android_internal_os_ZygoteInit_setCloseOnExec() local145 fdFlags = fcntl(fd, F_GETFD); in com_android_internal_os_ZygoteInit_setCloseOnExec()147 if (fdFlags < 0) { in com_android_internal_os_ZygoteInit_setCloseOnExec()153 fdFlags |= FD_CLOEXEC; in com_android_internal_os_ZygoteInit_setCloseOnExec()155 fdFlags &= ~FD_CLOEXEC; in com_android_internal_os_ZygoteInit_setCloseOnExec()158 err = fcntl(fd, F_SETFD, fdFlags); in com_android_internal_os_ZygoteInit_setCloseOnExec()