From fc64760dda4d0c53bdd93b9eb7b9c6a92c66ce1c Mon Sep 17 00:00:00 2001 From: Kevin Kuehler Date: Sun, 26 Jan 2020 12:23:33 -0800 Subject: core: shared: Add ProtectClock= to systemd.exec --- src/core/dbus-execute.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/dbus-execute.c') 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); -- cgit v1.2.3