Searched refs:cwd_fd (Results 1 – 1 of 1) sorted by relevance
1263 const int cwd_fd = open(".", O_RDONLY); in ExecDeathTestSpawnChild() local1264 GTEST_DEATH_TEST_CHECK_(cwd_fd != -1); in ExecDeathTestSpawnChild()1265 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(cwd_fd, F_SETFD, FD_CLOEXEC)); in ExecDeathTestSpawnChild()1287 GTEST_DEATH_TEST_CHECK_(fchdir(cwd_fd) != -1); in ExecDeathTestSpawnChild()1288 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(cwd_fd)); in ExecDeathTestSpawnChild()