summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-05-24 04:38:32 +0200
committerKay Sievers <kay@vrfy.org>2014-05-24 04:45:44 +0200
commit82d115d9abf5b2666e5561450fbb17c9044a0b33 (patch)
tree0e1fa22dd6f5cd9514bfbf3a541248459aa0d821 /src/shared
parentclock-util: clock_[sg]et_time() -> clock_[sg]et_hwclock() (diff)
downloadsystemd-82d115d9abf5b2666e5561450fbb17c9044a0b33.tar.xz
systemd-82d115d9abf5b2666e5561450fbb17c9044a0b33.zip
timedated: refuse manual system time updates when automatic timesync is enabled
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bus-errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/bus-errors.h b/src/shared/bus-errors.h
index 45e129387f..48a2b4ef1b 100644
--- a/src/shared/bus-errors.h
+++ b/src/shared/bus-errors.h
@@ -56,4 +56,6 @@
#define BUS_ERROR_OPERATION_IN_PROGRESS "org.freedesktop.login1.OperationInProgress"
#define BUS_ERROR_SLEEP_VERB_NOT_SUPPORTED "org.freedesktop.login1.SleepVerbNotSupported"
+#define BUS_ERROR_AUTOMATIC_TIME_SYNC_ENABLED "org.freedesktop.timedate1.AutomaticTimeSyncEnabled"
+
#define BUS_ERROR_NO_SUCH_PROCESS "org.freedesktop.systemd1.NoSuchProcess"