Searched refs:proc_fd_dir (Results 1 – 1 of 1) sorted by relevance
367 DIR *proc_fd_dir; in _close_open_fds_maybe_unsafe() local382 proc_fd_dir = NULL; in _close_open_fds_maybe_unsafe()385 proc_fd_dir = opendir(FD_DIR); in _close_open_fds_maybe_unsafe()386 if (!proc_fd_dir) { in _close_open_fds_maybe_unsafe()392 int fd_used_by_opendir = dirfd(proc_fd_dir); in _close_open_fds_maybe_unsafe()397 while ((dir_entry = readdir(proc_fd_dir))) { in _close_open_fds_maybe_unsafe()411 closedir(proc_fd_dir); in _close_open_fds_maybe_unsafe()