Searched refs:cwd_fd (Results 1 – 1 of 1) sorted by relevance
7503 const int cwd_fd = open(".", O_RDONLY); in ExecDeathTestSpawnChild() local7504 GTEST_DEATH_TEST_CHECK_(cwd_fd != -1); in ExecDeathTestSpawnChild()7505 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(cwd_fd, F_SETFD, FD_CLOEXEC)); in ExecDeathTestSpawnChild()7527 GTEST_DEATH_TEST_CHECK_(fchdir(cwd_fd) != -1); in ExecDeathTestSpawnChild()7528 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(cwd_fd)); in ExecDeathTestSpawnChild()