aboutsummaryrefslogtreecommitdiff
path: root/rootston/config.c
diff options
context:
space:
mode:
authorJan Chren <dev.rindeal+github.com@gmail.com>2019-05-22 14:43:13 +0200
committerGitHub <noreply@github.com>2019-05-22 14:43:13 +0200
commite04e1ba197e579e4af4399281352818f9d5d2eb2 (patch)
tree72da88577d56ccef9c5a0cdf73dcddc2fb974181 /rootston/config.c
parent461c4f58a610bec2fc64b2132bccaa149ba9cfa3 (diff)
session/logind: specify seat exactly
"/org/freedesktop/login1/seat/self" path triggers seat-finding code path in logind, which currently relies on getting the session based on caller's PID. This behaviour is deprecated in logind as it doesn't work eg. with systemd user units, which run outside of user session. We check for "seat0" in logind_change_vt() already as introduced in 47985d2dc56a6af469ac9375e7548136765aff16, so hard-coding it here is not a problem, otherwise sd_session_get_seat() could be used.
Diffstat (limited to 'rootston/config.c')
0 files changed, 0 insertions, 0 deletions