Home
last modified time | relevance | path

Searched refs:open_terminal (Results 1 – 15 of 15) sorted by relevance

/systemd-251/src/basic/
Dterminal-util.c62 fd = open_terminal("/dev/tty0", O_RDWR|O_NOCTTY|O_CLOEXEC|O_NONBLOCK); in chvt()
310 fd = open_terminal(name, O_RDWR|O_NOCTTY|O_CLOEXEC|O_NONBLOCK); in reset_terminal()
317 int open_terminal(const char *name, int mode) { in open_terminal() function
402 fd = open_terminal(name, O_RDWR|O_NOCTTY|O_CLOEXEC); in acquire_terminal()
514 fd = open_terminal(name, O_RDWR|O_NOCTTY|O_CLOEXEC|O_NONBLOCK); in terminal_vhangup()
550 fd = open_terminal("/dev/tty0", O_RDWR|O_NOCTTY|O_CLOEXEC|O_NONBLOCK); in vt_disallocate()
564 _cleanup_close_ int fd2 = open_terminal(name, O_RDWR|O_NOCTTY|O_CLOEXEC); in vt_disallocate()
1207 master = open_terminal(name, mode|O_NOCTTY|O_CLOEXEC); in open_terminal_in_namespace()
Dterminal-util.h83 int open_terminal(const char *name, int mode);
Dlog.c98 fd = open_terminal("/dev/console", O_WRONLY|O_NOCTTY|O_CLOEXEC); in log_open_console()
/systemd-251/src/vconsole/
Dvconsole-setup.c289 fd_d = open_terminal(ttyname, O_RDWR|O_CLOEXEC|O_NOCTTY); in setup_remaining_vcs()
364 fd = open_terminal(path, O_RDWR|O_CLOEXEC|O_NOCTTY); in find_source_vc()
391 fd = open_terminal(src_vc, O_RDWR|O_CLOEXEC|O_NOCTTY); in verify_source_vc()
/systemd-251/src/journal/
Djournald-console.c95 fd = open_terminal(tty, O_WRONLY|O_NOCTTY|O_CLOEXEC); in server_forward_console()
/systemd-251/src/core/
Dshow-status.c61 fd = open_terminal("/dev/console", O_WRONLY|O_NOCTTY|O_CLOEXEC); in status_vprintf()
Dmain.c214 tty_fd = open_terminal("/dev/console", O_WRONLY|O_NOCTTY|O_CLOEXEC); in console_setup()
Dexecute.c384 fd = open_terminal(path, flags | O_NOCTTY); in open_terminal_as()
832 fd = open_terminal(vc, O_WRONLY|O_NOCTTY|O_CLOEXEC); in write_confirm_error()
Dmanager.c509 fd = open_terminal("/dev/tty0", O_RDWR|O_NOCTTY|O_CLOEXEC); in enable_special_signals()
/systemd-251/src/login/
Dlogind-seat.c176 fd = open_terminal(p, O_RDWR|O_NOCTTY|O_CLOEXEC); in vt_allocate()
Dlogind-core.c507 fd = open_terminal("/dev/tty1", O_RDWR|O_NOCTTY|O_CLOEXEC); in vt_is_busy()
Dlogind.c722 fd = open_terminal("/dev/tty0", O_RDWR|O_NOCTTY|O_CLOEXEC|O_NONBLOCK); in manager_vt_switch()
Dlogind-session.c1199 s->vtfd = open_terminal(path, O_RDWR | O_CLOEXEC | O_NONBLOCK | O_NOCTTY); in session_open_vt()
/systemd-251/src/machine/
Dmachine.c609 return open_terminal(path, mode); in machine_open_terminal()
/systemd-251/src/nspawn/
Dnspawn.c2380 terminal = open_terminal("/dev/console", O_RDWR|O_NOCTTY); in setup_stdio_as_dev_console()