Lines Matching defs:tty
105 /* This assumes there is a 'tty' group */
397 /* Try to make this the controlling tty, if it is a tty, and reset it */
484 * the way and are not on a tty */
818 const char *tty,
860 if (tty) {
861 pam_code = pam_set_item(handle, PAM_TTY, tty);
2377 static bool tty_may_match_dev_console(const char *tty) {
2381 if (!tty)
2384 if (startswith(tty, "/dev/"))
2385 tty += 5;
2388 if (streq(tty, "console"))
2397 return streq(console, tty) || (streq(console, "tty0") && tty_is_vc(tty));
3136 [EXEC_INPUT_TTY] = "tty",
3137 [EXEC_INPUT_TTY_FORCE] = "tty-force",
3138 [EXEC_INPUT_TTY_FAIL] = "tty-fail",
3147 [EXEC_OUTPUT_TTY] = "tty",