[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1157969564.23085.111.camel@localhost.localdomain>
Date: Mon, 11 Sep 2006 11:12:44 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: "Travis H." <solinym@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: design of screen-locks for text-mode sessions
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists