]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/logind-dbus.c
logind: always use 64bit session IDs
authorLennart Poettering <lennart@poettering.net>
Tue, 25 Apr 2023 10:02:32 +0000 (12:02 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 25 Apr 2023 14:52:19 +0000 (15:52 +0100)
commit973527648b216bd8a022106e76d1c91cf2e73938
tree5da3f167d013b14d2f2ee1b63faee870c3019734
parent08b61b40ed5717c5186770b2a2f2a21816d7f6c1
logind: always use 64bit session IDs

it's a bit confusing that on 32bit systems we'd risk session IDs
overruns like this. Let's expose the same behaviour everywhere and stick
to 64bit ids.

Since we format the ids as strings anyway this doesn't really change
anything performance-wise, it just pushes out collisions by overrun to
basically never happen.
src/login/logind-dbus.c
src/login/logind.h