Yes, it's this one that failed:
res = ioctl (console_fd, VT_GETSTATE, &stat);
Interresting, it would have done:
kb_ok = (ioctl (fd, VT_GETSTATE, &vts) == 0);
just moments before that in ck_fd_is_a_console
I wonder...
Yes, it's this one that failed:
res = ioctl (console_fd, VT_GETSTATE, &stat);
Interresting, it would have done:
kb_ok = (ioctl (fd, VT_GETSTATE, &vts) == 0);
just moments before that in ck_fd_is_a_console
I wonder...