Searched refs:cwd_fd (Results 1 – 1 of 1) sorted by relevance
1009 const int cwd_fd = open(".", O_RDONLY); in ExecDeathTestSpawnChild() local1010 GTEST_DEATH_TEST_CHECK_(cwd_fd != -1); in ExecDeathTestSpawnChild()1011 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(cwd_fd, F_SETFD, FD_CLOEXEC)); in ExecDeathTestSpawnChild()1033 GTEST_DEATH_TEST_CHECK_(fchdir(cwd_fd) != -1); in ExecDeathTestSpawnChild()1034 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(cwd_fd)); in ExecDeathTestSpawnChild()