Searched refs:open_terminal (Results 1 – 15 of 15) sorted by relevance
/systemd-251/src/basic/ |
D | terminal-util.c | 62 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()
|
D | terminal-util.h | 83 int open_terminal(const char *name, int mode);
|
D | log.c | 98 fd = open_terminal("/dev/console", O_WRONLY|O_NOCTTY|O_CLOEXEC); in log_open_console()
|
/systemd-251/src/vconsole/ |
D | vconsole-setup.c | 289 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/ |
D | journald-console.c | 95 fd = open_terminal(tty, O_WRONLY|O_NOCTTY|O_CLOEXEC); in server_forward_console()
|
/systemd-251/src/core/ |
D | show-status.c | 61 fd = open_terminal("/dev/console", O_WRONLY|O_NOCTTY|O_CLOEXEC); in status_vprintf()
|
D | main.c | 214 tty_fd = open_terminal("/dev/console", O_WRONLY|O_NOCTTY|O_CLOEXEC); in console_setup()
|
D | execute.c | 384 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()
|
D | manager.c | 509 fd = open_terminal("/dev/tty0", O_RDWR|O_NOCTTY|O_CLOEXEC); in enable_special_signals()
|
/systemd-251/src/login/ |
D | logind-seat.c | 176 fd = open_terminal(p, O_RDWR|O_NOCTTY|O_CLOEXEC); in vt_allocate()
|
D | logind-core.c | 507 fd = open_terminal("/dev/tty1", O_RDWR|O_NOCTTY|O_CLOEXEC); in vt_is_busy()
|
D | logind.c | 722 fd = open_terminal("/dev/tty0", O_RDWR|O_NOCTTY|O_CLOEXEC|O_NONBLOCK); in manager_vt_switch()
|
D | logind-session.c | 1199 s->vtfd = open_terminal(path, O_RDWR | O_CLOEXEC | O_NONBLOCK | O_NOCTTY); in session_open_vt()
|
/systemd-251/src/machine/ |
D | machine.c | 609 return open_terminal(path, mode); in machine_open_terminal()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 2380 terminal = open_terminal("/dev/console", O_RDWR|O_NOCTTY); in setup_stdio_as_dev_console()
|