]> git.ipfire.org Git - thirdparty/systemd.git/commit
timesyncd: add RUNTIME servers
authorDaniel Mack <daniel@zonque.org>
Thu, 24 Feb 2022 14:47:35 +0000 (15:47 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 9 Apr 2022 01:23:14 +0000 (10:23 +0900)
commit57b82eaacaf52b8333ae811cdd1b5445453ebb05
treec0c6b471a9a3c3deeef94c050732cbba577e9304
parentf1b42a0b233e2c711184d93e14550dda76aedb9a
timesyncd: add RUNTIME servers

This new server type can only be set at runtime through a D-Bus method
and is exposed for reading through a D-Bus property.

`CAP_NET_ADMIN` and a PolKit acknowledge is required for setting
runtime servers.

Entries submitted that way are used before system and link servers
are being looked at.
src/timesync/meson.build
src/timesync/org.freedesktop.timesync1.conf
src/timesync/org.freedesktop.timesync1.policy [new file with mode: 0644]
src/timesync/timesyncd-bus.c
src/timesync/timesyncd-manager.c
src/timesync/timesyncd-manager.h
src/timesync/timesyncd-server.c
src/timesync/timesyncd-server.h