lirc/harden_irexec.service.patch

21 lines
664 B
Diff

Index: lirc-0.10.1/systemd/irexec.service
===================================================================
--- lirc-0.10.1.orig/systemd/irexec.service
+++ lirc-0.10.1/systemd/irexec.service
@@ -5,6 +5,15 @@ Documentation=http://lirc.org/html/confi
Description=Handle events from IR remotes decoded by lircd(8)
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
; user=lirc
; group=lirc