lkml.org 
[lkml]   [2006]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: design of screen-locks for text-mode sessions
From
Date
Ar Llu, 2006-09-11 am 04:40 -0500, ysgrifennodd Travis H.:
> off-list with interested parties. In the meantime, I was wondering what people
> thought about the best design for locking text-mode console sessions. It's a
> checkbox on some regulatory compliance list, I think for the PCI specs (that's
> credit cards, not the bus) and I'm sort of surprised there isn't an easy-to-find
> package for this.

We should have everything you need in kernel to do this. You can lock
the console switching and monitor the keyboard just fine.

See "lockvt.c" (ask google to find it). It's tiny and it shows how to
use the lockswitch functionality. Then just add your timing junk.


Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-11 11:51    [from the cache]
©2003-2011 Jasper Spaans