Searched refs:fd_dir_fd (Results 1 – 1 of 1) sorted by relevance
272 int fd_dir_fd; in _close_open_fds_safe() local274 fd_dir_fd = _Py_open_noraise(FD_DIR, O_RDONLY); in _close_open_fds_safe()275 if (fd_dir_fd == -1) { in _close_open_fds_safe()282 while ((bytes = syscall(SYS_getdents64, fd_dir_fd, in _close_open_fds_safe()295 if (fd != fd_dir_fd && fd >= start_fd && in _close_open_fds_safe()301 close(fd_dir_fd); in _close_open_fds_safe()