uvtd: vt: implement VT_GETMODE/SETMODE ioctl state-tracking
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 6 Mar 2013 18:03:34 +0000 (19:03 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 6 Mar 2013 18:03:34 +0000 (19:03 +0100)
commitfb08eea3737907bbbc11c0a14427efe116fae92e
tree26e4767534fd93183fd9ae088145b2806b001bda
parent066d9fdb78691939960044b2c4047a8975347af2
uvtd: vt: implement VT_GETMODE/SETMODE ioctl state-tracking

These ioctls are used to retrieve and set the VT-mode. That is, the
signals and PID information that correspond to the VT controlling process.
It is notified whenever the VT gets active/inactive so it can react to it
or prevent/acknowledge it.

This doesn't implement the signal-sending logic, yet. It only implements
state-tracking.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/uvt.h
src/uvt_client.c
src/uvtd_vt.c