Searched refs:preserved_fds (Results 1 – 1 of 1) sorted by relevance
199 struct preserved_fd preserved_fds[MAX_PRESERVED_FDS]; member853 j->preserved_fds[j->preserved_fd_count].parent_fd = parent_fd; in minijail_preserve_fd()854 j->preserved_fds[j->preserved_fd_count].child_fd = child_fd; in minijail_preserve_fd()2396 if (dup2(j->preserved_fds[i].parent_fd, in redirect_fds()2397 j->preserved_fds[i].child_fd) == -1) { in redirect_fds()2408 closeable &= j->preserved_fds[i].parent_fd != in redirect_fds()2409 j->preserved_fds[i2].child_fd; in redirect_fds()2412 close(j->preserved_fds[i].parent_fd); in redirect_fds()2885 inheritable_fds[size++] = j->preserved_fds[i].parent_fd; in minijail_run_internal()