From ce907d42462634d9e8b5af6bb55b6db63df7561b Mon Sep 17 00:00:00 2001 From: Dima Dorfman Date: Wed, 10 Jul 2002 03:29:38 +0000 Subject: 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 --- sys/dev/syscons/syscons.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/syscons/syscons.h') diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h index 08e8dfcc44ee6..d08df8bfda057 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) -- cgit v1.3