Lines Matching refs:action
244 struct __spawn_action *action = &file_actions->_actions[cnt]; in __spawni() local
246 switch (action->tag) in __spawni()
249 if (close_not_cancel (action->action.close_action.fd) != 0) in __spawni()
256 int new_fd = open_not_cancel (action->action.open_action.path, in __spawni()
257 action->action.open_action.oflag in __spawni()
259 action->action.open_action.mode); in __spawni()
266 if (new_fd != action->action.open_action.fd) in __spawni()
268 if (dup2 (new_fd, action->action.open_action.fd) in __spawni()
269 != action->action.open_action.fd) in __spawni()
281 if (dup2 (action->action.dup2_action.fd, in __spawni()
282 action->action.dup2_action.newfd) in __spawni()
283 != action->action.dup2_action.newfd) in __spawni()