From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Travis H." <solinym@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: design of screen-locks for text-mode sessions
Date: Mon, 11 Sep 2006 11:12:44 +0100 [thread overview]
Message-ID: <1157969564.23085.111.camel@localhost.localdomain> (raw)
In-Reply-To: <d4f1333a0609110240n3904e5a9g4359c338004008ae@mail.gmail.com>
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
next prev parent reply other threads:[~2006-09-11 9:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-11 9:40 design of screen-locks for text-mode sessions Travis H.
2006-09-11 10:12 ` Alan Cox [this message]
2006-09-11 11:01 ` Jan Engelhardt
2006-09-15 14:35 ` Oleg Verych
2006-09-15 17:17 ` Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1157969564.23085.111.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=solinym@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox