Lines Matching refs:exec_context

121         s->exec_context.keyring_mode = MANAGER_IS_SYSTEM(u->manager) ?  in service_init()
611 …if (s->exec_context.pam_name && !IN_SET(s->kill_context.kill_mode, KILL_CONTROL_GROUP, KILL_MIXED)) in service_verify()
679 if (s->exec_context.std_input == EXEC_INPUT_NULL && in service_fix_stdio()
680 s->exec_context.stdin_data_size > 0) in service_fix_stdio()
681 s->exec_context.std_input = EXEC_INPUT_DATA; in service_fix_stdio()
683 if (IN_SET(s->exec_context.std_input, in service_fix_stdio()
697 if (s->exec_context.std_error == EXEC_OUTPUT_INHERIT && in service_fix_stdio()
698 s->exec_context.std_output == EXEC_OUTPUT_INHERIT) in service_fix_stdio()
699 s->exec_context.std_error = UNIT(s)->manager->default_std_error; in service_fix_stdio()
701 if (s->exec_context.std_output == EXEC_OUTPUT_INHERIT) in service_fix_stdio()
702 s->exec_context.std_output = UNIT(s)->manager->default_std_output; in service_fix_stdio()
759 r = unit_add_exec_dependencies(UNIT(s), &s->exec_context); in service_add_extras()
906 exec_context_dump(&s->exec_context, f, prefix); in service_dump()
1182 … return usec_add(UNIT(s)->state_change_timestamp.monotonic, s->exec_context.timeout_clean_usec); in service_coldplug_timeout()
1521 s->exec_context.std_input == EXEC_INPUT_SOCKET || in service_spawn_internal()
1522 s->exec_context.std_output == EXEC_OUTPUT_SOCKET || in service_spawn_internal()
1523 s->exec_context.std_error == EXEC_OUTPUT_SOCKET) { in service_spawn_internal()
1667 &s->exec_context, in service_spawn_internal()
1875 unit_destroy_runtime_data(UNIT(s), &s->exec_context); in service_enter_dead()
1890 exec_context_revert_tty(&s->exec_context); in service_enter_dead()
3080 s->exec_context.stdio_as_fds = true; in service_deserialize_item()
3090 s->exec_context.stdio_as_fds = true; in service_deserialize_item()
3100 s->exec_context.stdio_as_fds = true; in service_deserialize_item()
3503 exec_status_exit(&s->main_exec_status, &s->exec_context, pid, code, status); in service_sigchld_event()
3633 … exec_status_exit(&s->control_command->exec_status, &s->exec_context, pid, code, status); in service_sigchld_event()
4501 if (!exec_context_may_touch_console(&s->exec_context)) in service_needs_console()
4555 r = exec_context_get_clean_directories(&s->exec_context, u->manager->prefix, mask, &l); in service_clean()
4567 … r = service_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->exec_context.timeout_clean_usec)); in service_clean()
4591 return exec_context_get_clean_mask(&s->exec_context, ret); in service_can_clean()
4710 .exec_context_offset = offsetof(Service, exec_context),