summaryrefslogtreecommitdiff
path: root/src/test/test-parse-util.c
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2017-03-16 11:17:09 +0100
committerFranck Bui <fbui@suse.com>2017-06-08 16:21:36 +0200
commitaed24c4cd7641da6f530853d10637568c13c8f35 (patch)
treec9cfebab6f5d144f14e5d00ab967dd0b2dcb574f /src/test/test-parse-util.c
parentdc6284e9efb0a6801dd7a951d39ebb7d9a279676 (diff)
downloadsystemd-aed24c4cd7641da6f530853d10637568c13c8f35.tar.gz
logind: save/restore session devices and their respective file descriptors
This patch ensures that session devices are saved for each session. In order to make the revokation logic work when logind is restarted, the session devices are now saved in the session state files and their respective file descriptors sent to PID1's fdstore in order to keep them open accross restart. This is mandatory in order to keep the revokation logic working. Indeed in case of input-devices, the same file descriptors must be shared by logind and a given session controller in order EVIOCREVOKE to work otherwise multiple sessions can have device access in parallel. This should be the only remaining and missing piece for making logind fully restartable. Fixes: #1163
Diffstat (limited to 'src/test/test-parse-util.c')
0 files changed, 0 insertions, 0 deletions