uterm: vt: add fake-vt logic for debugging
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 12 Aug 2012 09:18:48 +0000 (11:18 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 12 Aug 2012 09:18:48 +0000 (11:18 +0200)
commitf084da1852ec5291c8cdde6cf0a852bbe7026171
tree313016ed595cc77f15f85bb23f23d0c1d912b898
parent4f3cd2eecdcf423a949baa7b98fbd957e0b0f44f
uterm: vt: add fake-vt logic for debugging

This adds a very limited non-multi-seat-capable fake-VT logic. If you use
this in production it will break your multi-seat systems so do not use it
except for debugging.

On SIGUSR1 we activate fake VTs and on SIGUSR2 we deactivate them. The
signals must be sent from a priviledged process. Kernel signals are
ignored.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_vt.c