Searched refs:console_active_fd (Results 1 - 3 of 3) sorted by relevance

/systemd/src/login/
H A Dlogind.c52 m->console_active_fd = -1;
159 safe_close(m->console_active_fd);
551 assert(m->console_active_fd == fd);
731 assert(m->console_active_fd < 0);
739 m->console_active_fd = open("/sys/class/tty/tty0/active", O_RDONLY|O_NOCTTY|O_CLOEXEC);
740 if (m->console_active_fd < 0) {
750 r = sd_event_add_io(m->event, &m->console_active_event_source, m->console_active_fd, 0, manager_dispatch_console, m);
856 if (m->n_autovts > 0 && m->console_active_fd >= 0) {
H A Dlogind-seat.c385 lseek(s->manager->console_active_fd, SEEK_SET, 0);
387 k = read(s->manager->console_active_fd, t, sizeof(t)-1);
575 return seat_is_seat0(s) && s->manager->console_active_fd >= 0;
H A Dlogind.h63 int console_active_fd; member in struct:Manager

Completed in 16 milliseconds