File 0102-harden_connman-wait-online.service.patch of Package connman

Index: connman-1.40/src/connman-wait-online.service.in
===================================================================
--- connman-1.40.orig/src/connman-wait-online.service.in
+++ connman-1.40/src/connman-wait-online.service.in
@@ -7,6 +7,17 @@ DefaultDependencies=no
 Conflicts=shutdown.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=oneshot
 ExecStart=@sbindir@/connmand-wait-online
 RemainAfterExit=yes
openSUSE Build Service is sponsored by