Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/923297 OBS-URL: https://build.opensuse.org/package/show/vdr/lirc?expand=0&rev=105
22 lines
679 B
Diff
22 lines
679 B
Diff
Index: lirc-0.10.1/systemd/lircd.service
|
|
===================================================================
|
|
--- lirc-0.10.1.orig/systemd/lircd.service
|
|
+++ lirc-0.10.1/systemd/lircd.service
|
|
@@ -6,6 +6,16 @@ Wants=lircd-setup.service
|
|
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
|
|
Type=simple
|
|
ExecStart=/usr/sbin/lircd --nodaemon
|
|
; User=lirc
|