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

/systemd/src/login/
H A Dlogind-session.c88 s->vtfd = -1;
996 if (s->vtfd >= 0)
997 return s->vtfd;
1000 s->vtfd = open_terminal(path, O_RDWR | O_CLOEXEC | O_NONBLOCK | O_NOCTTY);
1001 if (s->vtfd < 0)
1002 return log_error_errno(s->vtfd, "cannot open VT %s of session %s: %m", path, s->id);
1004 return s->vtfd;
1078 old_fd = s->vtfd;
1079 s->vtfd = -1;
1099 s->vtfd
[all...]
H A Dlogind-session.h95 int vtfd; member in struct:Session
H A Dlogind.c692 * Preferably, we'd just use m->seat0->active->vtfd, but unfortunately,
694 * Therefore, we have to iterate all sessions and find one with a vtfd
713 if (active->vtfd >= 0) {
717 if (iter->vtnr == active->vtnr && iter->vtfd >= 0) {

Completed in 315 milliseconds