Searched refs:console_active_fd (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/login/ |
D | logind.c | 55 .console_active_fd = -1, in manager_new() 151 safe_close(m->console_active_fd); in manager_unref() 601 assert(m->console_active_fd == fd); in manager_dispatch_console() 751 assert(m->console_active_fd < 0); in manager_connect_console() 759 m->console_active_fd = open("/sys/class/tty/tty0/active", O_RDONLY|O_NOCTTY|O_CLOEXEC); in manager_connect_console() 760 if (m->console_active_fd < 0) { in manager_connect_console() 772 …r = sd_event_add_io(m->event, &m->console_active_event_source, m->console_active_fd, 0, manager_di… in manager_connect_console() 877 if (m->n_autovts > 0 && m->console_active_fd >= 0) { in manager_connect_udev()
|
D | logind-seat.c | 389 if (lseek(s->manager->console_active_fd, SEEK_SET, 0) < 0) in seat_read_active_vt() 392 k = read(s->manager->console_active_fd, t, sizeof(t)-1); in seat_read_active_vt() 562 return seat_is_seat0(s) && s->manager->console_active_fd >= 0; in seat_has_vts()
|
D | logind.h | 50 int console_active_fd; member
|