summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/syscons.h
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2002-07-10 03:29:38 +0000
committerdd <dd@FreeBSD.org>2002-07-10 03:29:38 +0000
commit88c4e380c406520b75512d25ec432486acf95ab5 (patch)
tree39fa7986f5fab216eb6bb8f4b69bbba3d88c889a /sys/dev/syscons/syscons.h
parentf8ded2c742a1028d76cd1b6c6dafc9d54703cf01 (diff)
downloadFreeBSD-src-88c4e380c406520b75512d25ec432486acf95ab5.zip
FreeBSD-src-88c4e380c406520b75512d25ec432486acf95ab5.tar.gz
Add a VT_LOCKSWITCH ioctl that disallows vty switching. Something
like this can be emulated by VT_SETMODEing to VT_PROCESS and never releasing the vty, but this has a number of problems, most notably that a process must stay resident for the lock to be in effect. Reviewed by: roam, sheldonh
Diffstat (limited to 'sys/dev/syscons/syscons.h')
-rw-r--r--sys/dev/syscons/syscons.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h
index 08e8dfc..d08df8b 100644
--- a/sys/dev/syscons/syscons.h
+++ b/sys/dev/syscons/syscons.h
@@ -194,6 +194,7 @@ typedef struct sc_softc {
#define SC_SCRN_IDLE (1 << 5)
#define SC_SCRN_BLANKED (1 << 6)
#define SC_SAVER_FAILED (1 << 7)
+#define SC_SCRN_VTYLOCK (1 << 8)
#define SC_INIT_DONE (1 << 16)
#define SC_SPLASH_SCRN (1 << 17)
OpenPOWER on IntegriCloud