Lines Matching refs:inheritable_fds
2354 static int close_open_fds(int *inheritable_fds, size_t size) in close_open_fds() argument
2378 if (fd == inheritable_fds[i]) { in close_open_fds()
2857 int inheritable_fds[kMaxInheritableFdsSize]; in minijail_run_internal() local
2861 inheritable_fds[size++] = pipe_fds[0]; in minijail_run_internal()
2862 inheritable_fds[size++] = pipe_fds[1]; in minijail_run_internal()
2865 inheritable_fds[size++] = child_sync_pipe_fds[0]; in minijail_run_internal()
2866 inheritable_fds[size++] = child_sync_pipe_fds[1]; in minijail_run_internal()
2869 inheritable_fds[size++] = stdin_fds[0]; in minijail_run_internal()
2870 inheritable_fds[size++] = stdin_fds[1]; in minijail_run_internal()
2873 inheritable_fds[size++] = stdout_fds[0]; in minijail_run_internal()
2874 inheritable_fds[size++] = stdout_fds[1]; in minijail_run_internal()
2877 inheritable_fds[size++] = stderr_fds[0]; in minijail_run_internal()
2878 inheritable_fds[size++] = stderr_fds[1]; in minijail_run_internal()
2885 inheritable_fds[size++] = j->preserved_fds[i].parent_fd; in minijail_run_internal()
2888 if (close_open_fds(inheritable_fds, size) < 0) in minijail_run_internal()