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/922507 OBS-URL: https://build.opensuse.org/package/show/network/lapdog?expand=0&rev=5
25 lines
706 B
Diff
25 lines
706 B
Diff
Index: lapdog-1.1/init/lapdog.service
|
|
===================================================================
|
|
--- lapdog-1.1.orig/init/lapdog.service
|
|
+++ lapdog-1.1/init/lapdog.service
|
|
@@ -2,6 +2,19 @@
|
|
Description=A LAN device presence checker
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
Type=simple
|
|
PIDFile=/run/lapdog.pid
|
|
ExecStart=/usr/sbin/lapdog
|