2021-09-23 08:07:23 +02:00
|
|
|
Index: systemd/gpsdctl@.service.in
|
2021-09-22 17:25:08 +02:00
|
|
|
===================================================================
|
2021-09-23 08:07:23 +02:00
|
|
|
--- systemd/gpsdctl@.service.in
|
|
|
|
+++ systemd/gpsdctl@.service.in
|
2021-09-22 17:25:08 +02:00
|
|
|
@@ -5,6 +5,18 @@ BindsTo=dev-%i.device
|
|
|
|
After=dev-%i.device
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectSystem=full
|
|
|
|
+ProtectHome=true
|
|
|
|
+ProtectHostname=true
|
|
|
|
+ProtectClock=true
|
|
|
|
+ProtectKernelTunables=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+RestrictRealtime=true
|
|
|
|
+# end of automatic additions
|
|
|
|
Type=oneshot
|
|
|
|
Environment="GPSD_SOCKET=@RUNDIR@/gpsd.sock"
|
|
|
|
EnvironmentFile=-/etc/default/gpsd
|