Lines Matching refs:ec
5691 static bool exec_context_may_touch_tty(const ExecContext *ec) { in exec_context_may_touch_tty() argument
5692 assert(ec); in exec_context_may_touch_tty()
5694 return ec->tty_reset || in exec_context_may_touch_tty()
5695 ec->tty_vhangup || in exec_context_may_touch_tty()
5696 ec->tty_vt_disallocate || in exec_context_may_touch_tty()
5697 is_terminal_input(ec->std_input) || in exec_context_may_touch_tty()
5698 is_terminal_output(ec->std_output) || in exec_context_may_touch_tty()
5699 is_terminal_output(ec->std_error); in exec_context_may_touch_tty()
5702 bool exec_context_may_touch_console(const ExecContext *ec) { in exec_context_may_touch_console() argument
5704 return exec_context_may_touch_tty(ec) && in exec_context_may_touch_console()
5705 tty_may_match_dev_console(exec_context_tty_path(ec)); in exec_context_may_touch_console()