2022-04-03 13:29:27 +00:00
|
|
|
--- lirc-0.10.1.orig/systemd/lircd.service 2021-11-13 20:42:43.204519438 +0100
|
|
|
|
+++ lirc-0.10.1/systemd/lircd.service 2021-11-13 20:47:54.182189779 +0100
|
|
|
|
@@ -6,6 +6,20 @@ Wants=lircd-setup.service
|
2021-10-06 06:36:09 +00:00
|
|
|
After=network.target lircd-setup.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectHostname=true
|
|
|
|
+ProtectClock=true
|
|
|
|
+ProtectKernelTunables=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+RestrictRealtime=true
|
|
|
|
+# end of automatic additions
|
2022-04-03 13:29:27 +00:00
|
|
|
+#
|
|
|
|
+# ProtectClock=true from above blocks all device accesses, allow input device access again
|
|
|
|
+DeviceAllow=char-input
|
|
|
|
+#
|
2021-10-06 06:36:09 +00:00
|
|
|
Type=simple
|
|
|
|
ExecStart=/usr/sbin/lircd --nodaemon
|
|
|
|
; User=lirc
|