console_fd        162 src/consaver/cons.saver.c     int console_fd, vcsa_fd, console_minor, buffer_size;
console_fd        184 src/consaver/cons.saver.c     console_fd = open (tty_name, O_RDONLY);
console_fd        185 src/consaver/cons.saver.c     if (console_fd < 0)
console_fd        187 src/consaver/cons.saver.c     if (fstat (console_fd, &st) < 0 || !S_ISCHR (st.st_mode))
console_fd        235 src/consaver/cons.saver.c     if (ioctl (console_fd, TIOCGWINSZ, &winsz) < 0
console_fd        257 src/consaver/cons.saver.c                 || fstat (console_fd, &st) < 0 || st.st_uid != uid
console_fd        259 src/consaver/cons.saver.c                 || fstat (console_fd, &st) < 0 || st.st_uid != uid)
console_fd        266 src/consaver/cons.saver.c                 && lseek (vcsa_fd, 0, 0) == 0 && fstat (console_fd, &st) >= 0 && st.st_uid == uid)