summaryrefslogtreecommitdiff
path: root/src/shared/socket-util.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-08-11 18:17:54 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-08-13 09:05:20 +0200
commit92683ad2e28c79891e4123d9a421b018dc58870c (patch)
treeaa328b2af406b3c1b4010e583d1e1d7b2905430c /src/shared/socket-util.c
parent38de08a7e476bb78b02fa5480ca3d038eedd66e7 (diff)
login: share VT-signal handler between sessions
sd-event does not allow multiple handlers for a single signal. However, logind sets up signal handlers for each session with VT_PROCESS set (that is, it has an active controller). Therefore, registering multiple such controllers will fail. Lets make the VT-handler global, as it's mostly trivial, anyway. This way, the sessions don't have to take care of that and we can simply acknowledge all VT-switch requests as we always did.
Diffstat (limited to 'src/shared/socket-util.c')
0 files changed, 0 insertions, 0 deletions