forked from pool/spacenavd
Herbert Graeber
2a8afd94ab
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/932190 OBS-URL: https://build.opensuse.org/package/show/hardware/spacenavd?expand=0&rev=21
23 lines
745 B
Diff
23 lines
745 B
Diff
Index: spacenavd-0.8/contrib/systemd/spacenavd.service
|
|
===================================================================
|
|
--- spacenavd-0.8.orig/contrib/systemd/spacenavd.service
|
|
+++ spacenavd-0.8/contrib/systemd/spacenavd.service
|
|
@@ -3,6 +3,17 @@ Description=3Dconnexion Input Devices Us
|
|
After=syslog.target
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+ProtectHostname=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=forking
|
|
PIDFile=/run/spnavd.pid
|
|
ExecStart=/usr/local/bin/spacenavd
|