summaryrefslogtreecommitdiffstats
path: root/src/core/dbus-execute.c
diff options
context:
space:
mode:
authorKevin Kuehler <kkuehler@brave.com>2020-01-26 21:23:33 +0100
committerKevin Kuehler <kkuehler@brave.com>2020-01-26 21:23:33 +0100
commitfc64760dda4d0c53bdd93b9eb7b9c6a92c66ce1c (patch)
tree6de3f1edfc889687b974e2677edbc7fa4ded9565 /src/core/dbus-execute.c
parenttest: unpin meson from v0.52.1 (diff)
downloadsystemd-fc64760dda4d0c53bdd93b9eb7b9c6a92c66ce1c.tar.xz
systemd-fc64760dda4d0c53bdd93b9eb7b9c6a92c66ce1c.zip
core: shared: Add ProtectClock= to systemd.exec
Diffstat (limited to 'src/core/dbus-execute.c')
-rw-r--r--src/core/dbus-execute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c
index c6772ba843..4f412649c8 100644
--- a/src/core/dbus-execute.c
+++ b/src/core/dbus-execute.c
@@ -1284,6 +1284,9 @@ int bus_exec_context_set_transient_property(
if (streq(name, "ProtectKernelLogs"))
return bus_set_transient_bool(u, name, &c->protect_kernel_logs, message, flags, error);
+ if (streq(name, "ProtectClock"))
+ return bus_set_transient_bool(u, name, &c->protect_clock, message, flags, error);
+
if (streq(name, "ProtectControlGroups"))
return bus_set_transient_bool(u, name, &c->protect_control_groups, message, flags, error);