Robert Schweikert
0d779e37ff
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/911447 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-efs-utils?expand=0&rev=17
25 lines
816 B
Diff
25 lines
816 B
Diff
Index: efs-utils-1.17/dist/amazon-efs-mount-watchdog.service
|
|
===================================================================
|
|
--- efs-utils-1.17.orig/dist/amazon-efs-mount-watchdog.service
|
|
+++ efs-utils-1.17/dist/amazon-efs-mount-watchdog.service
|
|
@@ -11,6 +11,19 @@ Description=amazon-efs-mount-watchdog
|
|
Before=remote-fs-pre.target
|
|
|
|
[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
|
|
ExecStart=/usr/bin/env amazon-efs-mount-watchdog
|
|
KillMode=process
|